import { Sheet } from '../../sheet-engine/react'; import * as Y from 'yjs'; export type SheetChangePath = { sheetId: string; path: string[]; key?: string; value: any; type?: 'update' | 'delete'; }; export declare const updateYdocSheetData: (ydoc: Y.Doc | null, dsheetId: string, changes: SheetChangePath[], handleContentPortal: any) => void; export declare function ySheetArrayToPlain(sheetArray: Y.Array): Sheet[];