@voxket-ai/voxket-live
Version:
A React widget for embedding Voxket-powered audio/video/chat experiences.
25 lines (24 loc) • 667 B
TypeScript
/**
* Connection management hooks for Voxket SDK
*/
/**
* Hook for connection management
*/
export declare function useVoxketConnection(): {
isConnected: boolean;
isConnecting: boolean;
isDisconnected: boolean;
error: import('../..').VoxketError | null;
hasError: boolean;
connect: () => Promise<void>;
disconnect: () => Promise<void>;
};
/**
* Hook for participants management
*/
export declare function useVoxketParticipants(): {
participants: import('../..').ParticipantInfo[];
count: number;
localParticipant: import('../..').ParticipantInfo | undefined;
remoteParticipants: import('../..').ParticipantInfo[];
};