export type MultipartBody = string | Uint8Array | ArrayBuffer | ArrayBufferView | Blob | ReadableStream; export type MultipartHeadersInit = Headers | Readonly> | ReadonlyArray; export interface MultipartPart { readonly headers?: MultipartHeadersInit; readonly body: MultipartBody; } export interface MultipartResponseOptions { /** Boundary token. If omitted, a cryptographically random boundary is generated. */ readonly boundary?: string; /** Multipart subtype. Defaults to `mixed`; use `form-data` when parts carry form names. */ readonly subtype?: "mixed" | "form-data"; /** HTTP response status. Defaults to 200. */ readonly status?: number; } /** * Stream a multipart response without buffering the parts. The part headers and bodies are emitted * as supplied; this helper deliberately does not persist, inspect, or serialize payloads. */ export declare function multipartResponse(parts: Iterable | AsyncIterable, options?: MultipartResponseOptions): Response; //# sourceMappingURL=multipart.d.ts.map