import type { Files } from "../../index.js"; import type { CopyFileInput, DeleteFileInput, DownloadFileInput, GetFileMetadataInput, GetFileUrlInput, ListFilesInput, SignUploadUrlInput, UploadFileInput } from "./schemas.js"; export declare const executors: { readonly copyFile: (files: Files, { from, to }: CopyFileInput) => Promise<{ copied: true; from: string; to: string; }>; readonly deleteFile: (files: Files, { key }: DeleteFileInput) => Promise<{ deleted: true; key: string; }>; readonly downloadFile: (files: Files, { key, maxBytes, binary }: DownloadFileInput) => Promise<{ content: string; encoding: "base64"; key: string; size: number; type: string; } | { content: string; encoding: "text"; key: string; size: number; type: string; }>; readonly getFileMetadata: (files: Files, { key }: GetFileMetadataInput) => Promise<{ etag: string | undefined; key: string; lastModified: number | undefined; metadata: Record | undefined; size: number; type: string; }>; readonly getFileUrl: (files: Files, { key, expiresIn, responseContentDisposition }: GetFileUrlInput) => Promise<{ key: string; url: string; }>; readonly listFiles: (files: Files, { prefix, cursor, limit }: ListFilesInput) => Promise<{ cursor: string | undefined; items: { etag: string | undefined; key: string; lastModified: number | undefined; size: number; type: string; }[]; }>; readonly signUploadUrl: (files: Files, { key, expiresIn, contentType, maxSize, minSize }: SignUploadUrlInput) => Promise; readonly uploadFile: (files: Files, { key, content, encoding, contentType, cacheControl, metadata, }: UploadFileInput) => Promise<{ contentType: string; etag: string | undefined; key: string; lastModified: number | undefined; size: number; }>; }; //# sourceMappingURL=executors.d.ts.map