import { type ByteRange, type ByteRangeResult, parseByteRange } from "@nifrajs/core/range"; export { type ByteRange, type ByteRangeResult, parseByteRange }; export interface RangeResponseOptions { /** Media type for the complete representation and each single-range response. */ readonly contentType?: string; /** Entity tag used for conditional requests and `If-Range`. */ readonly etag?: string; /** Validator used for conditional requests and date-form `If-Range`. */ readonly lastModified?: Date; /** Optional cache policy copied to the response. */ readonly cacheControl?: string; } /** * Create a standards-shaped byte representation response with Range, If-Range, and conditional * validator handling. The input is already caller-owned memory; this helper does not read or retain * external state. Multiple ranges use `multipart/byteranges` and adjacent ranges are coalesced. */ export declare function rangeResponse(request: Request, body: string | ArrayBuffer | ArrayBufferView | Uint8Array, options?: RangeResponseOptions): Response; //# sourceMappingURL=range.d.ts.map