export interface DocxHiddenTextPatch { marker: string; style?: string; value: boolean; } export declare class DocxHiddenTextPatchCollector { readonly patches: DocxHiddenTextPatch[]; private nextMarker; private readonly occupied; private readonly patchesByMarker; private readonly markersByValueAndStyle; constructor(source: string); marker(value: boolean, inheritedStyle?: string): string; lookup(marker: string | undefined): DocxHiddenTextPatch | undefined; private originalStyle; } export declare function patchDocxHiddenText(buffer: ArrayBuffer, patches: readonly DocxHiddenTextPatch[]): Promise;