import { z } from 'zod'; import { type CapabilityDispatcher } from '../../capabilities/runtime/dispatcher.js'; export declare const TaskEditOutputSchema: z.ZodObject<{ ok: z.ZodLiteral; task: z.ZodObject<{ id: z.ZodString; title: z.ZodString; body: z.ZodOptional; phase: z.ZodEnum<{ backlog: "backlog"; ready: "ready"; active: "active"; review: "review"; closed: "closed"; }>; resolution: z.ZodOptional>; priority: z.ZodEnum<{ low: "low"; normal: "normal"; high: "high"; critical: "critical"; }>; dueAt: z.ZodOptional; projectId: z.ZodOptional; milestoneId: z.ZodOptional; parentTaskId: z.ZodOptional; ownerId: z.ZodOptional; delegateAgentId: z.ZodOptional; source: z.ZodString; locale: z.ZodOptional>; latestContractVersion: z.ZodNumber; boardRank: z.ZodDefault; version: z.ZodNumber; contract: z.ZodOptional; acceptanceCriteria: z.ZodArray; constraints: z.ZodArray; approvalRequired: z.ZodArray; assumptions: z.ZodArray; risks: z.ZodArray; acceptancePolicy: z.ZodEnum<{ verified_auto: "verified_auto"; verified_then_review: "verified_then_review"; manual: "manual"; }>; outputDestinations: z.ZodArray>; createdBy: z.ZodObject<{ kind: z.ZodEnum<{ user: "user"; agent: "agent"; system: "system"; integration: "integration"; }>; id: z.ZodOptional; }, z.core.$strip>; createdAt: z.ZodNumber; }, z.core.$strip>>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; closedAt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export declare const TaskDeleteOutputSchema: z.ZodUnion; task: z.ZodObject<{ id: z.ZodString; title: z.ZodString; body: z.ZodOptional; phase: z.ZodEnum<{ backlog: "backlog"; ready: "ready"; active: "active"; review: "review"; closed: "closed"; }>; resolution: z.ZodOptional>; priority: z.ZodEnum<{ low: "low"; normal: "normal"; high: "high"; critical: "critical"; }>; dueAt: z.ZodOptional; projectId: z.ZodOptional; milestoneId: z.ZodOptional; parentTaskId: z.ZodOptional; ownerId: z.ZodOptional; delegateAgentId: z.ZodOptional; source: z.ZodString; locale: z.ZodOptional>; latestContractVersion: z.ZodNumber; boardRank: z.ZodDefault; version: z.ZodNumber; contract: z.ZodOptional; acceptanceCriteria: z.ZodArray; constraints: z.ZodArray; approvalRequired: z.ZodArray; assumptions: z.ZodArray; risks: z.ZodArray; acceptancePolicy: z.ZodEnum<{ verified_auto: "verified_auto"; verified_then_review: "verified_then_review"; manual: "manual"; }>; outputDestinations: z.ZodArray>; createdBy: z.ZodObject<{ kind: z.ZodEnum<{ user: "user"; agent: "agent"; system: "system"; integration: "integration"; }>; id: z.ZodOptional; }, z.core.$strip>; createdAt: z.ZodNumber; }, z.core.$strip>>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; closedAt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ ok: z.ZodLiteral; reason: z.ZodLiteral<"not_found">; }, z.core.$strip>, z.ZodObject<{ ok: z.ZodLiteral; reason: z.ZodLiteral<"active_run">; run: z.ZodObject<{ id: z.ZodString; taskId: z.ZodString; rootRunId: z.ZodString; parentRunId: z.ZodOptional; attempt: z.ZodNumber; status: z.ZodEnum<{ failed: "failed"; succeeded: "succeeded"; waiting: "waiting"; cancelled: "cancelled"; queued: "queued"; running: "running"; verifying: "verifying"; }>; executorKind: z.ZodEnum<{ agent: "agent"; workflow: "workflow"; human: "human"; external: "external"; }>; executorRef: z.ZodRecord; trigger: z.ZodRecord; correlationId: z.ZodString; causationId: z.ZodOptional; idempotencyKey: z.ZodString; contractVersion: z.ZodNumber; contextSnapshotId: z.ZodOptional; policySnapshot: z.ZodOptional>; conversationId: z.ZodOptional; queuedAt: z.ZodNumber; scheduledAt: z.ZodOptional; startedAt: z.ZodOptional; heartbeatAt: z.ZodOptional; completedAt: z.ZodOptional; timeoutAt: z.ZodOptional; leaseOwner: z.ZodOptional; leaseExpiresAt: z.ZodOptional; retryPolicy: z.ZodRecord; retryOfRunId: z.ZodOptional; terminalCode: z.ZodOptional; terminalMessage: z.ZodOptional; version: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; export declare function registerTaskManagementCapabilities(dispatcher: CapabilityDispatcher, wake?: (runs: boolean) => void): void;