/** * Copyright 2025 The Artinet Project * SPDX-License-Identifier: Apache-2.0 */ import { z } from 'zod/v4'; /** * @description Represents the provider or organization behind an agent. */ export declare const AgentProviderSchema: z.ZodObject<{ organization: z.ZodString; url: z.ZodURL; }, z.core.$strip>; export type AgentProvider = z.output; /** * @description A declaration of an extension supported by an Agent. */ export declare const AgentExtensionSchema: z.ZodObject<{ uri: z.ZodString; description: z.ZodOptional; required: z.ZodOptional; params: z.ZodOptional>; }, z.core.$strip>; export type AgentExtension = z.output; /** * @description Defines optional capabilities supported by an agent. */ export declare const AgentCapabilitiesSchema: z.ZodObject<{ streaming: z.ZodOptional; pushNotifications: z.ZodOptional; stateTransitionHistory: z.ZodOptional; extensions: z.ZodOptional; required: z.ZodOptional; params: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; export type AgentCapabilities = z.output; /** * @description Represents a unit of capability that an agent can perform. */ export declare const AgentSkillSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; tags: z.ZodArray; examples: z.ZodOptional>; inputModes: z.ZodOptional>; outputModes: z.ZodOptional>; security: z.ZodOptional>>>; }, z.core.$strip>; export type AgentSkill = z.output; /** * @description AgentCardSignature represents a JWS signature of an AgentCard. */ export declare const AgentCardSignatureSchema: z.ZodObject<{ protected: z.ZodString; signature: z.ZodString; header: z.ZodOptional>; }, z.core.$strip>; export type AgentCardSignature = z.output; /** * @description The supported version of the A2A protocol. */ export declare const SUPPORTED_PROTOCOL_VERSION = "0.3.0"; /** * @description An AgentCard conveys key information about an agent's identity, * capabilities, skills, authentication requirements, and communication modalities. */ export declare const AgentCardSchema: z.ZodObject<{ protocolVersion: z.ZodDefault; name: z.ZodString; description: z.ZodString; url: z.ZodURL; preferredTransport: z.ZodOptional, z.ZodString]>>; additionalInterfaces: z.ZodOptional, z.ZodString]>; }, z.core.$strip>>>; iconUrl: z.ZodOptional; provider: z.ZodOptional>; version: z.ZodString; documentationUrl: z.ZodOptional; capabilities: z.ZodObject<{ streaming: z.ZodOptional; pushNotifications: z.ZodOptional; stateTransitionHistory: z.ZodOptional; extensions: z.ZodOptional; required: z.ZodOptional; params: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; securitySchemes: z.ZodOptional; type: z.ZodLiteral<"apiKey">; in: z.ZodEnum<{ query: "query"; header: "header"; cookie: "cookie"; }>; name: z.ZodString; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"http">; scheme: z.ZodString; bearerFormat: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"oauth2">; flows: z.ZodObject<{ authorizationCode: z.ZodOptional; scopes: z.ZodRecord; }, z.core.$strip>>; clientCredentials: z.ZodOptional; scopes: z.ZodRecord; }, z.core.$strip>>; implicit: z.ZodOptional; scopes: z.ZodRecord; }, z.core.$strip>>; password: z.ZodOptional; scopes: z.ZodRecord; }, z.core.$strip>>; }, z.core.$strip>; oauth2MetadataUrl: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"openIdConnect">; openIdConnectUrl: z.ZodURL; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"mutualTLS">; }, z.core.$strip>]>>>; security: z.ZodOptional>>>; defaultInputModes: z.ZodArray; defaultOutputModes: z.ZodArray; skills: z.ZodArray; examples: z.ZodOptional>; inputModes: z.ZodOptional>; outputModes: z.ZodOptional>; security: z.ZodOptional>>>; }, z.core.$strip>>; supportsAuthenticatedExtendedCard: z.ZodOptional; signatures: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; export type AgentCard = z.output; /** * @description Request to get an authenticated extended card. */ export declare const GetAuthenticatedExtendedCardRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodUnion; method: z.ZodLiteral<"agent/getAuthenticatedExtendedCard">; params: z.ZodOptional; }, z.core.$strict>; export type GetAuthenticatedExtendedCardRequest = z.output; /** * @description JSON-RPC success response model for the 'agent/getAuthenticatedExtendedCard' method. */ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodUnion; result: z.ZodObject<{ protocolVersion: z.ZodDefault; name: z.ZodString; description: z.ZodString; url: z.ZodURL; preferredTransport: z.ZodOptional, z.ZodString]>>; additionalInterfaces: z.ZodOptional, z.ZodString]>; }, z.core.$strip>>>; iconUrl: z.ZodOptional; provider: z.ZodOptional>; version: z.ZodString; documentationUrl: z.ZodOptional; capabilities: z.ZodObject<{ streaming: z.ZodOptional; pushNotifications: z.ZodOptional; stateTransitionHistory: z.ZodOptional; extensions: z.ZodOptional; required: z.ZodOptional; params: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; securitySchemes: z.ZodOptional; type: z.ZodLiteral<"apiKey">; in: z.ZodEnum<{ query: "query"; header: "header"; cookie: "cookie"; }>; name: z.ZodString; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"http">; scheme: z.ZodString; bearerFormat: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"oauth2">; flows: z.ZodObject<{ authorizationCode: z.ZodOptional; scopes: z.ZodRecord; }, z.core.$strip>>; clientCredentials: z.ZodOptional; scopes: z.ZodRecord; }, z.core.$strip>>; implicit: z.ZodOptional; scopes: z.ZodRecord; }, z.core.$strip>>; password: z.ZodOptional; scopes: z.ZodRecord; }, z.core.$strip>>; }, z.core.$strip>; oauth2MetadataUrl: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"openIdConnect">; openIdConnectUrl: z.ZodURL; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"mutualTLS">; }, z.core.$strip>]>>>; security: z.ZodOptional>>>; defaultInputModes: z.ZodArray; defaultOutputModes: z.ZodArray; skills: z.ZodArray; examples: z.ZodOptional>; inputModes: z.ZodOptional>; outputModes: z.ZodOptional>; security: z.ZodOptional>>>; }, z.core.$strip>>; supportsAuthenticatedExtendedCard: z.ZodOptional; signatures: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strict>; export type GetAuthenticatedExtendedCardSuccessResponse = z.output; /** * @description Response to a `agent/getAuthenticatedExtendedCard` request. */ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion; id: z.ZodUnion; result: z.ZodObject<{ protocolVersion: z.ZodDefault; name: z.ZodString; description: z.ZodString; url: z.ZodURL; preferredTransport: z.ZodOptional, z.ZodString]>>; additionalInterfaces: z.ZodOptional, z.ZodString]>; }, z.core.$strip>>>; iconUrl: z.ZodOptional; provider: z.ZodOptional>; version: z.ZodString; documentationUrl: z.ZodOptional; capabilities: z.ZodObject<{ streaming: z.ZodOptional; pushNotifications: z.ZodOptional; stateTransitionHistory: z.ZodOptional; extensions: z.ZodOptional; required: z.ZodOptional; params: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; securitySchemes: z.ZodOptional; type: z.ZodLiteral<"apiKey">; in: z.ZodEnum<{ query: "query"; header: "header"; cookie: "cookie"; }>; name: z.ZodString; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"http">; scheme: z.ZodString; bearerFormat: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"oauth2">; flows: z.ZodObject<{ authorizationCode: z.ZodOptional; scopes: z.ZodRecord; }, z.core.$strip>>; clientCredentials: z.ZodOptional; scopes: z.ZodRecord; }, z.core.$strip>>; implicit: z.ZodOptional; scopes: z.ZodRecord; }, z.core.$strip>>; password: z.ZodOptional; scopes: z.ZodRecord; }, z.core.$strip>>; }, z.core.$strip>; oauth2MetadataUrl: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"openIdConnect">; openIdConnectUrl: z.ZodURL; }, z.core.$strip>, z.ZodObject<{ description: z.ZodOptional; type: z.ZodLiteral<"mutualTLS">; }, z.core.$strip>]>>>; security: z.ZodOptional>>>; defaultInputModes: z.ZodArray; defaultOutputModes: z.ZodArray; skills: z.ZodArray; examples: z.ZodOptional>; inputModes: z.ZodOptional>; outputModes: z.ZodOptional>; security: z.ZodOptional>>>; }, z.core.$strip>>; supportsAuthenticatedExtendedCard: z.ZodOptional; signatures: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strict>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodOptional>; error: z.ZodObject<{ code: z.ZodNumber; message: z.ZodString; data: z.ZodOptional; }, z.core.$strip>; }, z.core.$strict>]>; export type GetAuthenticatedExtendedCardResponse = z.output; //# sourceMappingURL=agent.d.ts.map