import { HttpDict } from './HttpDict.js'; import { HttpHandler, HttpHandlerFn } from './HttpHandler.js'; import { HttpRoute } from './HttpRoute.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 composeHandlers(handlers: HttpHandler[]): HttpHandler; export declare function compose(fns: HttpHandlerFn[]): HttpHandlerFn; export declare function createRouteHandler(route: HttpRoute): HttpHandlerFn;