import { type WorkDocumentLegacyTextEffects } from './work-document-legacy-text-effects'; export interface DocxLegacyTextEffectsPatch { marker: string; style?: string; effects: WorkDocumentLegacyTextEffects; } export declare class DocxLegacyTextEffectsPatchCollector { readonly patches: DocxLegacyTextEffectsPatch[]; private nextMarker; private readonly occupied; private readonly patchesByMarker; private readonly markersByEffectsAndStyle; constructor(source: string); marker(value: WorkDocumentLegacyTextEffects, inheritedStyle?: string): string; lookup(marker: string | undefined): DocxLegacyTextEffectsPatch | undefined; private originalStyle; } export declare function patchDocxLegacyTextEffects(buffer: ArrayBuffer, patches: readonly DocxLegacyTextEffectsPatch[]): Promise;