import type { FastifyInstance, RouteOptions } from 'fastify'; export interface RouteDefinition extends Partial { configure?: (scope: FastifyInstance) => void | Promise; default?: (...args: unknown[]) => unknown; handler?: never; path?: string; url?: never; [key: string]: unknown; } /** Base args containing client and route, used by route handlers */ export interface ClientRouteArgs { client?: unknown; route?: RouteDefinition; } /** Full args for createRoute including handler and error handler */ export interface CreateRouteArgs extends ClientRouteArgs, Pick { } //# sourceMappingURL=route.d.ts.map