import { VoiceAIConfig, VoiceResponse, VoiceAIState, VoiceAIEvents, AIProvider, CommandDefinition, CommandRegistry, BusinessContext } from '../../types/src/types'; export declare class VoiceAI { private config; private state; private speechRecognition; private speechSynthesis; private eventListeners; private commandRegistry; private businessContext; constructor(config: VoiceAIConfig, events?: Partial); private initializeBusinessContext; private validateConfig; private validateAIProviderConfig; private mergeWithDefaults; private initializeCommandRegistry; private initialize; private initializeAIProviders; private testAIProvider; private initializeSpeechRecognition; private initializeSpeechSynthesis; /** * Replace business variables in text with actual business context */ private replaceBusinessVariables; /** * Classify command complexity and determine if voice package can handle it */ private classifyCommand; /** * Determine if voice package can handle a command */ private canHandleCommand; /** * Enhanced entity extraction with business context */ private extractEntities; startListening(): Promise; stopListening(): Promise; processTextInput(text: string): Promise; speak(text: string): Promise; speakText(text: string): Promise; canHandle(text: string): Promise; private handleSpeechResult; private parseCommand; private parseCommandWithProvider; private parseCommandWithOpenAI; private parseCommandWithAnthropic; private parseCommandWithGoogle; private parseCommandWithKeywords; private generateResponse; private getSuggestedCommands; private replaceTemplateVariables; private executeActions; private makeApiCall; private speakWithWebSpeech; private updateState; private handleError; getState(): VoiceAIState; updateConfig(newConfig: Partial): void; updateContext(context: Record): void; updateBusinessContext(context: Partial): void; getCommandRegistry(): CommandRegistry; getBusinessContext(): BusinessContext; switchAIProvider(provider: AIProvider): Promise; openCommandCenter(): void; closeCommandCenter(): void; getAvailableCommands(category?: string): CommandDefinition[]; executeCommand(commandId: string, entities?: Record): Promise; }