import { Radix } from './radix/radix.ts'; import type { Context, FsApi, Handler, HandlersProps } from './types.ts'; type NotFoundHandler = (props: Context) => Response | Promise; type ErrorHandler = (props: { error: Error; } & Context) => Response | Promise; export declare class H11 { types: TExecProps; radix: Radix; fsApi?: FsApi; private globalHandlers; ee: import("utftu").EE<{ code: { code: number; text: string; }; } & Record>; data: Record; startLogger(): () => void; onNotFound: NotFoundHandler; onError: ErrorHandler; private addRoute; get(pattern: string, ...handlers: HandlersProps): this; post(pattern: string, ...handlers: HandlersProps): this; use(...handlers: Handler[]): this; exec({ req, data, providers, }: { req: Request; data: Record; providers: Record; }): Promise; } export {};