export interface BackfillOptions {
    /** Max concurrent generate jobs. Default 1 (gentle background pass). */
    concurrency?: number;
    /** Pause after each job so we don't saturate the CPU. Default 100ms. */
    breathMs?: number;
    /** Injectable for tests — defaults to the real ffmpeg-backed generatePeaks. */
    generate?: (srcPath: string) => Promise<unknown>;
}
/**
 * Walk worksRoot/<workId>/assets/, generate missing peaks.json files.
 * Idempotent — generatePeaks skips files that already have an up-to-date
 * peaks sibling.
 */
export declare function backfillPeaks(worksRoot: string, opts?: BackfillOptions): Promise<void>;
//# sourceMappingURL=peaks-backfill.d.ts.map