export interface A2AAgentCard { name: string; description: string; url: string; version?: string; capabilities?: Record; skills?: A2ASkillInfo[]; } export interface A2ASkillInfo { id: string; name: string; description: string; tags?: string[]; examples?: string[]; } export interface A2ADiscoveredAgent { agentId: string; agentName: string; description: string; url: string; skills: A2ASkillInfo[]; } interface A2ATaskResult { id: string; status: { state: string; }; artifacts?: Array<{ name?: string; parts: Array<{ type: string; text?: string; data?: unknown; }>; }>; history?: Array<{ role: string; parts: Array<{ type: string; text?: string; data?: unknown; }>; }>; } declare class A2AClientManager { private agents; private cards; /** * Fetch Agent Cards from all configured A2A agents, discover their skills. */ discoverAllAgents(): Promise; /** * Send a task to an A2A agent. Returns the task result (synchronous — waits for completion). */ sendTask(agentId: string, message: string, options?: { skillId?: string; data?: Record; }): Promise; /** * Get the status of a previously sent task. */ getTask(agentId: string, taskId: string): Promise; /** * Get the cached agent card for an agent. */ getAgentCard(agentId: string): A2AAgentCard | undefined; private fetchAgentCard; } export declare const a2aClient: A2AClientManager; export {}; //# sourceMappingURL=a2a-client.d.ts.map