interface ContentRange { unit: string; start: number; end: number; size: number | null; } /** * Parses the Content-Range header into a structured object. * * Algorithm: * 1. Use a regular expression to capture the unit, start, end, and total size. * 2. The standard format is: -/ (e.g., "bytes 0-499/1000"). * 3. Handle cases where the total size is unknown (indicated by '*'). * 4. Convert the captured string values into numbers for easier processing. * * @param headerValue - The raw Content-Range header string * @returns A ContentRange object or null if the format is invalid */ export declare function parseContentRange(headerValue: string | string[]): ContentRange[]; export {}; //# sourceMappingURL=utils.d.ts.map