import type { Transport } from './transport'; /** * Body for a storage upload (POST `/api/storage/resources`). Exactly ONE of * `content_text` (stored verbatim) or `content_base64` (a base64 string decoded to * bytes) supplies the content for `id`; uploading an existing id overwrites it * (provider passthrough semantics). */ export interface StorageUploadBody { readonly id: string; readonly content_text?: string; readonly content_base64?: string; } export declare function storageClient(t: Transport): { getStorageInfo: (signal?: AbortSignal) => Promise<{ present: boolean; provider: string | null; module: string | null; }>; listStorageResources: (signal?: AbortSignal) => Promise<{ resources: string[]; }>; statStorageResource: (id: string, signal?: AbortSignal) => Promise<{ id: string; content_type: string | null; }>; downloadStorageResource: (id: string, signal?: AbortSignal) => Promise; uploadStorageResource: (body: StorageUploadBody) => Promise<{ id: string; stored: true; }>; deleteStorageResource: (id: string) => Promise<{ id: string; deleted: true; }>; deleteStorageDir: (path: string) => Promise<{ dir: string; deleted: true; }>; }; //# sourceMappingURL=storage-client.d.ts.map