import type { Body, LocalUppyFile, Meta, RemoteUppyFile, UppyFile } from './UppyFile.js'; /** * Takes a file object and turns it into fileID, by converting file.name to lowercase, * removing extra characters and adding type, size and lastModified */ export default function generateFileID(file: Partial, 'id' | 'type' | 'name'>> & Pick, 'data'> & { meta?: { relativePath?: unknown; }; }, instanceId: string): string; export type SafeFileIdBasis = Partial, 'id' | 'type'>> & (Pick, 'isRemote' | 'remote' | 'data'> | Pick, 'isRemote' | 'data'>) & { meta?: { relativePath?: unknown; } | undefined; }; export declare function getSafeFileId(file: SafeFileIdBasis, instanceId: string): string; //# sourceMappingURL=generateFileID.d.ts.map