import { StorageBackend, StorageResult, StorageUploadOptions, WebDAVStorageConfig } from './base'; export declare class WebDAVStorageBackend implements StorageBackend { private config; readonly type: "webdav"; readonly hasPublicUrl = true; private basePath; constructor(config: WebDAVStorageConfig); init(): Promise; upload(buffer: Buffer, filename: string): Promise; uploadStream(stream: NodeJS.ReadableStream, filename: string, options?: StorageUploadOptions): Promise; download(key: string): Promise; downloadStream(key: string): NodeJS.ReadableStream; delete(key: string): Promise; exists(key: string): Promise; private ensureBasePath; private ensureDirectory; private b64; private trimSlash; private encodePath; }