/**
 * Route metadata tagging for build-time route type discovery.
 *
 * Handler wrappers (websocket, sse, stream, cron) stamp this symbol on
 * the returned middleware so the build tool can detect the route type
 * from `router.routes` without AST parsing.
 */
export declare const ROUTE_META: unique symbol;
export interface RouteMeta {
    type: 'websocket' | 'sse' | 'stream' | 'cron';
    /** Cron schedule expression (only for type: 'cron') */
    schedule?: string;
}
/**
 * Tag a handler/middleware with route metadata.
 */
export declare function tagRoute<T extends (...args: any[]) => any>(handler: T, meta: RouteMeta): T;
/**
 * Read route metadata from a handler/middleware.
 */
export declare function getRouteMeta(handler: unknown): RouteMeta | undefined;
//# sourceMappingURL=_route-meta.d.ts.map