import type { AgentCard, AgentCardSignature } from '@mastra/core/a2a'; import type { CryptoKey, JWK, ProtectedHeaderParameters } from 'jose'; export type AgentCardVerificationKey = CryptoKey | JWK | string | Uint8Array | ArrayBuffer; export type AgentCardSignatureKeyProviderInput = { agentCard: AgentCard; signature: AgentCardSignature; protectedHeader: ProtectedHeaderParameters; alg?: string; kid?: string; jku?: string; index: number; }; /** * @experimental Agent Card verification may evolve as A2A JS signing support settles. */ export type VerifyAgentCardSignatureOptions = { keyProvider: (input: AgentCardSignatureKeyProviderInput) => Promise | AgentCardVerificationKey | null | undefined; algorithms?: string[]; }; export declare function verifyAgentCardSignatureIfPresent(agentCard: AgentCard, options: VerifyAgentCardSignatureOptions): Promise; //# sourceMappingURL=verify-agent-card-signature.d.ts.map