/** * `xopc voice` — configure text-to-speech (TTS) for outbound messages. * * Backed by `cfg.messages.tts` per `TTSConfigSchema`. Uses the M1 setup-shared * runner so every action emits the same `SetupTask` JSON consumed by M2 * skills and the M3 WebUI. */ import type { Config } from '../../config/schema.js'; declare const TTS_PROVIDERS: readonly ["openai", "alibaba", "edge", "minimax"]; type TTSProvider = (typeof TTS_PROVIDERS)[number]; declare const TTS_TRIGGERS: readonly ["off", "always", "inbound", "tagged"]; type TTSTrigger = (typeof TTS_TRIGGERS)[number]; interface TTSStatusSnapshot { enabled: boolean; provider: string; trigger: string; maxTextLength: number; timeoutMs: number; } export declare function readTTSStatus(cfg: Config): TTSStatusSnapshot; export declare function applyTTSEnable(cfg: Config, patch: { enabled?: boolean; provider?: TTSProvider; trigger?: TTSTrigger; }): Config; export {};