/** * Relationship-free table-level `w:tblBorders` snapshots for reviewable * `table-formatting` revisions (direct-color edges only). */ import { type DocumentTableBorder, type DocumentTableBorderStyle } from './work-document-table-borders'; export type DocumentTableFormattingBorderEdge = 'top' | 'left' | 'bottom' | 'right' | 'insideH' | 'insideV'; export type DocumentTableFormattingBorders = Partial>; export declare const DOCUMENT_TABLE_FORMATTING_BORDER_EDGES: readonly DocumentTableFormattingBorderEdge[]; export declare function normalizeDocumentTableFormattingBorders(value: unknown): DocumentTableFormattingBorders | null; export declare function orderedDocumentTableFormattingBorders(borders: DocumentTableFormattingBorders): DocumentTableFormattingBorders; export declare function serializeDocumentTableFormattingBordersDataset(borders: DocumentTableFormattingBorders | null | undefined): string | null; export declare function parseDocumentTableFormattingBordersDataset(value: unknown): DocumentTableFormattingBorders | null; export declare function mapDocxBorderStyleToSnapshot(value: string | null): DocumentTableBorderStyle | null; export declare function mapSnapshotBorderStyleToDocx(style: DocumentTableBorderStyle): string; export declare function resolveFormattingBorderEdge(localName: string): DocumentTableFormattingBorderEdge | null; export declare function normalizeRevisionBorderWidthFromSz(sz: string | null, style: DocumentTableBorderStyle): number | null; export declare function revisionBorderFromDocxEdge(edge: Element, attribute: (element: Element, localName: string) => string | null): DocumentTableBorder | null; export declare function docxSzFromSnapshotBorderWidth(width: number): string; export type DocumentCellFormattingBorderEdge = 'top' | 'left' | 'bottom' | 'right'; export type DocumentCellFormattingBorders = Partial>; export declare const DOCUMENT_CELL_FORMATTING_BORDER_EDGES: readonly DocumentCellFormattingBorderEdge[]; export declare function normalizeDocumentCellFormattingBorders(value: unknown): DocumentCellFormattingBorders | null; export declare function orderedDocumentCellFormattingBorders(borders: DocumentCellFormattingBorders): DocumentCellFormattingBorders; export declare function resolveCellFormattingBorderEdge(localName: string): DocumentCellFormattingBorderEdge | null; export declare function importedDocxCellFormattingBorders(element: Element, readAttribute: (element: Element, localName: string) => string | null): DocumentCellFormattingBorders | null;