/** Options for {@link AgentCard}. All fields are optional and default to empty. */ export type AgentCardOptions = { /** Unique identifier for this agent. Default: `''`. */ agentId?: string; /** Human-readable agent name. Default: `''`. */ name?: string; /** Short description of what the agent does. Default: `''`. */ description?: string; /** List of capability tags advertised by the agent. Default: `[]`. */ capabilities?: string[]; /** Arbitrary metadata to attach to the card. Default: `{}`. */ metadata?: Record; }; /** Options for {@link A2AMessage}. All fields are optional. */ export type A2AMessageOptions = { /** ID of the agent sending the message. Default: `''`. */ sourceAgentId?: string; /** ID of the agent the message is addressed to. Default: `''`. */ targetAgentId?: string; /** Message kind. Default: `'text'`. */ messageType?: string; /** Message body. Default: `{}`. */ payload?: Record; }; /** Describes an agent for agent-to-agent (A2A) discovery and routing. */ export type AgentCard = { agentId: string; name: string; description: string; capabilities: string[]; metadata: Record; }; /** Create an {@link AgentCard}, filling unset fields with empty defaults. */ export declare function AgentCard(opts?: AgentCardOptions): AgentCard; /** A message exchanged between two agents in an agent-to-agent (A2A) flow. */ export type A2AMessage = { sourceAgentId: string; targetAgentId: string; messageType: string; payload: Record; }; /** Create an {@link A2AMessage}. `messageType` defaults to `'text'`. */ export declare function A2AMessage(opts?: A2AMessageOptions): A2AMessage;