import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * Message containing tool execution results
 */
export declare const InvokeAgentRoleToolMessage: {
    readonly Tool: "tool";
};
/**
 * Message containing tool execution results
 */
export type InvokeAgentRoleToolMessage = ClosedEnum<typeof InvokeAgentRoleToolMessage>;
/**
 * Message from the end user
 */
export declare const InvokeAgentRoleUserMessage: {
    readonly User: "user";
};
/**
 * Message from the end user
 */
export type InvokeAgentRoleUserMessage = ClosedEnum<typeof InvokeAgentRoleUserMessage>;
/**
 * Message role (user or tool for continuing executions)
 */
export type InvokeAgentRole = InvokeAgentRoleUserMessage | InvokeAgentRoleToolMessage;
export declare const InvokeAgentPublicMessagePartAgentsKind: {
    readonly ToolResult: "tool_result";
};
export type InvokeAgentPublicMessagePartAgentsKind = ClosedEnum<typeof InvokeAgentPublicMessagePartAgentsKind>;
/**
 * Tool execution result part. Use this ONLY when providing results for a pending tool call from the agent. The tool_call_id must match the ID from the agent's tool call request.
 */
export type PublicMessagePartToolResultPart = {
    kind: InvokeAgentPublicMessagePartAgentsKind;
    toolCallId: string;
    result?: any | undefined;
    metadata?: {
        [k: string]: any;
    } | undefined;
};
export declare const InvokeAgentPublicMessagePartKind: {
    readonly File: "file";
};
export type InvokeAgentPublicMessagePartKind = ClosedEnum<typeof InvokeAgentPublicMessagePartKind>;
/**
 * File in URI format. Check in the model's documentation for the supported mime types for the URI format
 */
export type FileFileInURIFormat = {
    /**
     * URL for the File content
     */
    uri: string;
    /**
     * Optional mimeType for the file
     */
    mimeType?: string | undefined;
    /**
     * Optional name for the file
     */
    name?: string | undefined;
};
/**
 * Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
 */
export type FileBinaryFormat = {
    /**
     * base64 encoded content of the file
     */
    bytes: string;
    /**
     * Optional mimeType for the file
     */
    mimeType?: string | undefined;
    /**
     * Optional name for the file
     */
    name?: string | undefined;
};
export type InvokeAgentPublicMessagePartFile = FileBinaryFormat | FileFileInURIFormat;
/**
 * File attachment part. Use this to send files (images, documents, etc.) to the agent for processing.
 */
export type PublicMessagePartFilePart = {
    kind: InvokeAgentPublicMessagePartKind;
    file: FileBinaryFormat | FileFileInURIFormat;
    metadata?: {
        [k: string]: any;
    } | undefined;
};
/**
 * Message part that can be provided by users. Use "text" for regular messages, "file" for attachments, or "tool_result" when responding to tool call requests.
 */
export type InvokeAgentPublicMessagePart = components.TextPart | PublicMessagePartFilePart | PublicMessagePartToolResultPart;
/**
 * The A2A message to send to the agent (user input or tool results)
 */
export type InvokeAgentA2AMessage = {
    /**
     * Optional A2A message ID in ULID format
     */
    messageId?: string | undefined;
    /**
     * Message role (user or tool for continuing executions)
     */
    role: InvokeAgentRoleUserMessage | InvokeAgentRoleToolMessage;
    /**
     * A2A message parts (text, file, or tool_result only)
     */
    parts: Array<components.TextPart | PublicMessagePartFilePart | PublicMessagePartToolResultPart>;
};
/**
 * Information about the contact making the request. If the contact does not exist, it will be created automatically.
 */
export type InvokeAgentContact = {
    /**
     * Unique identifier for the contact
     */
    id: string;
    /**
     * Display name of the contact
     */
    displayName?: string | undefined;
    /**
     * Email address of the contact
     */
    email?: string | undefined;
    /**
     * A hash of key/value pairs containing any other data about the contact
     */
    metadata?: Array<{
        [k: string]: any;
    }> | undefined;
    /**
     * URL to the contact's avatar or logo
     */
    logoUrl?: string | undefined;
    /**
     * A list of tags associated with the contact
     */
    tags?: Array<string> | undefined;
};
/**
 * Thread information to group related requests
 */
export type InvokeAgentThread = {
    /**
     * Unique thread identifier to group related invocations.
     */
    id: string;
    /**
     * Optional tags to differentiate or categorize threads
     */
    tags?: Array<string> | undefined;
};
/**
 * Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
 */
