ttc-ai-client
Version:
TypeScript client sdk for TTC AI services with decorators and schema validation.
25 lines • 876 B
TypeScript
/**
* Example usage of TTC Simple Call Integration
*
* This example shows how to use the simple voice call system independently
* for projects that need speech capabilities without the full widget.
*/
import { CallIntegration } from '../calls/exports';
/**
* Example 1: Using CallIntegration (recommended for most use cases)
*/
declare function exampleCallIntegration(): Promise<void>;
/**
* Example 2: Using VoiceCallManager directly (for advanced use cases)
*/
declare function exampleDirectVoiceManager(): Promise<void>;
/**
* Example 3: Simple integration function for easy setup
*/
export declare function createSimpleSpeechIntegration(options: {
conversationId: string;
token: string;
onMessage?: (text: string) => void;
}): CallIntegration;
export { exampleCallIntegration, exampleDirectVoiceManager };
//# sourceMappingURL=speechExample.d.ts.map