UNPKG

web-asr-core

Version:

WebASR Core - Browser-based speech processing with VAD, WakeWord and Whisper - Unified all-in-one version

28 lines 909 B
/** * Model registry module for loading and resolving model configurations */ import type { Registry, WhisperModelInfo, WakewordInfo, VadInfo } from '../types'; /** * Load registry from JSON file */ export declare function loadRegistry(url?: string): Promise<Registry>; /** * Resolve wake word model configuration */ export declare function resolveWakeword(registry: Registry, defaultId?: string): WakewordInfo; /** * Resolve VAD model configuration */ export declare function resolveVad(registry: Registry): VadInfo; /** * Resolve Whisper model configuration */ export declare function resolveWhisper(registry: Registry, defaultId?: string): WhisperModelInfo; /** * Get all available models of a specific type */ export declare function getAvailableModels(registry: Registry, type: 'vad' | 'wakeword' | 'asr'): Array<{ id: string; name?: string; }>; //# sourceMappingURL=registry.d.ts.map