import type { Op } from '@fortune-sheet/core'; import type { WorkSpreadsheetContent } from '../work-types'; export declare const MAXIMUM_INCREMENTAL_SPREADSHEET_OPERATIONS = 10000; export interface SpreadsheetOperationProjection { affectedCellCount: number; sheets: WorkSpreadsheetContent['sheets']; } export interface SpreadsheetCellOperationCoordinate { column: number; row: number; } export declare function spreadsheetCellOperationKey(row: number, column: number): string; export declare function spreadsheetCellOperationCoordinates(operations: readonly Op[]): Map> | null; /** * Reconciles a bounded Fortune operation batch against authenticated * controlled matrices. Only the outer matrix and affected rows/cells are * copied; structural or incomplete batches return null for the full-scan * compatibility path. */ export declare function projectSpreadsheetSheetsFromFortuneOperations(sheets: WorkSpreadsheetContent['sheets'], sourceSheets: WorkSpreadsheetContent['sheets'], operations: readonly Op[]): SpreadsheetOperationProjection | null;