import { type DocumentModel, type Paragraph, type Table, type TableBorderSide } from '../index.js'; import type { LayoutBorder, LayoutParagraph, LayoutTable } from './input.js'; /** `#rrggbb` from a model color, which the parser stores with or without its `#`. */ export declare function cssHex(value: string | undefined): string | undefined; export declare function border(side: TableBorderSide | undefined, theme: DocumentModel['theme']): LayoutBorder | undefined; /** * Converts a model table for pagination: grid positions and widths (merged cells span grid * columns), cell margins, resolved borders and shading (table style, table and cell layers), and * vertical merges drawn as one cell by hiding the borders between the merged cells. */ export declare function adaptTable(table: Table, model: DocumentModel, adaptParagraph: (paragraph: Paragraph) => LayoutParagraph): LayoutTable; //# sourceMappingURL=adapt-table.d.ts.map