import type { ArtifactProtection, AudioAnalysis, NoiseAnalysis, RestorationPlan, RestorationValidation } from "../types/audio.js"; /** * Worst change across the bands that carried performance before processing. * Bands that were already noise or empty are excluded: cleaning those is the * whole point, and their movement is not damage. */ export declare function contentBandDamage(before: NoiseAnalysis, afterBands: Array<{ lowHz: number; floorDb: number | null; spreadDb: number | null; }>): { floorDropDb: number | null; spreadRiseDb: number | null; }; export declare function validateRestoredAudio(options: { before: AudioAnalysis; beforeNoise: NoiseAnalysis; restoredPath: string; plan: RestorationPlan; artifactProtection: ArtifactProtection; }): Promise; /** * Next plan to try when validation rejects the result. * * Ordered by what actually causes the damage: the denoise threshold first, then * the extra denoiser, then the reduction amount. */ export declare function chooseFallbackPlan(plan: RestorationPlan): RestorationPlan | null;