import type { A2AAgentCard, A2ATask, A2AMessage } from './types'; export declare class A2AClient { private agentUrl; private auth?; constructor(agentUrl: string, auth?: { scheme: string; token: string; }); private getHeaders; private rpc; getAgentCard(): Promise; sendTask(message: A2AMessage, options?: { taskId?: string; sessionId?: string; }): Promise; sendTaskSubscribe(message: A2AMessage, onEvent: (event: any) => void, options?: { taskId?: string; }): Promise; getTask(taskId: string): Promise; cancelTask(taskId: string): Promise; sendText(text: string, options?: { taskId?: string; }): Promise; } //# sourceMappingURL=client.d.ts.map