export type StreamableChunk = Uint8Array | ArrayBuffer | ArrayBufferView | string; type StreamableUint8Array = Uint8Array; export interface StreamableContent { /** Total length of the resource in bytes. */ byteLength: number; /** * Provide a stream of data for the specified byte range. The `start` index is inclusive * and `end` is exclusive, matching the `Blob.slice` semantics used by the Web File API. */ stream(start: number, end: number): ReadableStream; } export declare function createRangeLimitedStream(streamFactory: () => ReadableStream, start: number, end: number): ReadableStream; export declare class StreamableBlob extends Blob { #private; constructor(content: StreamableContent, options?: BlobPropertyBag); get size(): number; stream(): ReadableStream; arrayBuffer(): Promise; text(): Promise; slice(start?: number, end?: number, contentType?: string): Blob; } export {};