UNPKG

@atlaskit/rovo-agent-components

Version:

This package host public components related to rovo agents, the components here are needed for other public atlaskit packages

53 lines (52 loc) 1.54 kB
/** * @jsxRuntime classic * @jsx jsx */ import React from 'react'; type AgentCreator = { type: 'CUSTOMER'; name: string; profileLink: string; status?: 'active' | 'inactive' | 'closed' | string; } | { type: 'SYSTEM'; } | { type: 'THIRD_PARTY' | 'FORGE' | 'REMOTE_A2A'; name: string; } | { type: 'OOTB'; }; export declare const getAgentCreator: ({ creatorType, authoringTeam, userCreator, forgeCreator, }: { creatorType: string; authoringTeam?: { displayName: string; profileLink?: string; }; userCreator?: { name: string; status?: string; profileLink?: string; }; forgeCreator?: string; }) => AgentCreator | undefined; export declare const AgentProfileCreator: ({ creator, onCreatorLinkClick, isLoading, }: { /** * Get this value from `getAgentCreator` */ creator?: AgentCreator; isLoading: boolean; onCreatorLinkClick: () => void; }) => JSX.Element | null; export declare const AgentProfileInfo: ({ agentName, agentDescription, creatorRender, starCountRender, headingRender, isStarred, isHidden, onStarToggle, showStarButton, renderAdditionalContent, }: { agentName: string; agentDescription?: string | null; creatorRender: React.ReactNode; starCountRender: React.ReactNode; headingRender?: React.ReactNode; isStarred: boolean; isHidden: boolean; onStarToggle: () => void; showStarButton?: boolean; renderAdditionalContent?: () => React.ReactNode; }) => JSX.Element; export {};