///
import { IncomingMessage as Request, ServerResponse as Response } from 'node:http';
import { Options, Ranges, Result } from 'header-range-parser';
export * from './accepts.js';
export * from '@tinyhttp/url';
export declare const getRequestHeader: (req: Pick) => (header: string) => string | string[];
export declare const getRangeFromHeader: (req: Pick) => (size: number, options?: Options) => Result | Ranges;
export declare const getFreshOrStale: (req: Pick, res: Pick) => boolean;
export declare const checkIfXMLHttpRequest: (req: Pick) => boolean;
export declare const reqIs: (req: Pick) => (...types: string[]) => string | false;
//# sourceMappingURL=index.d.ts.map