export type InvokeAgentMemory = {
    /**
     * An entity ID used to link memory stores to a specific user, session, or conversation. This ID is used to isolate and retrieve memories specific to the entity across agent executions.
     */
    entityId: string;
};
export type InvokeAgentRequestBody = {
    /**
     * Optional task ID to continue an existing agent execution. When provided, the agent will continue the conversation from the existing task state. The task must be in an inactive state to continue.
     */
    taskId?: string | undefined;
    /**
     * The A2A message to send to the agent (user input or tool results)
     */
    message: InvokeAgentA2AMessage;
    /**
     * Optional variables for template replacement in system prompt, instructions, and messages
     */
    variables?: {
        [k: string]: any;
    } | undefined;
    /**
     * Information about the contact making the request. If the contact does not exist, it will be created automatically.
     */
    contact?: InvokeAgentContact | undefined;
    /**
     * Thread information to group related requests
     */
    thread?: InvokeAgentThread | undefined;
    /**
     * Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
     */
    memory?: InvokeAgentMemory | undefined;
    /**
     * Optional metadata for the agent invocation as key-value pairs that will be included in traces
     */
    metadata?: {
        [k: string]: any;
    } | undefined;
};
export type InvokeAgentRequest = {
    /**
     * The key or ID of the agent to invoke
     */
    key: string;
    requestBody?: InvokeAgentRequestBody | undefined;
};
/**
 * A2A entity type identifier
 */
export declare const InvokeAgentKind: {
    readonly Task: "task";
};
/**
 * A2A entity type identifier
 */
export type InvokeAgentKind = ClosedEnum<typeof InvokeAgentKind>;
/**
 * Current state of the agent task execution. Values: submitted (queued), working (executing), input-required (awaiting user input), completed (finished successfully), failed (error occurred). Note: auth-required, canceled, and rejected statuses are defined for A2A protocol compatibility but are not currently supported in task execution.
 */
export declare const TaskState: {
    readonly Submitted: "submitted";
    readonly Working: "working";
    readonly InputRequired: "input-required";
    readonly AuthRequired: "auth-required";
    readonly Completed: "completed";
    readonly Failed: "failed";
    readonly Canceled: "canceled";
    readonly Rejected: "rejected";
};
/**
 * Current state of the agent task execution. Values: submitted (queued), working (executing), input-required (awaiting user input), completed (finished successfully), failed (error occurred). Note: auth-required, canceled, and rejected statuses are defined for A2A protocol compatibility but are not currently supported in task execution.
 */
export type TaskState = ClosedEnum<typeof TaskState>;
export declare const InvokeAgentAgentsKind: {
    readonly Message: "message";
};
export type InvokeAgentAgentsKind = ClosedEnum<typeof InvokeAgentAgentsKind>;
/**
 * Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
 */
export declare const ExtendedMessageRole: {
    readonly User: "user";
    readonly Agent: "agent";
    readonly Tool: "tool";
    readonly System: "system";
};
/**
 * Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
 */
export type ExtendedMessageRole = ClosedEnum<typeof ExtendedMessageRole>;
export type InvokeAgentParts = (components.ToolCallPart & {
    kind: "tool_call";
}) | (components.TextPart & {
    kind: "text";
}) | (components.DataPart & {
    kind: "data";
}) | (components.FilePart & {
    kind: "file";
}) | (components.ToolResultPart & {
    kind: "tool_result";
});
/**
 * Optional A2A message providing additional context about the current status
 */
export type TaskStatusMessage = {
    kind: InvokeAgentAgentsKind;
    messageId: string;
    /**
     * Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
     */
    role: ExtendedMessageRole;
    parts: Array<(components.ToolCallPart & {
        kind: "tool_call";
    }) | (components.TextPart & {
        kind: "text";
    }) | (components.DataPart & {
        kind: "data";
    }) | (components.FilePart & {
        kind: "file";
    }) | (components.ToolResultPart & {
        kind: "tool_result";
    })>;
};
/**
 * Current task status information
 */
