import { type Range, RangeUnit } from "./types.js"; export type UnitLike = RangeUnit | readonly [RangeUnit, ...readonly RangeUnit[]]; export declare function withAcceptRanges(response: Response, unit: UnitLike): Response; export interface Context { readonly ranges: Iterable; readonly rangeValue: string; } export declare function withContentRange(response: Response, context: Context): Promise;