import Ratio from "./math/Ratio"; export interface Cell { value?: string; widthRatio: Ratio; } export interface Row { cells: Cell[]; } export interface Part { title?: string; rows: Row[]; } export interface Grid { id: string; baseCellSize: number; baseCellWidthRatio: Ratio; parts: Part[]; } export interface Doc { grids: Grid[]; } export interface RowRef { partIndex: number; rowIndex: number; } export interface CellRef { partIndex: number; rowIndex: number; cellIndex: number; }