UNPKG

alpha-ai-avatar-sdk-react

Version:
7 lines (6 loc) 304 B
import { SpeechRecognizer } from 'microsoft-cognitiveservices-speech-sdk'; export declare class AzureSpeechRecognition { recognizer: SpeechRecognizer | undefined; start(subscriptionKey: string, region: string, onSpeechRecognized: (transcript: string) => void): Promise<void>; stop(): void; }