import DBFile from "../database/entities/db-file"; export declare function distHash(file: string): Promise; export declare function hammingDist(str1: string, str2: string): number; /** * Creates & Saves a DBFile for the given path. * * Uses hashing to deduplicate files. If a pre-existing match is found, * it deletes the worst file and returns the updated File with the new best path. */ export declare function buildFile(fullPath: string, subpath: string): Promise;