///
import { Storage as IStorage, StorageType, StorageUploadKind } from '~server/data/interfaces';
declare class Storage implements IStorage {
private type;
constructor(type: StorageType);
download(filename: string): Promise;
downloadAll(directory: string): Promise;
upload(filename: string, data: Buffer, kind?: StorageUploadKind): Promise;
obliterate(filename: string): Promise;
obliterateAll(path: string): Promise;
generateLocations(): Promise;
readDirectory(path: string): Promise;
}
export default Storage;