import { NotVault } from './notvault'; export type FileEntry = { cid: string; secret: string; meta: string; created: number; }; export declare class Files { vault: NotVault; constructor(vault: NotVault); private fileCache; get: (cid: string) => Promise; set: (filename: string, encryptedB64: string, onUploadProgress?: any) => Promise; del: (cid: string) => Promise; upload: (filename: string, dataB64: string, onUploadProgress?: any) => Promise; list: () => Promise; add: (filename: string, dataB64: string, onUploadProgress?: any) => Promise; remove: (cid: string) => Promise; }