import { type EditOperation } from './EditableGridModel'; import type EditableGridModel from './EditableGridModel'; import { type ModelIndex } from './GridMetrics'; import GridModel from './GridModel'; import GridRange from './GridRange'; import { type GridColor, type GridTheme } from './GridTheme'; /** * Mock model implementing GridModel for testing out grid functionality */ declare class MockGridModel extends GridModel implements EditableGridModel { protected numRows: number; protected numColumns: number; protected floatingTop: number; protected floatingBottom: number; protected floatingLeft: number; protected floatingRight: number; protected editable: boolean; protected editedData: string[][]; constructor({ rowCount, columnCount, floatingTopRowCount, floatingBottomRowCount, floatingLeftColumnCount, floatingRightColumnCount, isEditable, editedData, }?: { rowCount?: number; columnCount?: number; floatingTopRowCount?: number; floatingBottomRowCount?: number; floatingLeftColumnCount?: number; floatingRightColumnCount?: number; isEditable?: boolean; editedData?: string[][]; }); get rowCount(): number; get columnCount(): number; get floatingTopRowCount(): number; get floatingBottomRowCount(): number; get floatingLeftColumnCount(): number; get floatingRightColumnCount(): number; get isEditable(): boolean; textForCell(column: ModelIndex, row: ModelIndex): string; colorForCell(column: ModelIndex, row: ModelIndex, theme: GridTheme): GridColor; textForColumnHeader(column: ModelIndex, depth?: number): string; textForRowHeader(row: ModelIndex): string; textForRowFooter(row: ModelIndex): string; setValueForCell(column: ModelIndex, row: ModelIndex, value: string): Promise; setValueForRanges(ranges: readonly GridRange[], text: string): Promise; setValues(edits: readonly EditOperation[]): Promise; editValueForCell(column: ModelIndex, row: ModelIndex): string; isValidForCell(column: ModelIndex, row: ModelIndex, value: string): boolean; isEditableRange(range: GridRange): boolean; delete(ranges: GridRange[]): Promise; } export default MockGridModel; //# sourceMappingURL=MockGridModel.d.ts.map