UNPKG

@varunmhajan/hom-i-voice-ai

Version:

Voice AI utilities for home loan assistance with India-specific formatting

38 lines 1.23 kB
export { VoiceClient, VoiceRecorder, VERSION, utils } from '../index'; export type { VoiceConfig, VoiceResponse, ConversationMessage, AudioInput, RecorderConfig, RecorderState, AudioChunk } from '../index'; export declare const VanillaVoiceAI: { /** * Quick setup for vanilla JS projects */ createClient(apiKey: string, options?: any): any; /** * Quick setup for recorder */ createRecorder(options?: any): any; /** * Check browser support */ checkSupport(): { voiceSupported: any; recordingSupported: any; supportedMimeTypes: any; isHttps: boolean; }; /** * Simple text-to-speech function */ speak(text: string, apiKey: string, options?: any): Promise<any>; /** * Simple speech-to-text function */ transcribe(audioBlob: Blob, apiKey: string, options?: any): Promise<any>; /** * Record and transcribe in one function */ recordAndTranscribe(apiKey: string, recorderOptions?: any, clientOptions?: any): Promise<unknown>; /** * Full voice chat function */ voiceChat(input: string | Blob, apiKey: string, options?: any): Promise<any>; }; //# sourceMappingURL=index.d.ts.map