import { type ConfigDocumentPort, type RootResourceInstaller, type RuntimeConfigDocument } from '@zhin.js/runtime'; export interface SpeechHostConfig { readonly stt?: Record; readonly tts?: Record; } export interface SpeechHostTool { readonly name: string; readonly description: string; readonly parameters: { readonly type: 'object'; properties?: Record; required?: string[]; }; execute(args: Record): Promise; readonly source?: string; } export interface SpeechHostHandle { readonly tools: readonly SpeechHostTool[]; readonly sttProvider: string; readonly ttsProvider: string; /** Inbound preprocess: download URL and transcribe. */ transcribeUrl(audioUrl: string): Promise; } export declare function resolveSpeechConfig(config: RuntimeConfigDocument | ConfigDocumentPort): Promise; /** * Optional Speech Host: * - top-level `speech:` → createSpeechPipeline + seedSpeechPipeline (TTS rich segment) * - exposes voice_stt / voice_tts tools for Agent Host */ export declare function prepareSpeechHost(config: SpeechHostConfig | undefined): Promise; export declare function installSpeechHost(handle: SpeechHostHandle | undefined): RootResourceInstaller; //# sourceMappingURL=speech-host-installer.d.ts.map