@voice-ai-workforce/react
Version:
React components with 3-tier interface modes for voice-controlled workforce applications
17 lines (16 loc) • 669 B
TypeScript
import React from 'react';
import { VoiceCommand, VoiceResponse, VoiceAIConfig, VoiceAIError, VoiceModeProps } from '../../../types/src/types';
export interface VoiceCommandCenterPropsWithMode extends VoiceModeProps {
config: VoiceAIConfig;
isOpen: boolean;
onClose?: () => void;
position?: 'left' | 'right';
width?: number;
showCategories?: boolean;
showHistory?: boolean;
onCommand?: (command: VoiceCommand) => void;
onResponse?: (response: VoiceResponse) => void;
onError?: (error: VoiceAIError) => void;
}
export declare const VoiceCommandCenter: React.FC<VoiceCommandCenterPropsWithMode>;
export default VoiceCommandCenter;