@d-id/client-sdk
Version:
d-id client sdk
9 lines (7 loc) • 445 B
TypeScript
import { Agent, AgentsAPI, Chat, ChatMode } from '../../types';
import { Analytics } from '../analytics/mixpanel';
export declare function getRequestHeaders(chatMode?: ChatMode): Record<string, Record<string, string>>;
export declare function createChat(agent: Agent, agentsApi: AgentsAPI, analytics: Analytics, chatMode?: ChatMode, persist?: boolean, chat?: Chat): Promise<{
chat: Chat | undefined;
chatMode: ChatMode | undefined;
}>;