import { type RequestHandler, Router } from "express"; /** Options for the assistant HTTP router. */ export interface AssistantRouterOptions { /** Optional auth guard (e.g. Bearer token). Applied before every route. */ guard?: RequestHandler; /** Optional rate limiter for POST /chat. Defaults to 20 req/min per IP. */ rateLimit?: RequestHandler; } /** Builds a fresh Express router exposing the assistant over HTTP. */ export declare function useCreateAssistantRouter(options?: AssistantRouterOptions): Router; /** * Mounts the assistant routes on the shared Express app and starts the server. * Idempotent — subsequent calls are no-ops. * * @param port - Port to listen on (default: 3000) * @param host - Host to bind to (default: "localhost") * @param mountPath - Base path for the assistant routes (default: "/assistant") * @param options - Router options (e.g. an auth `guard`) * * @example * ```ts * useStartAssistant(3000, "localhost", "/assistant", { guard: requireAuth }); * // POST /assistant/chat * ``` */ export declare function useStartAssistant(port?: number, host?: string, mountPath?: string, options?: AssistantRouterOptions): void; //# sourceMappingURL=assistant.service.d.ts.map