import { i as CellTypeInferenceSink } from "./cell-typing-BQ-xQ5X5.js"; import { ContentDocument, Margins } from "document-schema.js"; import { LayoutDocument, LayoutItem } from "pdf-codec"; //#region src/layout/reconstruct.d.ts declare const DEFAULT_COLUMN_WIDTH_FALLBACK_PT = 40; declare const NO_ITEMS: ReadonlySet; interface ReconstructOptions { readonly signal?: AbortSignal; readonly onCellTypeInference?: CellTypeInferenceSink; } declare const ZERO_MARGINS: Margins; declare function reconstructWordprocessing(doc: LayoutDocument, options?: ReconstructOptions): ContentDocument; declare const CELL_TYPES: ReadonlySet; declare const ROW_TYPES: ReadonlySet; declare const TABLE_TYPES: ReadonlySet; interface StructureNode { readonly id: string; readonly type: string; readonly parent: StructureNode | undefined; readonly order: number; } interface StructureIndex { readonly nodeOfItem: (item: LayoutItem) => StructureNode | undefined; } declare function indexStructure(doc: LayoutDocument): StructureIndex | undefined; declare function nearestOfType(node: StructureNode | undefined, types: ReadonlySet): StructureNode | undefined; declare function reconstructSpreadsheet(doc: LayoutDocument, options?: ReconstructOptions): ContentDocument; //#endregion export { ReconstructOptions as a, TABLE_TYPES as c, nearestOfType as d, reconstructSpreadsheet as f, ROW_TYPES as i, ZERO_MARGINS as l, DEFAULT_COLUMN_WIDTH_FALLBACK_PT as n, StructureIndex as o, reconstructWordprocessing as p, NO_ITEMS as r, StructureNode as s, CELL_TYPES as t, indexStructure as u };