import type { ServerResponse } from "node:http"; import type { FilesApi } from "../api/index.js"; import type { NodeLikeRequest } from "../internal/node-http.js"; /** A Node request, optionally carrying Express's `originalUrl` (the pre-mount path). */ export type ExpressLikeRequest = NodeLikeRequest; export type ExpressRouteHandler = (req: ExpressLikeRequest, res: ServerResponse) => Promise; export declare const createRouteHandler: (router: FilesApi) => ExpressRouteHandler; //# sourceMappingURL=index.d.ts.map