export type TaskStatus = {
    /**
     * Current state of the agent task execution. Values: submitted (queued), working (executing), input-required (awaiting user input), completed (finished successfully), failed (error occurred). Note: auth-required, canceled, and rejected statuses are defined for A2A protocol compatibility but are not currently supported in task execution.
     */
    state: TaskState;
    /**
     * ISO 8601 timestamp of when the status was updated
     */
    timestamp?: string | undefined;
    /**
     * Optional A2A message providing additional context about the current status
     */
    message?: TaskStatusMessage | undefined;
};
/**
 * Response format following the Agent-to-Agent (A2A) protocol. Returned when starting or continuing an agent task execution.
 */
export type InvokeAgentA2ATaskResponse = {
    /**
     * The unique ID of the created agent execution task
     */
    id: string;
    /**
     * The correlation ID for this execution (used for tracking)
     */
    contextId: string;
    /**
     * A2A entity type identifier
     */
    kind: InvokeAgentKind;
    /**
     * Current task status information
     */
    status: TaskStatus;
    /**
     * Task metadata containing workspace_id and trace_id for feedback and tracking
     */
    metadata?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const InvokeAgentRoleToolMessage$inboundSchema: z.ZodNativeEnum<typeof InvokeAgentRoleToolMessage>;
/** @internal */
export declare const InvokeAgentRoleToolMessage$outboundSchema: z.ZodNativeEnum<typeof InvokeAgentRoleToolMessage>;
/** @internal */
export declare const InvokeAgentRoleUserMessage$inboundSchema: z.ZodNativeEnum<typeof InvokeAgentRoleUserMessage>;
/** @internal */
export declare const InvokeAgentRoleUserMessage$outboundSchema: z.ZodNativeEnum<typeof InvokeAgentRoleUserMessage>;
/** @internal */
export declare const InvokeAgentRole$inboundSchema: z.ZodType<InvokeAgentRole, z.ZodTypeDef, unknown>;
/** @internal */
export type InvokeAgentRole$Outbound = string | string;
/** @internal */
export declare const InvokeAgentRole$outboundSchema: z.ZodType<InvokeAgentRole$Outbound, z.ZodTypeDef, InvokeAgentRole>;
export declare function invokeAgentRoleToJSON(invokeAgentRole: InvokeAgentRole): string;
export declare function invokeAgentRoleFromJSON(jsonString: string): SafeParseResult<InvokeAgentRole, SDKValidationError>;
/** @internal */
export declare const InvokeAgentPublicMessagePartAgentsKind$inboundSchema: z.ZodNativeEnum<typeof InvokeAgentPublicMessagePartAgentsKind>;
/** @internal */
export declare const InvokeAgentPublicMessagePartAgentsKind$outboundSchema: z.ZodNativeEnum<typeof InvokeAgentPublicMessagePartAgentsKind>;
/** @internal */
export declare const PublicMessagePartToolResultPart$inboundSchema: z.ZodType<PublicMessagePartToolResultPart, z.ZodTypeDef, unknown>;
/** @internal */
export type PublicMessagePartToolResultPart$Outbound = {
    kind: string;
    tool_call_id: string;
    result?: any | undefined;
    metadata?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const PublicMessagePartToolResultPart$outboundSchema: z.ZodType<PublicMessagePartToolResultPart$Outbound, z.ZodTypeDef, PublicMessagePartToolResultPart>;
export declare function publicMessagePartToolResultPartToJSON(publicMessagePartToolResultPart: PublicMessagePartToolResultPart): string;
export declare function publicMessagePartToolResultPartFromJSON(jsonString: string): SafeParseResult<PublicMessagePartToolResultPart, SDKValidationError>;
/** @internal */
export declare const InvokeAgentPublicMessagePartKind$inboundSchema: z.ZodNativeEnum<typeof InvokeAgentPublicMessagePartKind>;
/** @internal */
export declare const InvokeAgentPublicMessagePartKind$outboundSchema: z.ZodNativeEnum<typeof InvokeAgentPublicMessagePartKind>;
/** @internal */
export declare const FileFileInURIFormat$inboundSchema: z.ZodType<FileFileInURIFormat, z.ZodTypeDef, unknown>;
/** @internal */
export type FileFileInURIFormat$Outbound = {
    uri: string;
    mimeType?: string | undefined;
    name?: string | undefined;
};
/** @internal */
export declare const FileFileInURIFormat$outboundSchema: z.ZodType<FileFileInURIFormat$Outbound, z.ZodTypeDef, FileFileInURIFormat>;
export declare function fileFileInURIFormatToJSON(fileFileInURIFormat: FileFileInURIFormat): string;
export declare function fileFileInURIFormatFromJSON(jsonString: string): SafeParseResult<FileFileInURIFormat, SDKValidationError>;
/** @internal */
export declare const FileBinaryFormat$inboundSchema: z.ZodType<FileBinaryFormat, z.ZodTypeDef, unknown>;
/** @internal */
export type FileBinaryFormat$Outbound = {
    bytes: string;
    mimeType?: string | undefined;
    name?: string | undefined;
};
/** @internal */
export declare const FileBinaryFormat$outboundSchema: z.ZodType<FileBinaryFormat$Outbound, z.ZodTypeDef, FileBinaryFormat>;
export declare function fileBinaryFormatToJSON(fileBinaryFormat: FileBinaryFormat): string;
export declare function fileBinaryFormatFromJSON(jsonString: string): SafeParseResult<FileBinaryFormat, SDKValidationError>;
/** @internal */
export declare const InvokeAgentPublicMessagePartFile$inboundSchema: z.ZodType<InvokeAgentPublicMessagePartFile, z.ZodTypeDef, unknown>;
/** @internal */
export type InvokeAgentPublicMessagePartFile$Outbound = FileBinaryFormat$Outbound | FileFileInURIFormat$Outbound;
/** @internal */
export declare const InvokeAgentPublicMessagePartFile$outboundSchema: z.ZodType<InvokeAgentPublicMessagePartFile$Outbound, z.ZodTypeDef, InvokeAgentPublicMessagePartFile>;
export declare function invokeAgentPublicMessagePartFileToJSON(invokeAgentPublicMessagePartFile: InvokeAgentPublicMessagePartFile): string;
export declare function invokeAgentPublicMessagePartFileFromJSON(jsonString: string): SafeParseResult<InvokeAgentPublicMessagePartFile, SDKValidationError>;
/** @internal */
export declare const PublicMessagePartFilePart$inboundSchema: z.ZodType<PublicMessagePartFilePart, z.ZodTypeDef, unknown>;
/** @internal */
export type PublicMessagePartFilePart$Outbound = {
    kind: string;
    file: FileBinaryFormat$Outbound | FileFileInURIFormat$Outbound;
    metadata?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const PublicMessagePartFilePart$outboundSchema: z.ZodType<PublicMessagePartFilePart$Outbound, z.ZodTypeDef, PublicMessagePartFilePart>;
export declare function publicMessagePartFilePartToJSON(publicMessagePartFilePart: PublicMessagePartFilePart): string;
export declare function publicMessagePartFilePartFromJSON(jsonString: string): SafeParseResult<PublicMessagePartFilePart, SDKValidationError>;
/** @internal */
export declare const InvokeAgentPublicMessagePart$inboundSchema: z.ZodType<InvokeAgentPublicMessagePart, z.ZodTypeDef, unknown>;
/** @internal */
export type InvokeAgentPublicMessagePart$Outbound = components.TextPart$Outbound | PublicMessagePartFilePart$Outbound | PublicMessagePartToolResultPart$Outbound;
/** @internal */
export declare const InvokeAgentPublicMessagePart$outboundSchema: z.ZodType<InvokeAgentPublicMessagePart$Outbound, z.ZodTypeDef, InvokeAgentPublicMessagePart>;
export declare function invokeAgentPublicMessagePartToJSON(invokeAgentPublicMessagePart: InvokeAgentPublicMessagePart): string;
export declare function invokeAgentPublicMessagePartFromJSON(jsonString: string): SafeParseResult<InvokeAgentPublicMessagePart, SDKValidationError>;
/** @internal */
export declare const InvokeAgentA2AMessage$inboundSchema: z.ZodType<InvokeAgentA2AMessage, z.ZodTypeDef, unknown>;
/** @internal */
export type InvokeAgentA2AMessage$Outbound = {
    messageId?: string | undefined;
    role: string | string;
    parts: Array<components.TextPart$Outbound | PublicMessagePartFilePart$Outbound | PublicMessagePartToolResultPart$Outbound>;
};
/** @internal */
export declare const InvokeAgentA2AMessage$outboundSchema: z.ZodType<InvokeAgentA2AMessage$Outbound, z.ZodTypeDef, InvokeAgentA2AMessage>;
export declare function invokeAgentA2AMessageToJSON(invokeAgentA2AMessage: InvokeAgentA2AMessage): string;
export declare function invokeAgentA2AMessageFromJSON(jsonString: string): SafeParseResult<InvokeAgentA2AMessage, SDKValidationError>;
/** @internal */
export declare const InvokeAgentContact$inboundSchema: z.ZodType<InvokeAgentContact, z.ZodTypeDef, unknown>;
/** @internal */
export type InvokeAgentContact$Outbound = {
    id: string;
    display_name?: string | undefined;
    email?: string | undefined;
    metadata?: Array<{
        [k: string]: any;
    }> | undefined;
    logo_url?: string | undefined;
    tags?: Array<string> | undefined;
};
/** @internal */
export declare const InvokeAgentContact$outboundSchema: z.ZodType<InvokeAgentContact$Outbound, z.ZodTypeDef, InvokeAgentContact>;
export declare function invokeAgentContactToJSON(invokeAgentContact: InvokeAgentContact): string;
export declare function invokeAgentContactFromJSON(jsonString: string): SafeParseResult<InvokeAgentContact, SDKValidationError>;
/** @internal */
export declare const InvokeAgentThread$inboundSchema: z.ZodType<InvokeAgentThread, z.ZodTypeDef, unknown>;
/** @internal */
export type InvokeAgentThread$Outbound = {
    id: string;
    tags?: Array<string> | undefined;
};
/** @internal */
export declare const InvokeAgentThread$outboundSchema: z.ZodType<InvokeAgentThread$Outbound, z.ZodTypeDef, InvokeAgentThread>;
export declare function invokeAgentThreadToJSON(invokeAgentThread: InvokeAgentThread): string;
export declare function invokeAgentThreadFromJSON(jsonString: string): SafeParseResult<InvokeAgentThread, SDKValidationError>;
/** @internal */
export declare const InvokeAgentMemory$inboundSchema: z.ZodType<InvokeAgentMemory, z.ZodTypeDef, unknown>;
/** @internal */
export type InvokeAgentMemory$Outbound = {
    entity_id: string;
};
/** @internal */
export declare const InvokeAgentMemory$outboundSchema: z.ZodType<InvokeAgentMemory$Outbound, z.ZodTypeDef, InvokeAgentMemory>;
export declare function invokeAgentMemoryToJSON(invokeAgentMemory: InvokeAgentMemory): string;
export declare function invokeAgentMemoryFromJSON(jsonString: string): SafeParseResult<InvokeAgentMemory, SDKValidationError>;
/** @internal */
export declare const InvokeAgentRequestBody$inboundSchema: z.ZodType<InvokeAgentRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type InvokeAgentRequestBody$Outbound = {
    task_id?: string | undefined;
    message: InvokeAgentA2AMessage$Outbound;
    variables?: {
        [k: string]: any;
    } | undefined;
    contact?: InvokeAgentContact$Outbound | undefined;
    thread?: InvokeAgentThread$Outbound | undefined;
    memory?: InvokeAgentMemory$Outbound | undefined;
    metadata?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const InvokeAgentRequestBody$outboundSchema: z.ZodType<InvokeAgentRequestBody$Outbound, z.ZodTypeDef, InvokeAgentRequestBody>;
export declare function invokeAgentRequestBodyToJSON(invokeAgentRequestBody: InvokeAgentRequestBody): string;
export declare function invokeAgentRequestBodyFromJSON(jsonString: string): SafeParseResult<InvokeAgentRequestBody, SDKValidationError>;
/** @internal */
export declare const InvokeAgentRequest$inboundSchema: z.ZodType<InvokeAgentRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type InvokeAgentRequest$Outbound = {
    key: string;
    RequestBody?: InvokeAgentRequestBody$Outbound | undefined;
};
/** @internal */
export declare const InvokeAgentRequest$outboundSchema: z.ZodType<InvokeAgentRequest$Outbound, z.ZodTypeDef, InvokeAgentRequest>;
export declare function invokeAgentRequestToJSON(invokeAgentRequest: InvokeAgentRequest): string;
export declare function invokeAgentRequestFromJSON(jsonString: string): SafeParseResult<InvokeAgentRequest, SDKValidationError>;
/** @internal */
export declare const InvokeAgentKind$inboundSchema: z.ZodNativeEnum<typeof InvokeAgentKind>;
/** @internal */
export declare const InvokeAgentKind$outboundSchema: z.ZodNativeEnum<typeof InvokeAgentKind>;
/** @internal */
export declare const TaskState$inboundSchema: z.ZodNativeEnum<typeof TaskState>;
/** @internal */
export declare const TaskState$outboundSchema: z.ZodNativeEnum<typeof TaskState>;
/** @internal */
export declare const InvokeAgentAgentsKind$inboundSchema: z.ZodNativeEnum<typeof InvokeAgentAgentsKind>;
/** @internal */
export declare const InvokeAgentAgentsKind$outboundSchema: z.ZodNativeEnum<typeof InvokeAgentAgentsKind>;
/** @internal */
export declare const ExtendedMessageRole$inboundSchema: z.ZodNativeEnum<typeof ExtendedMessageRole>;
/** @internal */
export declare const ExtendedMessageRole$outboundSchema: z.ZodNativeEnum<typeof ExtendedMessageRole>;
/** @internal */
export declare const InvokeAgentParts$inboundSchema: z.ZodType<InvokeAgentParts, z.ZodTypeDef, unknown>;
/** @internal */
export type InvokeAgentParts$Outbound = (components.ToolCallPart$Outbound & {
    kind: "tool_call";
}) | (components.TextPart$Outbound & {
    kind: "text";
}) | (components.DataPart$Outbound & {
    kind: "data";
}) | (components.FilePart$Outbound & {
    kind: "file";
}) | (components.ToolResultPart$Outbound & {
    kind: "tool_result";
});
/** @internal */
export declare const InvokeAgentParts$outboundSchema: z.ZodType<InvokeAgentParts$Outbound, z.ZodTypeDef, InvokeAgentParts>;
export declare function invokeAgentPartsToJSON(invokeAgentParts: InvokeAgentParts): string;
export declare function invokeAgentPartsFromJSON(jsonString: string): SafeParseResult<InvokeAgentParts, SDKValidationError>;
/** @internal */
export declare const TaskStatusMessage$inboundSchema: z.ZodType<TaskStatusMessage, z.ZodTypeDef, unknown>;
/** @internal */
export type TaskStatusMessage$Outbound = {
    kind: string;
    messageId: string;
    role: string;
    parts: Array<(components.ToolCallPart$Outbound & {
        kind: "tool_call";
    }) | (components.TextPart$Outbound & {
        kind: "text";
    }) | (components.DataPart$Outbound & {
        kind: "data";
    }) | (components.FilePart$Outbound & {
        kind: "file";
    }) | (components.ToolResultPart$Outbound & {
        kind: "tool_result";
    })>;
};
/** @internal */
export declare const TaskStatusMessage$outboundSchema: z.ZodType<TaskStatusMessage$Outbound, z.ZodTypeDef, TaskStatusMessage>;
export declare function taskStatusMessageToJSON(taskStatusMessage: TaskStatusMessage): string;
export declare function taskStatusMessageFromJSON(jsonString: string): SafeParseResult<TaskStatusMessage, SDKValidationError>;
/** @internal */
export declare const TaskStatus$inboundSchema: z.ZodType<TaskStatus, z.ZodTypeDef, unknown>;
/** @internal */
export type TaskStatus$Outbound = {
    state: string;
    timestamp?: string | undefined;
    message?: TaskStatusMessage$Outbound | undefined;
};
/** @internal */
export declare const TaskStatus$outboundSchema: z.ZodType<TaskStatus$Outbound, z.ZodTypeDef, TaskStatus>;
export declare function taskStatusToJSON(taskStatus: TaskStatus): string;
export declare function taskStatusFromJSON(jsonString: string): SafeParseResult<TaskStatus, SDKValidationError>;
/** @internal */
export declare const InvokeAgentA2ATaskResponse$inboundSchema: z.ZodType<InvokeAgentA2ATaskResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type InvokeAgentA2ATaskResponse$Outbound = {
    id: string;
    contextId: string;
    kind: string;
    status: TaskStatus$Outbound;
    metadata?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const InvokeAgentA2ATaskResponse$outboundSchema: z.ZodType<InvokeAgentA2ATaskResponse$Outbound, z.ZodTypeDef, InvokeAgentA2ATaskResponse>;
export declare function invokeAgentA2ATaskResponseToJSON(invokeAgentA2ATaskResponse: InvokeAgentA2ATaskResponse): string;
export declare function invokeAgentA2ATaskResponseFromJSON(jsonString: string): SafeParseResult<InvokeAgentA2ATaskResponse, SDKValidationError>;
//# sourceMappingURL=invokeagent.d.ts.map