import { i as CellTypeInferenceSink } from "../cell-typing-BQ-xQ5X5.cjs"; import { a as ReconstructOptions } from "../reconstruct-D4TEteZ6.cjs"; import { o as TextLine } from "../reconstruct-lines-B7t66ICm.cjs"; import { Box, ContentDocument, ContentEmbeddedObjectBlock, ContentParagraph, ContentSheet, ContentTable, ContentVector } from "document-schema.js"; import { LayoutDocument, LayoutItem, LayoutPage, LayoutText } from "pdf-codec"; //#region src/layout/reconstruct-presentations-prod.d.ts declare function reconstructPresentation(doc: LayoutDocument, options?: ReconstructOptions): ContentDocument; declare function splitLineByLargeGaps(line: TextLine): TextLine[]; declare function lineToParagraph(line: TextLine, pageIndex: number): ContentParagraph; declare function reconstructDrawing(doc: LayoutDocument, options?: ReconstructOptions): ContentDocument; declare function layoutItemToVector(item: LayoutItem, pageHeightPt: number): ContentVector | undefined; interface RecoveredVectors { readonly block: ContentEmbeddedObjectBlock; readonly topYPt: number; } declare function recoverPageVectors(page: LayoutPage, pageIndex: number, excluded: ReadonlySet): RecoveredVectors | undefined; interface RecoveredTable { readonly table: ContentTable; readonly frame: Box; readonly topYPt: number; readonly consumedText: ReadonlySet; readonly latticeItems: ReadonlySet; } declare function reconstructSheet(page: LayoutPage, pageIndex: number, sink: CellTypeInferenceSink | undefined): ContentSheet; //#endregion export { RecoveredTable, layoutItemToVector, lineToParagraph, reconstructDrawing, reconstructPresentation, reconstructSheet, recoverPageVectors, splitLineByLargeGaps };