export interface CellCoord { row: number; col: number; } export interface CellRange { startRow: number; startCol: number; endRow: number; endCol: number; } export declare enum SelectionMode { CELL = "cell", ROW = "row", COLUMN = "column", RANGE = "range" } export interface IStyle { [key: string]: string | number | boolean | undefined; } export type CellValue = string | number | boolean | null | undefined; export interface CellAddress extends CellCoord { sheetId: string; } export interface IToolbarItem { id: string; icon?: string; text?: string; tooltip?: string; disabled?: boolean; visible?: boolean; onClick?: () => void; } export declare enum MainMenuItemKey { IMPORT = "import", EXPORT_CURRENT_SHEET_CSV = "export-current-sheet-csv", EXPORT_CURRENT_SHEET_XLSX = "export-current-sheet-xlsx", EXPORT_ALL_SHEETS_XLSX = "export-all-sheets-xlsx" } export interface MainMenuItem { name: string; menuKey?: MainMenuItemKey; description?: string; onClick?: () => void; items?: MainMenuItem[]; }