import type { FileHashesService } from '../../../persistence/file-hashes/services/file-hashes-service.js'; import type { FileHashReadModelSchema, FileType } from '../../../persistence/file-hashes/types.js'; import type { Filter } from '../../../providers/database/pagination/types'; import { FileHashStatus } from '../../../persistence/file-hashes/types.js'; export type HashManagerUpdateService = { clearOutdatedRecords(outdatedHash: string): Promise; }; export type HashManagerOptions = { hashManagerUpdateService: HashManagerUpdateService; fileType: FileType; fileHashesService?: FileHashesService; localHashesCache?: Map; }; export declare class HashManager { #private; constructor(fileHashesService: FileHashesService); markAllAsOutdated(fileType: FileType): Promise; getByPath(filePath: string): Promise; upsert(fileType: FileType, filePath: string, hash: string, status: FileHashStatus): Promise; getAllOutdated(fileType: FileType): Promise; computeFileHash(fileContent: unknown): Promise; deleteFileHashes(filter: Filter): Promise; } //# sourceMappingURL=hash-manager.d.ts.map