export type LegacyConfig = { tools?: Record; auto?: { enabled?: boolean; schedule?: "daily" | "weekly" | "monthly"; dayOfWeek?: string | number; time?: string; sizeThreshold?: string; args?: string[]; }; output?: { verbose?: boolean; useColors?: boolean; }; extends?: string | string[]; [k: string]: any; }; export type NewConfig = { cleaners?: Record; scheduler?: { enabled?: boolean; frequency?: "daily" | "weekly" | "monthly"; dayOfWeek?: string | number; time?: string; args?: string[]; }; defaults?: { dryRun?: boolean; followSymlinks?: boolean; restrictToHome?: boolean; trash?: boolean; concurrency?: number; recentDays?: number; sizeScan?: { enableCache?: boolean; cachePath?: string; maxParallelFs?: number; }; }; plugins?: { enabled?: boolean; scopes?: string[]; prefixes?: string[]; }; profiles?: Record; extends?: string | string[]; [k: string]: any; }; export declare function isLegacyShape(json: any): boolean; export declare function legacyToNew(json: LegacyConfig): NewConfig; export declare function writeBackupAndSave(targetPath: string, newJson: object): string; //# sourceMappingURL=migrateConfig.d.ts.map