import * as z from "zod/mini"; /** * The status of a task. */ export declare const TaskStatusSchema: z.ZodMiniEnum<{ working: "working"; input_required: "input_required"; completed: "completed"; failed: "failed"; cancelled: "cancelled"; }>; /** * Metadata for augmenting a request with task execution. */ export declare const TaskMetadataSchema: z.ZodMiniObject<{ ttl: z.ZodMiniOptional>; }, z.core.$loose>; /** * Metadata for associating messages with a task. */ export declare const RelatedTaskMetadataSchema: z.ZodMiniObject<{ taskId: z.ZodMiniString; }, z.core.$loose>; /** * Data associated with a task. */ export declare const TaskSchema: z.ZodMiniObject<{ taskId: z.ZodMiniString; status: z.ZodMiniEnum<{ working: "working"; input_required: "input_required"; completed: "completed"; failed: "failed"; cancelled: "cancelled"; }>; statusMessage: z.ZodMiniOptional>; createdAt: z.ZodMiniString; lastUpdatedAt: z.ZodMiniString; ttl: z.ZodMiniUnion, z.ZodMiniNull]>; pollInterval: z.ZodMiniOptional>; }, z.core.$loose>; /** * A response to a task-augmented request. */ export declare const CreateTaskResultSchema: z.ZodMiniObject<{ _meta: z.ZodMiniOptional>; task: z.ZodMiniObject<{ taskId: z.ZodMiniString; status: z.ZodMiniEnum<{ working: "working"; input_required: "input_required"; completed: "completed"; failed: "failed"; cancelled: "cancelled"; }>; statusMessage: z.ZodMiniOptional>; createdAt: z.ZodMiniString; lastUpdatedAt: z.ZodMiniString; ttl: z.ZodMiniUnion, z.ZodMiniNull]>; pollInterval: z.ZodMiniOptional>; }, z.core.$loose>; }, z.core.$loose>; /** * A request to retrieve the state of a task. */ export declare const GetTaskRequestSchema: z.ZodMiniObject<{ method: z.ZodMiniLiteral<"tasks/get">; params: z.ZodMiniObject<{ taskId: z.ZodMiniString; }, z.core.$strip>; }, z.core.$strip>; /** * The response to a tasks/get request. */ export declare const GetTaskResultSchema: z.ZodMiniObject<{ _meta: z.ZodMiniOptional>; taskId: z.ZodMiniString; status: z.ZodMiniEnum<{ working: "working"; input_required: "input_required"; completed: "completed"; failed: "failed"; cancelled: "cancelled"; }>; statusMessage: z.ZodMiniOptional>; createdAt: z.ZodMiniString; lastUpdatedAt: z.ZodMiniString; ttl: z.ZodMiniUnion, z.ZodMiniNull]>; pollInterval: z.ZodMiniOptional>; }, z.core.$loose>; /** * A request to retrieve the result of a completed task. */ export declare const GetTaskPayloadRequestSchema: z.ZodMiniObject<{ method: z.ZodMiniLiteral<"tasks/result">; params: z.ZodMiniObject<{ taskId: z.ZodMiniString; }, z.core.$strip>; }, z.core.$strip>; /** * The response to a tasks/result request. */ export declare const GetTaskPayloadResultSchema: z.ZodMiniObject<{ _meta: z.ZodMiniOptional>; }, z.core.$loose>; /** * A request to cancel a task. */ export declare const CancelTaskRequestSchema: z.ZodMiniObject<{ method: z.ZodMiniLiteral<"tasks/cancel">; params: z.ZodMiniObject<{ taskId: z.ZodMiniString; }, z.core.$strip>; }, z.core.$strip>; /** * The response to a tasks/cancel request. */ export declare const CancelTaskResultSchema: z.ZodMiniObject<{ _meta: z.ZodMiniOptional>; taskId: z.ZodMiniString; status: z.ZodMiniEnum<{ working: "working"; input_required: "input_required"; completed: "completed"; failed: "failed"; cancelled: "cancelled"; }>; statusMessage: z.ZodMiniOptional>; createdAt: z.ZodMiniString; lastUpdatedAt: z.ZodMiniString; ttl: z.ZodMiniUnion, z.ZodMiniNull]>; pollInterval: z.ZodMiniOptional>; }, z.core.$loose>; /** * A request to retrieve a list of tasks. */ export declare const ListTasksRequestSchema: z.ZodMiniObject<{ params: z.ZodMiniOptional, z.ZodMiniNumberFormat]>>; }, z.core.$loose>>; cursor: z.ZodMiniOptional>; }, z.core.$loose>>; method: z.ZodMiniLiteral<"tasks/list">; }, z.core.$strip>; /** * The response to a tasks/list request. */ export declare const ListTasksResultSchema: z.ZodMiniObject<{ _meta: z.ZodMiniOptional>; nextCursor: z.ZodMiniOptional>; tasks: z.ZodMiniArray; status: z.ZodMiniEnum<{ working: "working"; input_required: "input_required"; completed: "completed"; failed: "failed"; cancelled: "cancelled"; }>; statusMessage: z.ZodMiniOptional>; createdAt: z.ZodMiniString; lastUpdatedAt: z.ZodMiniString; ttl: z.ZodMiniUnion, z.ZodMiniNull]>; pollInterval: z.ZodMiniOptional>; }, z.core.$loose>>; }, z.core.$loose>; /** * An optional notification from the receiver to the requestor, informing them * that a task's status has changed. */ export declare const TaskStatusNotificationSchema: z.ZodMiniObject<{ method: z.ZodMiniLiteral<"notifications/tasks/status">; params: z.ZodMiniObject<{ _meta: z.ZodMiniOptional>; taskId: z.ZodMiniString; status: z.ZodMiniEnum<{ working: "working"; input_required: "input_required"; completed: "completed"; failed: "failed"; cancelled: "cancelled"; }>; statusMessage: z.ZodMiniOptional>; createdAt: z.ZodMiniString; lastUpdatedAt: z.ZodMiniString; ttl: z.ZodMiniUnion, z.ZodMiniNull]>; pollInterval: z.ZodMiniOptional>; }, z.core.$loose>; }, z.core.$strip>;