@corti/dictation-web
Version:
Web component for Corti Dictation
9 lines (8 loc) • 487 B
TypeScript
import type { Corti } from "@corti/sdk";
export declare const DEFAULT_LANGUAGES_BY_REGION: Record<string, Corti.TranscribeSupportedLanguage[]>;
export declare function getLanguageName(languageCode: string): string;
export declare function checkIfDefaultLanguagesList(languages?: Corti.TranscribeSupportedLanguage[]): boolean;
export declare function getLanguagesByRegion(region?: string): {
languages: Corti.TranscribeSupportedLanguage[];
defaultLanguage: string | undefined;
};