export interface PdfNativeWordAnchor { id: string; text: string; /** Poppler coordinates, in PDF points: left, top, right, bottom. */ bounds: [ number, number, number, number ]; } export interface PdfNativeTable { id: string; columns: Array<{ id: string; label: string; anchors: PdfNativeWordAnchor[]; }>; rows: Array<{ id: string; cells: Array<{ columnId: string; text: string; anchors: PdfNativeWordAnchor[]; }>; unassigned: PdfNativeWordAnchor[]; }>; } export interface PdfNativeTables { schema: "omnius.pdf-native-tables.v1"; association: "advisory_geometry"; documentHash: string; sourcePath: string; page: number; bboxSha256: string; tables: PdfNativeTable[]; } /** Parse only native Poppler bbox output. External entities are never resolved. */ export declare function extractPdfNativeTables(input: { xml: string; documentHash: string; sourcePath: string; page: number; }): PdfNativeTables | undefined; /** A compact independent-column view. Raw word geometry remains in the receipt. */ export declare function formatPdfNativeTables(tables: PdfNativeTables): string;