import IFile from './IFile';
export default interface IOfflineCache {
    listFiles(): Promise<string[]>;
    loadFile(uid: string): Promise<IFile>;
    saveFile(uid: string, uri: string, headers?: {
        [key: string]: string;
    }): Promise<void>;
    loadOrSaveFile(uid: string, uri: string, headers?: {
        [key: string]: string;
    }): Promise<IFile>;
    deleteFile(uid: string): Promise<void>;
    listContents(): Promise<string[]>;
    loadContent(uid: string): Promise<string>;
    saveContent(uid: string, content: string): Promise<void>;
    deleteContent(uid: string): Promise<void>;
    validateChecksumFile(uid: string, hash: string, hashType: string): Promise<boolean>;
    getChecksumFile(uid: string, hashType: string): Promise<string>;
    decompressFile(uid: string, destinationUid: string, method: 'zip'): Promise<void>;
}
