import type * as fastify from "fastify"; import { Endpoint, RouteDefinition, RouteDefinitions } from "../types.js"; import { FastifyHandler } from "./handler.js"; import { ApplicationMethod, ApplicationMethods } from "./method.js"; export type FastifySchema = fastify.FastifySchema & { operationId: string; tags?: string[]; }; export type FastifyRoute = { url: string; method: fastify.HTTPMethods; handler: FastifyHandler; schema: FastifySchema; }; export type FastifyRoutes> = { [K in keyof Es]: FastifyRoute; }; export declare function createFastifyRoute(definition: RouteDefinition, method: ApplicationMethod, operationId: string): FastifyRoute; export declare function createFastifyRoutes>(definitions: RouteDefinitions, methods: ApplicationMethods): FastifyRoutes; //# sourceMappingURL=route.d.ts.map