import { type DocumentParagraphBorder, type DocumentParagraphBorders } from './work-document-paragraph-borders'; import { type DocxParagraphStyleSource } from './work-docx-paragraph-styles'; import { type DocxTableStyleSource } from './work-docx-table-styles'; import { type DocxThemeResolver, type DocxThemeSource } from './work-docx-theme'; export interface ImportedDocxParagraphBorderMarker { marker: string; borders: DocumentParagraphBorders; } export interface ImportedDocxParagraphBorderMarkers { paragraphs: ImportedDocxParagraphBorderMarker[]; invalidCount: number; spoofedCount: number; } export interface ResolvedDocxParagraphBorders { borders: DocumentParagraphBorders | null; invalidCount: number; spoofedCount: number; } export declare function markDocxParagraphBorders(document: Document, styleSource?: DocxParagraphStyleSource, themeSource?: DocxThemeSource, tableStyleSource?: DocxTableStyleSource): ImportedDocxParagraphBorderMarkers; export declare function resolveDocxParagraphBordersForParagraph(paragraph: Element, styleSource?: DocxParagraphStyleSource, themeSource?: DocxThemeSource, tableStyleSource?: DocxTableStyleSource): ResolvedDocxParagraphBorders; export declare function resolveDocxParagraphBordersFromSources(propertySources: readonly Element[], themeSource?: DocxThemeSource): ResolvedDocxParagraphBorders; export declare function applyImportedDocxParagraphBorderMarkers(document: Document, markers: ImportedDocxParagraphBorderMarkers): void; export declare function hasImportedDocxParagraphBorderMarkers(markers: ImportedDocxParagraphBorderMarkers): boolean; export declare function parseDirectDocxParagraphBorders(properties: Element, themeSource?: DocxThemeSource): DocumentParagraphBorders | null | undefined; export declare function parseDocxBorderElement(element: Element, theme: DocxThemeResolver): DocumentParagraphBorder | null;