import type { WorkDocumentNode } from './work-types'; export declare const DOCUMENT_WINDOW_BLOCK_SIZE = 128; export declare const DOCUMENT_WINDOW_BLOCK_THRESHOLD = 2048; export declare const DOCUMENT_TABLE_WINDOW_ROW_SIZE = 16; export declare const DOCUMENT_TABLE_WINDOW_ROW_THRESHOLD = 512; export interface DocumentWindowingOptions { blockSize: number; blockThreshold: number; tableRowSize: number; tableRowThreshold: number; trustedIntegrityFeatures?: number; } /** * Adds stable semantic chunks to large section bodies. The complete * ProseMirror model remains in memory, while the chunk node view can omit * descendants outside the visible viewport without changing positions. */ export declare function windowDocumentModel(root: WorkDocumentNode, requested?: Partial): WorkDocumentNode; /** Restores the canonical schema used by controlled HTML and DOCX export. */ export declare function materializeWindowedDocumentModel(root: WorkDocumentNode): WorkDocumentNode; export declare function documentModelUsesWindowing(root: WorkDocumentNode): boolean; export declare function estimateDocumentNodeHeight(node: WorkDocumentNode): number; export declare function estimateDocumentTableRowHeight(row: WorkDocumentNode): number;