import { NextApplication, NextContextBase } from '..'; import { NextRouteAction } from './NextRouteAction'; import { YupSchemaParsed } from '../reflection/YupVisitor'; export interface NextRouteDefinition { path: string; method: string; action: NextRouteAction; requestSchema?: YupSchemaParsed; } export declare class NextRouteBuilder { app: NextApplication; private paths; registeredRoutes: NextRouteDefinition[]; constructor(app: NextApplication); private handleHealthCheckEndpoints; private registerRoute; register(subPath: string, method: string, definition: (ctx: NextContextBase) => Promise): any; registerAction(subPath: string, method: string, action: NextRouteAction): any; registerAnonymous(subPath: string, method: string, definition: (ctx: NextContextBase) => Promise): any; private routeMiddleware; private scanDir; } //# sourceMappingURL=NextRouteBuilder.d.ts.map