@revrag-ai/embed-react-native
Version:
A powerful React Native library for integrating AI-powered voice agents into mobile applications. Features real-time voice communication, intelligent speech processing, customizable UI components, and comprehensive event handling for building conversation
14 lines • 422 B
TypeScript
type EventCallback = (data: any) => void;
export declare enum EventKeys {
USER_DATA = "user_data",
SCREEN_STATE = "state_data"
}
declare class Embed {
private events;
private ensureDefaultListener;
Event(eventKey: string, data: any): Promise<void>;
on(eventKey: EventKeys, callback: EventCallback): void;
}
declare const embed: Embed;
export default embed;
//# sourceMappingURL=embed.event.d.ts.map