import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type GetAgentTaskRequest = {
    agentKey: string;
    taskId: string;
};
export declare const GetAgentTaskKind: {
    readonly Task: "task";
};
export type GetAgentTaskKind = ClosedEnum<typeof GetAgentTaskKind>;
export type GetAgentTaskStatus = {
    state: string;
    timestamp?: string | undefined;
    message?: any | undefined;
};
/**
 * Agent task retrieved
 */
export type GetAgentTaskResponseBody = {
    id: string;
    contextId: string;
    kind: GetAgentTaskKind;
    status: GetAgentTaskStatus;
    history: Array<any>;
    artifacts?: Array<any> | undefined;
    metadata?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const GetAgentTaskRequest$inboundSchema: z.ZodType<GetAgentTaskRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAgentTaskRequest$Outbound = {
    agent_key: string;
    task_id: string;
};
/** @internal */
export declare const GetAgentTaskRequest$outboundSchema: z.ZodType<GetAgentTaskRequest$Outbound, z.ZodTypeDef, GetAgentTaskRequest>;
export declare function getAgentTaskRequestToJSON(getAgentTaskRequest: GetAgentTaskRequest): string;
export declare function getAgentTaskRequestFromJSON(jsonString: string): SafeParseResult<GetAgentTaskRequest, SDKValidationError>;
/** @internal */
export declare const GetAgentTaskKind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskKind>;
/** @internal */
export declare const GetAgentTaskKind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskKind>;
/** @internal */
export declare const GetAgentTaskStatus$inboundSchema: z.ZodType<GetAgentTaskStatus, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAgentTaskStatus$Outbound = {
    state: string;
    timestamp?: string | undefined;
    message?: any | undefined;
};
/** @internal */
export declare const GetAgentTaskStatus$outboundSchema: z.ZodType<GetAgentTaskStatus$Outbound, z.ZodTypeDef, GetAgentTaskStatus>;
export declare function getAgentTaskStatusToJSON(getAgentTaskStatus: GetAgentTaskStatus): string;
export declare function getAgentTaskStatusFromJSON(jsonString: string): SafeParseResult<GetAgentTaskStatus, SDKValidationError>;
/** @internal */
export declare const GetAgentTaskResponseBody$inboundSchema: z.ZodType<GetAgentTaskResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAgentTaskResponseBody$Outbound = {
    id: string;
    contextId: string;
    kind: string;
    status: GetAgentTaskStatus$Outbound;
    history: Array<any>;
    artifacts?: Array<any> | undefined;
    metadata?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const GetAgentTaskResponseBody$outboundSchema: z.ZodType<GetAgentTaskResponseBody$Outbound, z.ZodTypeDef, GetAgentTaskResponseBody>;
export declare function getAgentTaskResponseBodyToJSON(getAgentTaskResponseBody: GetAgentTaskResponseBody): string;
export declare function getAgentTaskResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAgentTaskResponseBody, SDKValidationError>;
//# sourceMappingURL=getagenttask.d.ts.map