import type { NexusAI } from '../core/nexus.js'; export interface NexusRouteHandlerOptions { ai: NexusAI; stream?: boolean; } /** * Creates a Next.js `POST` route handler that completes the posted request, or streams it as * server-sent events when streaming is on. */ export declare function createNexusRouteHandler(options: NexusRouteHandlerOptions): (request: Request) => Promise;