import { BackupHistoryEntry } from './types';
export interface BackupProgress {
    projectId: string;
    projectName: string;
    providerId: string;
    providerLabel: string;
    status: 'scanning' | 'uploading' | 'deleting' | 'done' | 'error';
    filesUploaded: number;
    filesDeleted: number;
    filesTotal: number;
    error?: string;
}
export type ProgressCallback = (progress: BackupProgress) => void;
export declare function computeHash(filePath: string): Promise<string>;
export declare function shouldExclude(relativePath: string, patterns: string[]): boolean;
export declare function scanDirectory(dirPath: string, excludePatterns: string[], basePath?: string, depth?: number): Map<string, {
    mtime: number;
    size: number;
}>;
export declare function runBackup(projectId: string, onProgress?: ProgressCallback): Promise<BackupHistoryEntry[]>;
export declare function runBackupAll(onProgress?: ProgressCallback): Promise<BackupHistoryEntry[]>;
//# sourceMappingURL=engine.d.ts.map