import type { IParagraphPropertiesOptions } from 'docx'; import { type DocumentParagraphBorder, type DocumentParagraphBorders } from './work-document-paragraph-borders'; type ParagraphBorderOptions = Partial>; interface DocxParagraphBorderPatch { marker: string; borders: DocumentParagraphBorders; } export declare class DocxParagraphBorderPatchCollector { readonly patches: DocxParagraphBorderPatch[]; private nextMarker; private readonly usedColors; constructor(sourceHtml: string); marker(source: unknown): string | null; } export declare function documentParagraphBordersDocxOptions(element: HTMLElement, collector?: DocxParagraphBorderPatchCollector): ParagraphBorderOptions; export declare function patchDocxParagraphBorders(buffer: ArrayBuffer, patches: readonly DocxParagraphBorderPatch[]): Promise; export declare function setDocxBorderAttributes(document: Document, element: Element, border: DocumentParagraphBorder): void; export {};