import { WebexSDK, TranscriptAction, AIAssistantEventType, AIAssistantEventName, HistoricTranscriptsResponse } from '../types'; import { AIFeatureFlags } from './config/types'; /** * ApiAIAssistant provides AI Assistant APIs for transcript controls. * @public */ export declare class ApiAIAssistant { private webex; private metricsManager; aiFeature: AIFeatureFlags; constructor(webex: WebexSDK); setAIFeatureFlags(aiFeature: AIFeatureFlags): void; private getBaseUrl; /** * Sends an event to the AI Assistant service. * @param agentId - agent identifier * @param interactionId - interaction/conversation identifier * @param eventType - the type of event (e.g. 'CUSTOM_EVENT') * @param eventName - the name of the event (e.g. 'GET_TRANSCRIPTS') * @param action - action within eventDetails (e.g. 'START' or 'STOP') */ sendEvent(agentId: string, interactionId: string, eventType: AIAssistantEventType, eventName: AIAssistantEventName, action: TranscriptAction): Promise>; /** * Fetches historic transcripts for an interaction. * This API is allowed only when real-time transcription feature is enabled. * * @param interactionId - interaction/conversation identifier */ fetchHistoricTranscripts(agentId: string, interactionId: string): Promise; } export default ApiAIAssistant;