import Router from "./router.js"; import { ApiRoute, Request, Response } from "./types.js"; /** * Creates a router to handle routing the API requests made * to the Encore application */ export declare function createApiRouter(routes: ApiRoute[]): Router; /** * this function is the entrypoint for all HTTP requests into the Encore app, it's job is to find the correct route * and execute the handler for that route. */ export default function handler(apis: Router, encoreInternal: Router, req: Request, res: Response): Promise;