import { type FireEventType } from '@atlaskit/teams-app-internal-analytics'; import type { AgentIdType, AgentPermissions, ProfileClientOptions, RovoAgentCardClientResult } from '../types'; import CachingClient from './CachingClient'; export default class RovoAgentCardClient extends CachingClient { options: ProfileClientOptions; constructor(options: ProfileClientOptions); private basePath; private getActivationId; private getAgentByARIAgg; private getAgentByAccountIdAgg; makeRequest(id: AgentIdType, analytics?: FireEventType): Promise; /** * This function will call both REST and AGG endpoints to get the agent profile * There are some data that is only available in the AGG endpoint, so we need to call both * For any new fields, please only add them to the AGG endpoint * * @TODO migrate everything to AGG endpoint */ getProfile(id: AgentIdType, analytics?: FireEventType): Promise; deleteAgent(agentId: string, analytics?: FireEventType): Promise; setFavouriteAgent(agentId: string, isFavourite: boolean, analytics?: FireEventType): Promise; getPermissions(id: string, fireAnalytics?: FireEventType): Promise; }