import type { DetectionMatch, PidDetectionConfig, ReplacementRecord } from './types'; export declare function replaceMatches(textNode: Text, matches: DetectionMatch[], config: PidDetectionConfig): ReplacementRecord[]; export declare function restoreOriginalText(records: ReplacementRecord[]): void;