@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
15 lines • 457 B
TypeScript
type EventCallback = (data: any) => void;
export declare enum EventKeys {
USER_DATA = "user_data",
SCREEN_STATE = "screen_state",
OFFER_STATE = "offer_state"
}
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