export type DiskName = 'local' | 's3' | 'gcs' | 'r2';
export type StorageDisk = {
    driver: unknown;
    config: unknown;
};
type TempUrlOptions = {
    expiresIn?: number;
    method?: 'GET' | 'PUT';
};
export declare const Storage: Readonly<{
    getDisk(name?: string): StorageDisk;
    put(disk: string | undefined, path: string, contents: string | Buffer): Promise<string>;
    get(disk: string | undefined, path: string): Promise<Buffer>;
    exists(disk: string | undefined, path: string): Promise<boolean>;
    delete(disk: string | undefined, path: string): Promise<void>;
    url(disk: string | undefined, path: string): string;
    tempUrl(disk: string | undefined, path: string, options?: TempUrlOptions): Promise<string>;
}>;
export default Storage;
export { StorageDiskRegistry } from './StorageDiskRegistry';
//# sourceMappingURL=index.d.ts.map