import type Letta from "@letta-ai/letta-client"; /** One file to upload into an SDK-managed Cloud sandbox. */ export interface SandboxFileUpload { /** Filename reported to the sandbox upload API. */ name: string; /** Portable file contents. The Blob type supplies the MIME type. */ data: Blob; } /** Metadata returned after a file is uploaded into a managed sandbox. */ export interface SandboxUploadedFile { path: string; name: string; mimeType: string; size: number; } export interface SandboxFileUploadResult { files: SandboxUploadedFile[]; } /** File transfer client for an SDK-managed Cloud sandbox. */ export interface SandboxFilesClient { /** Upload files under `/root/downloads` in this SDK-managed Cloud sandbox. */ uploadFiles(files: readonly SandboxFileUpload[]): Promise; /** Download one file under `/root/downloads` from this SDK-managed Cloud sandbox. */ downloadFile(path: string): Promise; } export declare function uploadSandboxFiles(apiClient: Letta, sandboxId: string, files: readonly SandboxFileUpload[]): Promise; export declare function downloadSandboxFile(apiClient: Letta, sandboxId: string, path: string): Promise; //# sourceMappingURL=sandbox-files.d.ts.map