import { HttpHandler } from '../HttpHandler.js'; import { HttpDict, HttpHandlerFn } from '../types.js'; export declare const TypedArray: any; export type RequestBodyType = 'auto' | 'raw' | 'json' | 'text' | 'urlencoded'; export declare function headersToDict(headers: Record): HttpDict; export declare function searchParamsToDict(search: URLSearchParams): HttpDict; export declare function createHandler(fn: HttpHandlerFn): HttpHandler; export declare function createChain(handlers: HttpHandler[]): HttpHandler; export declare function composeHandlers(fns: HttpHandlerFn[]): HttpHandlerFn;