export interface PutFileToSignedUrlOptions { filePath: string; signedUrl: string; size: number; contentType: string; } /** * Streams `filePath` to `signedUrl` via an HTTPS PUT. * * Uses Node's built-in `https.request` rather than `fetch` so that we * (a) honour `HTTPS_PROXY` via `getProxyAgent()` for customers behind * corporate proxies and (b) avoid relying on `fetch`'s `duplex: "half"` * streaming support, which is fragile across Node 18.x patch versions. * * Rejects with `UploadError` for non-200 responses so callers can pair * this with `retryTransientUploadErrors`. */ export declare const putFileToSignedUrl: ({ filePath, signedUrl, size, contentType, }: PutFileToSignedUrlOptions) => Promise; //# sourceMappingURL=put-file-to-signed-url.d.ts.map