import type { AgentPassport } from '../types/passport.js'; import type { A2AAgentCard, A2AAgentSkill, A2ACapabilities } from '../types/a2a.js'; /** * Generate an A2A Agent Card from an Agent Passport. * The card includes standard A2A fields plus Agent Passport * extension fields for cryptographic identity verification. */ export declare function passportToAgentCard(passport: AgentPassport, privateKey: string, options: { url: string; capabilities?: A2ACapabilities; skills?: A2AAgentSkill[]; provider?: { organization: string; url?: string; }; }): Promise; /** * Verify an A2A Agent Card that contains Agent Passport extension fields. * Checks that the card's passport signature is valid. */ export declare function verifyAgentCard(card: A2AAgentCard): Promise<{ valid: boolean; did: string | null; error?: string; }>; /** * Extract Agent Passport capabilities from an A2A Agent Card's skills. */ export declare function agentCardToCapabilities(card: A2AAgentCard): string[]; /** * Check if an A2A Agent Card has Agent Passport identity. */ export declare function hasPassportIdentity(card: A2AAgentCard): boolean; /** * Get the DID from an A2A Agent Card (if it has passport identity). */ export declare function getDIDFromAgentCard(card: A2AAgentCard): string | null; //# sourceMappingURL=a2a.d.ts.map