import { Storage } from "./Storage.js"; import { Readable } from "stream"; import { FileStorageConfig } from "./FileStorageConfig.js"; import { GetOptions } from "./types/GetOptions.js"; import { PutOptions } from "./types/PutOptions.js"; export declare class FileStorage implements Storage { private config; constructor(config: FileStorageConfig); toJSON(): { basePath: string; tmpPath: string; getUrl?: ((args_0: string, ...args: unknown[]) => string) | undefined; putUrl?: ((args_0: string, ...args: unknown[]) => Promise) | undefined; hashSecret: string | undefined; }; toString(): string; putFilePath(key: string, filePath: string): Promise; putStream(key: string, stream: Readable): Promise; putBuffer(key: string, buffer: Buffer): Promise; getFilePath(key: string): Promise; getStream(key: string): Promise; getBuffer(key: string): Promise; getUrl(key: string): Promise; getSignedUrl(key: string, options?: GetOptions): Promise; putSignedUrl(key: string, options: PutOptions): Promise<{ url: string; headers: Record; }>; getFileUrl(key: string): Promise; delete(key: string): Promise; listDir(keyPrefix: string, limit?: number): Promise; listAll(keyPrefix: string, limit?: number): Promise; } //# sourceMappingURL=FileStorage.d.ts.map