import { n as ApiRouteRecord, t as ApiRouteModule } from "./types-B45IJ77t.mjs"; import { H3 } from "h3"; //#region src/api.runtime.d.ts declare const HTTP_METHODS: readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]; declare function createApiRouteRecord(input: { id: string; routePath: string; sourceFile: string; module: ApiRouteModule; }): ApiRouteRecord; declare function registerApiRoute(app: H3, route: ApiRouteRecord): void; declare function createApiApp(routes: ApiRouteRecord[]): H3; declare function createApiMatcher(routes: Pick[]): (pathname: string) => boolean; //#endregion export { HTTP_METHODS, createApiApp, createApiMatcher, createApiRouteRecord, registerApiRoute };