/** * Per-message read-aloud TTS. Lifted out of api.ts when the talk router was * added: these are talk-domain routes, and they are unrelated to the realtime * session runtime next door. */ import type { IncomingMessage, ServerResponse } from "node:http"; import type { JinnConfig } from "../shared/types.js"; /** * Handle `/api/tts`, returning false for anything else so the caller falls * through to the rest of the talk router. * * GET reports engine readiness so the client can pick Kokoro over the browser's * Web Speech fallback WITHOUT a failed POST. POST 503s `{available:false}` when * Kokoro cannot run, at which point the client falls back to Web Speech. */ export declare function handleTalkTtsApi(req: IncomingMessage, res: ServerResponse, pathname: string, config: JinnConfig): Promise; //# sourceMappingURL=talk-tts-api.d.ts.map