import '@epic-web/workshop-utils/init-env'; export type CleanupTarget = 'workshops' | 'caches' | 'offline-videos' | 'preferences' | 'auth' | 'config'; export type WorkshopCleanupTarget = 'files' | 'caches' | 'offline-videos'; export type CleanupResult = { success: boolean; message?: string; error?: Error; removedPaths?: string[]; updatedPaths?: string[]; skippedPaths?: string[]; selectedTargets?: CleanupTarget[]; }; type CleanupPaths = { reposDir: string; cacheDir: string; legacyCacheDir: string; dataPaths: string[]; offlineVideosDir: string; configPath: string; }; export type CleanupOptions = { silent?: boolean; force?: boolean; targets?: CleanupTarget[]; workshops?: string[]; workshopTargets?: WorkshopCleanupTarget[]; paths?: Partial; }; /** * Clean up local epicshop data. */ export declare function cleanup({ silent, force, targets, workshops, workshopTargets, paths, }?: CleanupOptions): Promise; export {};