import { EventEmitter } from "events"; export interface IWakeWordDetector { initialize(): Promise; shutdown(): Promise; startListening(): Promise; stopListening(): Promise; } export interface ISpeechToText extends EventEmitter { initialize(): Promise; shutdown(): Promise; transcribe(audioData: Buffer): Promise; } export interface SpeechToTextConfig { modelPath: string; modelType: string; containerName?: string; }