export { EmitEvent } from './enum';
export interface LoadProgressEvent {
    code: 'download' | 'loaded' | 'loading';
    progress: number;
    total: number;
    url?: string;
}
export interface ErrorEvent {
    code: string | number;
    message: string;
    details?: any;
}
export interface AudioPlayEvent {
    playing: boolean;
    duration?: number;
    currentTime?: number;
}
export interface Voice2TextEvent {
    isFinal: boolean;
    text: string;
    confidence?: number;
    isBargeIn?: boolean;
}
export interface FaceRecognitionResult {
    count: number;
    faces: Array<{
        confidence: number;
        box: {
            x: number;
            y: number;
            width: number;
            height: number;
        };
        landmarks?: any[];
    }>;
}
export interface PersonDetectionResult {
    count: number;
    detected: boolean;
}
export interface GatewayMessageEvent {
    type: 'chat' | 'tts' | 'asr' | 'error';
    event: string;
    data: any;
    requestId?: string;
}
export type EventListener<T = any> = (data: T) => void;
export interface AnimationEvent {
    code: string;
    name?: string;
    duration?: number;
}
export interface ModelLoadEvent {
    code: string;
    name: string;
    type: 'apose' | 'animation' | 'animation_system';
    progress?: number;
}
export interface CharacterActionEvent {
    actions: string[];
    name: string;
    inputs: Record<string, any>;
}
export interface EventMap {
    [key: string]: any;
}
//# sourceMappingURL=events.d.ts.map