/// <reference types="node" />
import type { ServerResponse } from "http";
import type { LensApiRequest, Route } from "./route";
export type RouteHandler = (request: LensApiRequest<string>, response: ServerResponse) => Promise<void>;
export type CreateHandlerForRoute = (route: Route<unknown, string>) => RouteHandler;
declare const createHandlerForRouteInjectable: import("@ogre-tools/injectable").Injectable<CreateHandlerForRoute, unknown, void>;
export default createHandlerForRouteInjectable;
