import * as Y from 'yjs'; import type { WorkSpreadsheetSheet } from '../features/work/work-types'; export declare const SPREADSHEET_RECORD_CELLS = "cells"; export declare const SPREADSHEET_RECORD_CELL_PRESENCE = "cellPresence"; export declare const SPREADSHEET_RECORD_CELL_MODE = "cellMode"; export declare const SPREADSHEET_RECORD_DATA_ROW_LENGTHS = "dataRowLengths"; /** * Cells use one field map rather than assigning a nested map per coordinate. * Two clients can therefore populate different fields of the same blank cell * without Y.Map's concurrent child-type assignment discarding one child map. */ export declare function patchSpreadsheetCells(record: Y.Map, previous: WorkSpreadsheetSheet | undefined, next: WorkSpreadsheetSheet): void; export declare function readSpreadsheetCells(record: Y.Map, sheet: WorkSpreadsheetSheet): void;