/** Core's `clampSheetRange`: a preview, not a spreadsheet application. */ export declare const SHEET_LIMITS: { readonly MAX_ROWS: 1000; readonly MAX_COLS: 50; }; export type SheetPreview = { name: string; html: string; truncated: boolean; }; export declare function buildDocxDocument(bodyHtml: string, isDark: boolean): string; /** Core's `buildSheetDocument`. The header row sticks, so a long sheet keeps its column names. */ export declare function buildSheetDocument(tableHtml: string, isDark: boolean): string; type SheetRange = { s: { r: number; c: number; }; e: { r: number; c: number; }; }; type SheetJs = { read: (data: ArrayBuffer, opts: { type: 'array'; }) => { SheetNames?: string[]; Sheets: Record; }; utils: { decode_range: (ref: string) => SheetRange; encode_range: (range: SheetRange) => string; sheet_to_html: (ws: Worksheet, opts?: { editable?: boolean; }) => string; }; }; type Worksheet = Record & { '!ref'?: string; }; export declare function clampSheetRange(XLSX: Pick, ws: Worksheet): boolean; export declare function docxToHtml(bytes: ArrayBuffer): Promise; export declare function xlsxToSheets(bytes: ArrayBuffer): Promise; export {};