import { StorageBackend, StorageResult, LocalStorageConfig } from './base'; export declare class LocalStorageBackend implements StorageBackend { private config; readonly type: "local"; readonly hasPublicUrl = false; private basePath; constructor(config: LocalStorageConfig); init(): Promise; upload(buffer: Buffer, filename: string): Promise; uploadStream(stream: NodeJS.ReadableStream, filename: string): Promise; download(key: string): Promise; downloadStream(key: string): NodeJS.ReadableStream; delete(key: string): Promise; exists(key: string): Promise; }