declare class CloudflareR2Client { private accountId; bucket: string; private client; constructor(options: { accessKeyId: string; secretAccessKey: string; accountId: string; bucket: string; }); get endpoint(): string; /** * Generates a signed URL for a given key. * * @returns A signed URL as a string. */ getSignedUrl(key: string, { expiry }?: { expiry?: number | undefined; }): Promise; /** * Retrieves a file for a given key. * * @returns A File object that includes the blob data and the filename. */ get(key: string): Promise; /** * Uploads a file or a blob to a given key. * * @returns void */ put(key: string, data: File | Blob): Promise; } export { CloudflareR2Client };