import { type DocumentTableBorderEdge } from './work-document-table-borders'; import { type DocxThemeSource } from './work-docx-theme'; import { type DocxTableStyleSource } from './work-docx-table-styles'; import { type DocumentTableCellMarginOverrides } from './work-document-table-geometry'; import { type SupportedDocxCellFormattingChange } from './work-docx-cell-format-change-import'; import type { DocumentTableCellHMerge, DocumentTableCellVMerge, DocumentTableCellTextDirection } from './work-document-table-cell-formatting'; import { type DocxThemeColorReference } from './work-docx-theme-reference'; export type ImportedDocxTableCellVerticalAlign = 'top' | 'middle' | 'bottom'; export type ImportedDocxTableCellBorderStyle = 'solid' | 'dashed' | 'dotted' | 'double' | 'none'; export interface ImportedDocxTableCellMarker { marker: string; backgroundColor?: string; themeFill?: DocxThemeColorReference; verticalAlign?: ImportedDocxTableCellVerticalAlign; borders?: ImportedDocxTableCellBorders; margins?: DocumentTableCellMarginOverrides; noWrap?: boolean; textDirection?: DocumentTableCellTextDirection; fitText?: boolean; hideMark?: boolean; cnfStyle?: string; hMerge?: DocumentTableCellHMerge; vMerge?: DocumentTableCellVMerge; gridSpan?: number; propertyRevisionOmml?: string; formattingChange?: SupportedDocxCellFormattingChange; } export interface ImportedDocxTableCellMarkers { cells: ImportedDocxTableCellMarker[]; } interface ImportedDocxCellBorder { color: string; style: ImportedDocxTableCellBorderStyle; width: number; theme?: DocxThemeColorReference; } type ImportedDocxTableCellBorders = Partial>; export declare function markDocxTableCells(document: Document, themeSource?: DocxThemeSource, tableStyleSource?: DocxTableStyleSource): ImportedDocxTableCellMarkers; export declare function applyImportedDocxTableCellMarkers(document: Document, markers: ImportedDocxTableCellMarkers): void; export declare function hasImportedDocxTableCellMarkers(markers: ImportedDocxTableCellMarkers): boolean; export {};