export interface DocxThemeColorReference { theme: string; resolved: string; tint?: string; shade?: string; } type DocxThemePatchKind = 'color' | 'fill' | 'border' | 'shadingColor' | 'underline'; interface DocxThemePatch { kind: DocxThemePatchKind; marker: string; reference: DocxThemeColorReference; } export declare class DocxThemePatchCollector { readonly patches: DocxThemePatch[]; private nextMarker; private readonly usedColors; constructor(sourceHtml: string); marker(kind: DocxThemePatchKind, reference: DocxThemeColorReference | null, currentColor: string | null): string | null; } export declare function serializeDocxThemeReference(reference: DocxThemeColorReference | null): string | undefined; export declare function parseDocxThemeReference(value: string | null | undefined): DocxThemeColorReference | null; export declare function patchDocxThemeReferences(buffer: ArrayBuffer, patches: readonly DocxThemePatch[]): Promise; export {};