import { DocumentWriter, WriteResult } from '../core/ir/adapters.js'; import { SheetDoc } from '../core/ir/sheet.js'; /** * Serialize a {@link SheetDoc} back to a `.xlsx` (E-SHEET SD1). The first writer * that consumes the SpreadsheetML IR node directly (not the FlowDoc projection), * so the cells keep their RAW value + style index and the SheetDoc is a stable * round-trip fixpoint (SD2). Re-emits the full grid surface — values, shared * strings, styles, merges, column/row geometry, the page model, conditional * formatting, sparklines, table parts and embedded charts — through the core OPC * writer. * * @param sheet The spreadsheet IR tree to write. * @returns The encoded `.xlsx` bytes and any write-time losses (e.g. a chart * frame whose data could not be resolved). */ export declare function writeXlsx(sheet: SheetDoc): WriteResult; /** The `.xlsx` {@link DocumentWriter}: a thin wrapper over {@link writeXlsx}. */ export declare const xlsxWriter: DocumentWriter;