import type { IncomingHttpHeaders, IncomingMessage as Request, ServerResponse as Response } from 'node:http'; import { type Options, type Ranges, type Result } from 'header-range-parser'; export * from './accepts.js'; export * from '@tinyhttp/url'; export declare const getRequestHeader: (req: Pick) => (header: HeaderName) => IncomingHttpHeaders[HeaderName]; export declare const getRangeFromHeader: (req: Pick) => (size: number, options?: Options) => Result | Ranges | undefined; 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