livekit-voice-assistant
Version:
A customizable voice assistant component built with LiveKit
20 lines (19 loc) • 592 B
TypeScript
export interface ConnectionDetails {
serverUrl: string;
roomName: string;
participantName: string;
participantToken: string;
}
export interface UserDetails {
userName: string;
agentId: string;
userId: string;
}
/**
* Fetches connection details from the server
*
* @param endpoint - The API endpoint to fetch connection details from
* @param userDetails - User details to send to the server
* @returns Promise with connection details
*/
export declare function fetchConnectionDetails(endpoint?: string, userDetails?: UserDetails): Promise<ConnectionDetails>;