import type { CleanConfig, GuidanceOutput } from '../metadata.js'; export interface CleanResult { outputPath: string; guidance?: GuidanceOutput; } export interface CleanOptions { extractGuidance?: boolean; /** Pre-computed hashes for guidance staleness detection */ sourceHash?: string; configHash?: string; } /** * Clean a DOCX document by removing footnotes, pattern-matched paragraphs, * and clearing specified parts. * Operates at the OOXML level to preserve formatting of retained content. * * Processes all general OOXML text parts (document, headers, footers, endnotes). * Footnotes.xml is handled separately with its separator/continuationSeparator logic. * * When options.extractGuidance is true, captures the text content of all * removed elements before deletion and returns them as structured guidance data. * * Note: Helpers use xmldom's own `Document`/`Element`/`Node` types to avoid * incompatibilities with the global DOM lib declarations. */ export declare function cleanDocument(inputPath: string, outputPath: string, config: CleanConfig, options?: CleanOptions): Promise; //# sourceMappingURL=cleaner.d.ts.map