import type { DirectorySnapshot, DirectoryState } from "./snapshot/types.js";
/**
 * A cache of hashes of DBFS objects that we know that are already stored in the server.
 */
export declare class HashCache {
    private directories;
    private file_contents;
    private now;
    add_directory(hash: string): void;
    add_file_content(hash: string): void;
    add_directory_recursive(directory: DirectoryState | DirectorySnapshot): void;
    check_directory(hash: string): boolean;
    check_file_content(hash: string): boolean;
    empty(): void;
}
//# sourceMappingURL=hash-cache.d.ts.map