speech-to-element
Version:
Add real-time speech to text functionality into your website with no effort
9 lines (8 loc) • 447 B
TypeScript
import { SpeechConfig } from 'microsoft-cognitiveservices-speech-sdk';
import { AzureOptions } from '../../types/options';
export declare class AzureSpeechConfig {
static validateOptions(onError: (details: string) => void, options?: AzureOptions): boolean;
private static getNewSpeechConfig;
private static process;
static get(sdkConfigType: typeof SpeechConfig, options: AzureOptions): Promise<SpeechConfig | null | undefined>;
}