import { z } from "zod"; import { ISSUE_STATUSES } from "../constants.js"; export declare const issueBlockedInboxStateSchema: z.ZodEnum<["needs_attention", "awaiting_decision", "external_wait", "recovery_open", "missing_disposition"]>; export declare const issueBlockedInboxSeveritySchema: z.ZodEnum<["critical", "high", "medium", "low"]>; export declare const issueBlockedInboxReasonSchema: z.ZodEnum<["blocked_by_unassigned_issue", "blocked_by_assigned_backlog_issue", "blocked_by_uninvokable_assignee", "blocked_by_cancelled_issue", "blocked_chain_stalled", "invalid_review_participant", "in_review_without_action_path", "missing_successful_run_disposition", "pending_board_decision", "pending_user_decision", "external_owner_action", "open_recovery_issue"]>; export declare const issueBlockedInboxIssueRefSchema: z.ZodObject<{ id: z.ZodString; identifier: z.ZodNullable; title: z.ZodString; status: z.ZodEnum<["backlog", "todo", "in_progress", "in_review", "done", "blocked", "cancelled"]>; priority: z.ZodEnum<["critical", "high", "medium", "low"]>; assigneeAgentId: z.ZodNullable; assigneeUserId: z.ZodNullable; }, "strict", z.ZodTypeAny, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; id: string; identifier: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; assigneeUserId: string | null; }, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; id: string; identifier: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; assigneeUserId: string | null; }>; export declare const issueBlockedInboxAttentionSchema: z.ZodObject<{ kind: z.ZodLiteral<"blocked">; state: z.ZodEnum<["needs_attention", "awaiting_decision", "external_wait", "recovery_open", "missing_disposition"]>; reason: z.ZodEnum<["blocked_by_unassigned_issue", "blocked_by_assigned_backlog_issue", "blocked_by_uninvokable_assignee", "blocked_by_cancelled_issue", "blocked_chain_stalled", "invalid_review_participant", "in_review_without_action_path", "missing_successful_run_disposition", "pending_board_decision", "pending_user_decision", "external_owner_action", "open_recovery_issue"]>; severity: z.ZodEnum<["critical", "high", "medium", "low"]>; stoppedSinceAt: z.ZodNullable; owner: z.ZodObject<{ type: z.ZodEnum<["agent", "user", "board", "external", "unknown"]>; agentId: z.ZodNullable; userId: z.ZodNullable; label: z.ZodNullable; }, "strict", z.ZodTypeAny, { label: string | null; type: "user" | "agent" | "board" | "unknown" | "external"; agentId: string | null; userId: string | null; }, { label: string | null; type: "user" | "agent" | "board" | "unknown" | "external"; agentId: string | null; userId: string | null; }>; action: z.ZodObject<{ label: z.ZodString; detail: z.ZodNullable; }, "strict", z.ZodTypeAny, { label: string; detail: string | null; }, { label: string; detail: string | null; }>; sourceIssue: z.ZodNullable; title: z.ZodString; status: z.ZodEnum<["backlog", "todo", "in_progress", "in_review", "done", "blocked", "cancelled"]>; priority: z.ZodEnum<["critical", "high", "medium", "low"]>; assigneeAgentId: z.ZodNullable; assigneeUserId: z.ZodNullable; }, "strict", z.ZodTypeAny, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; id: string; identifier: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; assigneeUserId: string | null; }, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; id: string; identifier: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; assigneeUserId: string | null; }>>; leafIssue: z.ZodNullable; title: z.ZodString; status: z.ZodEnum<["backlog", "todo", "in_progress", "in_review", "done", "blocked", "cancelled"]>; priority: z.ZodEnum<["critical", "high", "medium", "low"]>; assigneeAgentId: z.ZodNullable; assigneeUserId: z.ZodNullable; }, "strict", z.ZodTypeAny, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; id: string; identifier: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; assigneeUserId: string | null; }, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; id: string; identifier: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; assigneeUserId: string | null; }>>; recoveryIssue: z.ZodNullable; title: z.ZodString; status: z.ZodEnum<["backlog", "todo", "in_progress", "in_review", "done", "blocked", "cancelled"]>; priority: z.ZodEnum<["critical", "high", "medium", "low"]>; assigneeAgentId: z.ZodNullable; assigneeUserId: z.ZodNullable; }, "strict", z.ZodTypeAny, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; id: string; identifier: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; assigneeUserId: string | null; }, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; id: string; identifier: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; assigneeUserId: string | null; }>>; approvalId: z.ZodNullable; interactionId: z.ZodNullable; sampleIssueIdentifier: z.ZodNullable; redaction: z.ZodObject<{ externalDetailsRedacted: z.ZodBoolean; secretFieldsOmitted: z.ZodLiteral; }, "strict", z.ZodTypeAny, { externalDetailsRedacted: boolean; secretFieldsOmitted: true; }, { externalDetailsRedacted: boolean; secretFieldsOmitted: true; }>; }, "strict", z.ZodTypeAny, { owner: { label: string | null; type: "user" | "agent" | "board" | "unknown" | "external"; agentId: string | null; userId: string | null; }; kind: "blocked"; reason: "blocked_by_unassigned_issue" | "blocked_by_assigned_backlog_issue" | "blocked_by_uninvokable_assignee" | "blocked_by_cancelled_issue" | "blocked_chain_stalled" | "invalid_review_participant" | "in_review_without_action_path" | "missing_successful_run_disposition" | "pending_board_decision" | "pending_user_decision" | "external_owner_action" | "open_recovery_issue"; state: "missing_disposition" | "needs_attention" | "awaiting_decision" | "external_wait" | "recovery_open"; action: { label: string; detail: string | null; }; severity: "critical" | "high" | "medium" | "low"; stoppedSinceAt: string | null; sourceIssue: { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; id: string; identifier: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; assigneeUserId: string | null; } | null; leafIssue: { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; id: string; identifier: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; assigneeUserId: string | null; } | null; recoveryIssue: { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; id: string; identifier: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; assigneeUserId: string | null; } | null; approvalId: string | null; interactionId: string | null; sampleIssueIdentifier: string | null; redaction: { externalDetailsRedacted: boolean; secretFieldsOmitted: true; }; }, { owner: { label: string | null; type: "user" | "agent" | "board" | "unknown" | "external"; agentId: string | null; userId: string | null; }; kind: "blocked"; reason: "blocked_by_unassigned_issue" | "blocked_by_assigned_backlog_issue" | "blocked_by_uninvokable_assignee" | "blocked_by_cancelled_issue" | "blocked_chain_stalled" | "invalid_review_participant" | "in_review_without_action_path" | "missing_successful_run_disposition" | "pending_board_decision" | "pending_user_decision" | "external_owner_action" | "open_recovery_issue"; state: "missing_disposition" | "needs_attention" | "awaiting_decision" | "external_wait" | "recovery_open"; action: { label: string; detail: string | null; }; severity: "critical" | "high" | "medium" | "low"; stoppedSinceAt: string | null; sourceIssue: { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; id: string; identifier: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; assigneeUserId: string | null; } | null; leafIssue: { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; id: string; identifier: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; assigneeUserId: string | null; } | null; recoveryIssue: { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; id: string; identifier: string | null; priority: "critical" | "high" | "medium" | "low"; assigneeAgentId: string | null; assigneeUserId: string | null; } | null; approvalId: string | null; interactionId: string | null; sampleIssueIdentifier: string | null; redaction: { externalDetailsRedacted: boolean; secretFieldsOmitted: true; }; }>; export declare const ISSUE_EXECUTION_WORKSPACE_PREFERENCES: readonly ["inherit", "shared_workspace", "isolated_workspace", "operator_branch", "reuse_existing", "agent_default"]; export declare const issueExecutionWorkspaceSettingsSchema: z.ZodObject<{ mode: z.ZodOptional>; environmentId: z.ZodNullable>; workspaceStrategy: z.ZodNullable>; baseRef: z.ZodNullable>; branchTemplate: z.ZodNullable>; worktreeParentDir: z.ZodNullable>; provisionCommand: z.ZodNullable>; teardownCommand: z.ZodNullable>; }, "strict", z.ZodTypeAny, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; }, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; }>>>; workspaceRuntime: z.ZodNullable>>; }, "strict", z.ZodTypeAny, { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; }, { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; }>; export declare const issueAssigneeAdapterOverridesSchema: z.ZodObject<{ modelProfile: z.ZodOptional>; adapterConfig: z.ZodOptional>; useProjectWorkspace: z.ZodOptional; }, "strict", z.ZodTypeAny, { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }, { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }>; export declare const issueExecutionStagePrincipalSchema: z.ZodEffects; agentId: z.ZodNullable>; userId: z.ZodNullable>; }, "strip", z.ZodTypeAny, { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; }>, { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; }>; export declare const issueExecutionStageParticipantSchema: z.ZodEffects; agentId: z.ZodNullable>; userId: z.ZodNullable>; } & { id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>; export declare const issueExecutionStageSchema: z.ZodObject<{ id: z.ZodOptional; type: z.ZodEnum<["review", "approval"]>; approvalsNeeded: z.ZodDefault>>; participants: z.ZodDefault; agentId: z.ZodNullable>; userId: z.ZodNullable>; } & { id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }, { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }>; export declare const issueExecutionMonitorPolicySchema: z.ZodObject<{ nextCheckAt: z.ZodString; notes: z.ZodDefault>>; scheduledBy: z.ZodDefault>>; kind: z.ZodDefault>>>; serviceName: z.ZodDefault>>; externalRef: z.ZodDefault>>; timeoutAt: z.ZodDefault>>; maxAttempts: z.ZodDefault>>; recoveryPolicy: z.ZodDefault>>>; }, "strip", z.ZodTypeAny, { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; }, { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; }>; export declare const issueExecutionPolicySchema: z.ZodObject<{ mode: z.ZodDefault>>; commentRequired: z.ZodDefault>; stages: z.ZodDefault; type: z.ZodEnum<["review", "approval"]>; approvalsNeeded: z.ZodDefault>>; participants: z.ZodDefault; agentId: z.ZodNullable>; userId: z.ZodNullable>; } & { id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }, { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }>, "many">>; monitor: z.ZodNullable>>; scheduledBy: z.ZodDefault>>; kind: z.ZodDefault>>>; serviceName: z.ZodDefault>>; externalRef: z.ZodDefault>>; timeoutAt: z.ZodDefault>>; maxAttempts: z.ZodDefault>>; recoveryPolicy: z.ZodDefault>>>; }, "strip", z.ZodTypeAny, { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; }, { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; }>>>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, "strip", z.ZodTypeAny, { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; }, { reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; mode?: "auto" | "normal" | undefined; commentRequired?: boolean | undefined; stages?: { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }[] | undefined; monitor?: { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; } | null | undefined; }>; export declare const issueExecutionMonitorStateSchema: z.ZodObject<{ status: z.ZodEnum<["scheduled", "triggered", "cleared"]>; nextCheckAt: z.ZodNullable; lastTriggeredAt: z.ZodNullable; attemptCount: z.ZodDefault; notes: z.ZodNullable; scheduledBy: z.ZodNullable>; kind: z.ZodDefault>>>; serviceName: z.ZodDefault>>; externalRef: z.ZodDefault>>; timeoutAt: z.ZodDefault>>; maxAttempts: z.ZodDefault>>; recoveryPolicy: z.ZodDefault>>>; clearedAt: z.ZodNullable; clearReason: z.ZodNullable>; }, "strip", z.ZodTypeAny, { status: "scheduled" | "triggered" | "cleared"; kind: "external_service" | null; serviceName: string | null; nextCheckAt: string | null; notes: string | null; scheduledBy: "board" | "assignee" | null; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; lastTriggeredAt: string | null; attemptCount: number; clearedAt: string | null; clearReason: "done" | "cancelled" | "manual" | "triggered" | "invalid_status" | "invalid_assignee" | "dispatch_skipped" | "timeout_exceeded" | "max_attempts_exhausted" | null; }, { status: "scheduled" | "triggered" | "cleared"; nextCheckAt: string | null; notes: string | null; scheduledBy: "board" | "assignee" | null; lastTriggeredAt: string | null; clearedAt: string | null; clearReason: "done" | "cancelled" | "manual" | "triggered" | "invalid_status" | "invalid_assignee" | "dispatch_skipped" | "timeout_exceeded" | "max_attempts_exhausted" | null; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; attemptCount?: number | undefined; }>; export declare const issueReviewRequestSchema: z.ZodObject<{ instructions: z.ZodString; }, "strict", z.ZodTypeAny, { instructions: string; }, { instructions: string; }>; export declare const issueExecutionStateSchema: z.ZodObject<{ status: z.ZodEnum<["idle", "pending", "changes_requested", "completed"]>; currentStageId: z.ZodNullable; currentStageIndex: z.ZodNullable; currentStageType: z.ZodNullable>; currentParticipant: z.ZodNullable; agentId: z.ZodNullable>; userId: z.ZodNullable>; }, "strip", z.ZodTypeAny, { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; }>, { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; }>>; returnAssignee: z.ZodNullable; agentId: z.ZodNullable>; userId: z.ZodNullable>; }, "strip", z.ZodTypeAny, { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; }>, { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; }>>; reviewRequest: z.ZodDefault>>>; completedStageIds: z.ZodDefault>; lastDecisionId: z.ZodNullable; lastDecisionOutcome: z.ZodNullable>; monitor: z.ZodNullable; nextCheckAt: z.ZodNullable; lastTriggeredAt: z.ZodNullable; attemptCount: z.ZodDefault; notes: z.ZodNullable; scheduledBy: z.ZodNullable>; kind: z.ZodDefault>>>; serviceName: z.ZodDefault>>; externalRef: z.ZodDefault>>; timeoutAt: z.ZodDefault>>; maxAttempts: z.ZodDefault>>; recoveryPolicy: z.ZodDefault>>>; clearedAt: z.ZodNullable; clearReason: z.ZodNullable>; }, "strip", z.ZodTypeAny, { status: "scheduled" | "triggered" | "cleared"; kind: "external_service" | null; serviceName: string | null; nextCheckAt: string | null; notes: string | null; scheduledBy: "board" | "assignee" | null; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; lastTriggeredAt: string | null; attemptCount: number; clearedAt: string | null; clearReason: "done" | "cancelled" | "manual" | "triggered" | "invalid_status" | "invalid_assignee" | "dispatch_skipped" | "timeout_exceeded" | "max_attempts_exhausted" | null; }, { status: "scheduled" | "triggered" | "cleared"; nextCheckAt: string | null; notes: string | null; scheduledBy: "board" | "assignee" | null; lastTriggeredAt: string | null; clearedAt: string | null; clearReason: "done" | "cancelled" | "manual" | "triggered" | "invalid_status" | "invalid_assignee" | "dispatch_skipped" | "timeout_exceeded" | "max_attempts_exhausted" | null; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; attemptCount?: number | undefined; }>>>; }, "strip", z.ZodTypeAny, { status: "idle" | "pending" | "changes_requested" | "completed"; currentStageId: string | null; currentStageIndex: number | null; currentStageType: "review" | "approval" | null; currentParticipant: { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; } | null; returnAssignee: { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; } | null; reviewRequest: { instructions: string; } | null; completedStageIds: string[]; lastDecisionId: string | null; lastDecisionOutcome: "changes_requested" | "approved" | null; monitor?: { status: "scheduled" | "triggered" | "cleared"; kind: "external_service" | null; serviceName: string | null; nextCheckAt: string | null; notes: string | null; scheduledBy: "board" | "assignee" | null; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; lastTriggeredAt: string | null; attemptCount: number; clearedAt: string | null; clearReason: "done" | "cancelled" | "manual" | "triggered" | "invalid_status" | "invalid_assignee" | "dispatch_skipped" | "timeout_exceeded" | "max_attempts_exhausted" | null; } | null | undefined; }, { status: "idle" | "pending" | "changes_requested" | "completed"; currentStageId: string | null; currentStageIndex: number | null; currentStageType: "review" | "approval" | null; currentParticipant: { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; } | null; returnAssignee: { type: "user" | "agent"; agentId?: string | null | undefined; userId?: string | null | undefined; } | null; lastDecisionId: string | null; lastDecisionOutcome: "changes_requested" | "approved" | null; monitor?: { status: "scheduled" | "triggered" | "cleared"; nextCheckAt: string | null; notes: string | null; scheduledBy: "board" | "assignee" | null; lastTriggeredAt: string | null; clearedAt: string | null; clearReason: "done" | "cancelled" | "manual" | "triggered" | "invalid_status" | "invalid_assignee" | "dispatch_skipped" | "timeout_exceeded" | "max_attempts_exhausted" | null; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; attemptCount?: number | undefined; } | null | undefined; reviewRequest?: { instructions: string; } | null | undefined; completedStageIds?: string[] | undefined; }>; export declare const issueRecoveryActionReadModelSchema: z.ZodObject<{ id: z.ZodString; companyId: z.ZodString; sourceIssueId: z.ZodString; recoveryIssueId: z.ZodNullable; kind: z.ZodEnum<["missing_disposition", "stranded_assigned_issue", "workspace_validation", "active_run_watchdog", "issue_graph_liveness"]>; status: z.ZodEnum<["active", "escalated", "resolved", "cancelled"]>; ownerType: z.ZodEnum<["agent", "user", "board", "system"]>; ownerAgentId: z.ZodNullable; ownerUserId: z.ZodNullable; previousOwnerAgentId: z.ZodNullable; returnOwnerAgentId: z.ZodNullable; cause: z.ZodString; fingerprint: z.ZodString; evidence: z.ZodRecord; nextAction: z.ZodString; wakePolicy: z.ZodNullable>; monitorPolicy: z.ZodNullable>; attemptCount: z.ZodNumber; maxAttempts: z.ZodNullable; timeoutAt: z.ZodNullable>; lastAttemptAt: z.ZodNullable>; outcome: z.ZodNullable>; resolutionNote: z.ZodNullable; resolvedAt: z.ZodNullable>; createdAt: z.ZodUnion<[z.ZodDate, z.ZodString]>; updatedAt: z.ZodUnion<[z.ZodDate, z.ZodString]>; }, "strip", z.ZodTypeAny, { fingerprint: string; companyId: string; status: "active" | "cancelled" | "escalated" | "resolved"; kind: "missing_disposition" | "stranded_assigned_issue" | "workspace_validation" | "active_run_watchdog" | "issue_graph_liveness"; id: string; createdAt: string | Date; updatedAt: string | Date; resolvedAt: string | Date | null; ownerAgentId: string | null; sourceIssueId: string; timeoutAt: string | Date | null; maxAttempts: number | null; attemptCount: number; recoveryIssueId: string | null; ownerType: "user" | "agent" | "system" | "board"; ownerUserId: string | null; previousOwnerAgentId: string | null; returnOwnerAgentId: string | null; cause: string; evidence: Record; nextAction: string; wakePolicy: Record | null; monitorPolicy: Record | null; lastAttemptAt: string | Date | null; outcome: "blocked" | "cancelled" | "escalated" | "restored" | "delegated" | "false_positive" | null; resolutionNote: string | null; }, { fingerprint: string; companyId: string; status: "active" | "cancelled" | "escalated" | "resolved"; kind: "missing_disposition" | "stranded_assigned_issue" | "workspace_validation" | "active_run_watchdog" | "issue_graph_liveness"; id: string; createdAt: string | Date; updatedAt: string | Date; resolvedAt: string | Date | null; ownerAgentId: string | null; sourceIssueId: string; timeoutAt: string | Date | null; maxAttempts: number | null; attemptCount: number; recoveryIssueId: string | null; ownerType: "user" | "agent" | "system" | "board"; ownerUserId: string | null; previousOwnerAgentId: string | null; returnOwnerAgentId: string | null; cause: string; evidence: Record; nextAction: string; wakePolicy: Record | null; monitorPolicy: Record | null; lastAttemptAt: string | Date | null; outcome: "blocked" | "cancelled" | "escalated" | "restored" | "delegated" | "false_positive" | null; resolutionNote: string | null; }>; export type IssueRecoveryActionReadModel = z.infer; export declare const resolveIssueRecoveryActionSchema: z.ZodEffects; outcome: z.ZodEnum<["restored", "false_positive", "blocked", "cancelled"]>; sourceIssueStatus: z.ZodEnum<["todo", "done", "in_review", "blocked"]>; resolutionNote: z.ZodNullable>>; }, "strict", z.ZodTypeAny, { outcome: "blocked" | "cancelled" | "restored" | "false_positive"; sourceIssueStatus: "todo" | "in_review" | "done" | "blocked"; resolutionNote?: string | null | undefined; actionId?: string | undefined; }, { outcome: "blocked" | "cancelled" | "restored" | "false_positive"; sourceIssueStatus: "todo" | "in_review" | "done" | "blocked"; resolutionNote?: string | null | undefined; actionId?: string | undefined; }>, { outcome: "blocked" | "cancelled" | "restored" | "false_positive"; sourceIssueStatus: "todo" | "in_review" | "done" | "blocked"; resolutionNote?: string | null | undefined; actionId?: string | undefined; }, { outcome: "blocked" | "cancelled" | "restored" | "false_positive"; sourceIssueStatus: "todo" | "in_review" | "done" | "blocked"; resolutionNote?: string | null | undefined; actionId?: string | undefined; }>; export type ResolveIssueRecoveryAction = z.infer; type IssueCreateStatusDefaultInput = { status?: unknown; assigneeAgentId?: unknown; assigneeUserId?: unknown; }; export declare function resolveCreateIssueStatusDefault(input: IssueCreateStatusDefaultInput): { status: (typeof ISSUE_STATUSES)[number]; defaulted: boolean; reason: "explicit" | "assigned_omitted_status" | "unassigned_omitted_status"; }; export declare const createIssueInputSchema: z.ZodObject<{ projectId: z.ZodNullable>; projectWorkspaceId: z.ZodNullable>; goalId: z.ZodNullable>; parentId: z.ZodNullable>; blockedByIssueIds: z.ZodOptional>; inheritExecutionWorkspaceFromIssueId: z.ZodNullable>; title: z.ZodString; description: z.ZodNullable>>; workMode: z.ZodDefault>>; priority: z.ZodDefault>>; assigneeAgentId: z.ZodNullable>; assigneeUserId: z.ZodNullable>; requestDepth: z.ZodDefault>>; billingCode: z.ZodNullable>; assigneeAdapterOverrides: z.ZodNullable>; adapterConfig: z.ZodOptional>; useProjectWorkspace: z.ZodOptional; }, "strict", z.ZodTypeAny, { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }, { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }>>>; executionPolicy: z.ZodNullable>>; commentRequired: z.ZodDefault>; stages: z.ZodDefault; type: z.ZodEnum<["review", "approval"]>; approvalsNeeded: z.ZodDefault>>; participants: z.ZodDefault; agentId: z.ZodNullable>; userId: z.ZodNullable>; } & { id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }, { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }>, "many">>; monitor: z.ZodNullable>>; scheduledBy: z.ZodDefault>>; kind: z.ZodDefault>>>; serviceName: z.ZodDefault>>; externalRef: z.ZodDefault>>; timeoutAt: z.ZodDefault>>; maxAttempts: z.ZodDefault>>; recoveryPolicy: z.ZodDefault>>>; }, "strip", z.ZodTypeAny, { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; }, { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; }>>>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, "strip", z.ZodTypeAny, { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; }, { reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; mode?: "auto" | "normal" | undefined; commentRequired?: boolean | undefined; stages?: { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }[] | undefined; monitor?: { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; } | null | undefined; }>>>; executionWorkspaceId: z.ZodNullable>; executionWorkspacePreference: z.ZodNullable>>; executionWorkspaceSettings: z.ZodNullable>; environmentId: z.ZodNullable>; workspaceStrategy: z.ZodNullable>; baseRef: z.ZodNullable>; branchTemplate: z.ZodNullable>; worktreeParentDir: z.ZodNullable>; provisionCommand: z.ZodNullable>; teardownCommand: z.ZodNullable>; }, "strict", z.ZodTypeAny, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; }, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; }>>>; workspaceRuntime: z.ZodNullable>>; }, "strict", z.ZodTypeAny, { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; }, { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; }>>>; labelIds: z.ZodOptional>; } & { status: z.ZodOptional>; }, "strip", z.ZodTypeAny, { title: string; priority: "critical" | "high" | "medium" | "low"; workMode: "standard" | "planning"; requestDepth: number; description?: string | null | undefined; status?: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled" | undefined; projectId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; blockedByIssueIds?: string[] | undefined; inheritExecutionWorkspaceFromIssueId?: string | null | undefined; billingCode?: string | null | undefined; assigneeAdapterOverrides?: { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; executionPolicy?: { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; } | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; labelIds?: string[] | undefined; }, { title: string; description?: string | null | undefined; status?: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled" | undefined; projectId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; blockedByIssueIds?: string[] | undefined; inheritExecutionWorkspaceFromIssueId?: string | null | undefined; workMode?: "standard" | "planning" | undefined; requestDepth?: number | undefined; billingCode?: string | null | undefined; assigneeAdapterOverrides?: { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; executionPolicy?: { reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; mode?: "auto" | "normal" | undefined; commentRequired?: boolean | undefined; stages?: { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }[] | undefined; monitor?: { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; } | null | undefined; } | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; labelIds?: string[] | undefined; }>; export declare const createIssueSchema: z.ZodEffects>; projectWorkspaceId: z.ZodNullable>; goalId: z.ZodNullable>; parentId: z.ZodNullable>; blockedByIssueIds: z.ZodOptional>; inheritExecutionWorkspaceFromIssueId: z.ZodNullable>; title: z.ZodString; description: z.ZodNullable>>; status: z.ZodEnum<["backlog", "todo", "in_progress", "in_review", "done", "blocked", "cancelled"]>; workMode: z.ZodDefault>>; priority: z.ZodDefault>>; assigneeAgentId: z.ZodNullable>; assigneeUserId: z.ZodNullable>; requestDepth: z.ZodDefault>>; billingCode: z.ZodNullable>; assigneeAdapterOverrides: z.ZodNullable>; adapterConfig: z.ZodOptional>; useProjectWorkspace: z.ZodOptional; }, "strict", z.ZodTypeAny, { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }, { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }>>>; executionPolicy: z.ZodNullable>>; commentRequired: z.ZodDefault>; stages: z.ZodDefault; type: z.ZodEnum<["review", "approval"]>; approvalsNeeded: z.ZodDefault>>; participants: z.ZodDefault; agentId: z.ZodNullable>; userId: z.ZodNullable>; } & { id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }, { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }>, "many">>; monitor: z.ZodNullable>>; scheduledBy: z.ZodDefault>>; kind: z.ZodDefault>>>; serviceName: z.ZodDefault>>; externalRef: z.ZodDefault>>; timeoutAt: z.ZodDefault>>; maxAttempts: z.ZodDefault>>; recoveryPolicy: z.ZodDefault>>>; }, "strip", z.ZodTypeAny, { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; }, { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; }>>>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, "strip", z.ZodTypeAny, { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; }, { reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; mode?: "auto" | "normal" | undefined; commentRequired?: boolean | undefined; stages?: { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }[] | undefined; monitor?: { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; } | null | undefined; }>>>; executionWorkspaceId: z.ZodNullable>; executionWorkspacePreference: z.ZodNullable>>; executionWorkspaceSettings: z.ZodNullable>; environmentId: z.ZodNullable>; workspaceStrategy: z.ZodNullable>; baseRef: z.ZodNullable>; branchTemplate: z.ZodNullable>; worktreeParentDir: z.ZodNullable>; provisionCommand: z.ZodNullable>; teardownCommand: z.ZodNullable>; }, "strict", z.ZodTypeAny, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; }, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; }>>>; workspaceRuntime: z.ZodNullable>>; }, "strict", z.ZodTypeAny, { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; }, { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; }>>>; labelIds: z.ZodOptional>; }, z.UnknownKeysParam, z.ZodTypeAny, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; priority: "critical" | "high" | "medium" | "low"; workMode: "standard" | "planning"; requestDepth: number; description?: string | null | undefined; projectId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; blockedByIssueIds?: string[] | undefined; inheritExecutionWorkspaceFromIssueId?: string | null | undefined; billingCode?: string | null | undefined; assigneeAdapterOverrides?: { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; executionPolicy?: { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; } | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; labelIds?: string[] | undefined; }, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; description?: string | null | undefined; projectId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; blockedByIssueIds?: string[] | undefined; inheritExecutionWorkspaceFromIssueId?: string | null | undefined; workMode?: "standard" | "planning" | undefined; requestDepth?: number | undefined; billingCode?: string | null | undefined; assigneeAdapterOverrides?: { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; executionPolicy?: { reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; mode?: "auto" | "normal" | undefined; commentRequired?: boolean | undefined; stages?: { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }[] | undefined; monitor?: { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; } | null | undefined; } | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; labelIds?: string[] | undefined; }>, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; priority: "critical" | "high" | "medium" | "low"; workMode: "standard" | "planning"; requestDepth: number; description?: string | null | undefined; projectId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; blockedByIssueIds?: string[] | undefined; inheritExecutionWorkspaceFromIssueId?: string | null | undefined; billingCode?: string | null | undefined; assigneeAdapterOverrides?: { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; executionPolicy?: { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; } | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; labelIds?: string[] | undefined; }, unknown>; export type CreateIssue = z.infer; export declare const createChildIssueSchema: z.ZodEffects>; projectWorkspaceId: z.ZodNullable>; goalId: z.ZodNullable>; parentId: z.ZodNullable>; blockedByIssueIds: z.ZodOptional>; inheritExecutionWorkspaceFromIssueId: z.ZodNullable>; title: z.ZodString; description: z.ZodNullable>>; status: z.ZodEnum<["backlog", "todo", "in_progress", "in_review", "done", "blocked", "cancelled"]>; workMode: z.ZodDefault>>; priority: z.ZodDefault>>; assigneeAgentId: z.ZodNullable>; assigneeUserId: z.ZodNullable>; requestDepth: z.ZodDefault>>; billingCode: z.ZodNullable>; assigneeAdapterOverrides: z.ZodNullable>; adapterConfig: z.ZodOptional>; useProjectWorkspace: z.ZodOptional; }, "strict", z.ZodTypeAny, { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }, { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }>>>; executionPolicy: z.ZodNullable>>; commentRequired: z.ZodDefault>; stages: z.ZodDefault; type: z.ZodEnum<["review", "approval"]>; approvalsNeeded: z.ZodDefault>>; participants: z.ZodDefault; agentId: z.ZodNullable>; userId: z.ZodNullable>; } & { id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }, { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }>, "many">>; monitor: z.ZodNullable>>; scheduledBy: z.ZodDefault>>; kind: z.ZodDefault>>>; serviceName: z.ZodDefault>>; externalRef: z.ZodDefault>>; timeoutAt: z.ZodDefault>>; maxAttempts: z.ZodDefault>>; recoveryPolicy: z.ZodDefault>>>; }, "strip", z.ZodTypeAny, { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; }, { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; }>>>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, "strip", z.ZodTypeAny, { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; }, { reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; mode?: "auto" | "normal" | undefined; commentRequired?: boolean | undefined; stages?: { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }[] | undefined; monitor?: { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; } | null | undefined; }>>>; executionWorkspaceId: z.ZodNullable>; executionWorkspacePreference: z.ZodNullable>>; executionWorkspaceSettings: z.ZodNullable>; environmentId: z.ZodNullable>; workspaceStrategy: z.ZodNullable>; baseRef: z.ZodNullable>; branchTemplate: z.ZodNullable>; worktreeParentDir: z.ZodNullable>; provisionCommand: z.ZodNullable>; teardownCommand: z.ZodNullable>; }, "strict", z.ZodTypeAny, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; }, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; }>>>; workspaceRuntime: z.ZodNullable>>; }, "strict", z.ZodTypeAny, { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; }, { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; }>>>; labelIds: z.ZodOptional>; }, "parentId" | "inheritExecutionWorkspaceFromIssueId"> & { acceptanceCriteria: z.ZodOptional>; blockParentUntilDone: z.ZodDefault>; }, z.UnknownKeysParam, z.ZodTypeAny, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; priority: "critical" | "high" | "medium" | "low"; workMode: "standard" | "planning"; requestDepth: number; blockParentUntilDone: boolean; description?: string | null | undefined; projectId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; blockedByIssueIds?: string[] | undefined; billingCode?: string | null | undefined; assigneeAdapterOverrides?: { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; executionPolicy?: { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; } | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; labelIds?: string[] | undefined; acceptanceCriteria?: string[] | undefined; }, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; description?: string | null | undefined; projectId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; blockedByIssueIds?: string[] | undefined; workMode?: "standard" | "planning" | undefined; requestDepth?: number | undefined; billingCode?: string | null | undefined; assigneeAdapterOverrides?: { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; executionPolicy?: { reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; mode?: "auto" | "normal" | undefined; commentRequired?: boolean | undefined; stages?: { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }[] | undefined; monitor?: { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; } | null | undefined; } | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; labelIds?: string[] | undefined; acceptanceCriteria?: string[] | undefined; blockParentUntilDone?: boolean | undefined; }>, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; priority: "critical" | "high" | "medium" | "low"; workMode: "standard" | "planning"; requestDepth: number; blockParentUntilDone: boolean; description?: string | null | undefined; projectId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; blockedByIssueIds?: string[] | undefined; billingCode?: string | null | undefined; assigneeAdapterOverrides?: { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; executionPolicy?: { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; } | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; labelIds?: string[] | undefined; acceptanceCriteria?: string[] | undefined; }, unknown>; export type CreateChildIssue = z.infer; export declare const createAcceptedPlanDecompositionSchema: z.ZodObject<{ acceptedPlanRevisionId: z.ZodString; children: z.ZodArray>; projectWorkspaceId: z.ZodNullable>; goalId: z.ZodNullable>; parentId: z.ZodNullable>; blockedByIssueIds: z.ZodOptional>; inheritExecutionWorkspaceFromIssueId: z.ZodNullable>; title: z.ZodString; description: z.ZodNullable>>; status: z.ZodEnum<["backlog", "todo", "in_progress", "in_review", "done", "blocked", "cancelled"]>; workMode: z.ZodDefault>>; priority: z.ZodDefault>>; assigneeAgentId: z.ZodNullable>; assigneeUserId: z.ZodNullable>; requestDepth: z.ZodDefault>>; billingCode: z.ZodNullable>; assigneeAdapterOverrides: z.ZodNullable>; adapterConfig: z.ZodOptional>; useProjectWorkspace: z.ZodOptional; }, "strict", z.ZodTypeAny, { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }, { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }>>>; executionPolicy: z.ZodNullable>>; commentRequired: z.ZodDefault>; stages: z.ZodDefault; type: z.ZodEnum<["review", "approval"]>; approvalsNeeded: z.ZodDefault>>; participants: z.ZodDefault; agentId: z.ZodNullable>; userId: z.ZodNullable>; } & { id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }, { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }>, "many">>; monitor: z.ZodNullable>>; scheduledBy: z.ZodDefault>>; kind: z.ZodDefault>>>; serviceName: z.ZodDefault>>; externalRef: z.ZodDefault>>; timeoutAt: z.ZodDefault>>; maxAttempts: z.ZodDefault>>; recoveryPolicy: z.ZodDefault>>>; }, "strip", z.ZodTypeAny, { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; }, { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; }>>>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, "strip", z.ZodTypeAny, { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; }, { reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; mode?: "auto" | "normal" | undefined; commentRequired?: boolean | undefined; stages?: { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }[] | undefined; monitor?: { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; } | null | undefined; }>>>; executionWorkspaceId: z.ZodNullable>; executionWorkspacePreference: z.ZodNullable>>; executionWorkspaceSettings: z.ZodNullable>; environmentId: z.ZodNullable>; workspaceStrategy: z.ZodNullable>; baseRef: z.ZodNullable>; branchTemplate: z.ZodNullable>; worktreeParentDir: z.ZodNullable>; provisionCommand: z.ZodNullable>; teardownCommand: z.ZodNullable>; }, "strict", z.ZodTypeAny, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; }, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; }>>>; workspaceRuntime: z.ZodNullable>>; }, "strict", z.ZodTypeAny, { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; }, { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; }>>>; labelIds: z.ZodOptional>; }, "parentId" | "inheritExecutionWorkspaceFromIssueId"> & { acceptanceCriteria: z.ZodOptional>; blockParentUntilDone: z.ZodDefault>; }, z.UnknownKeysParam, z.ZodTypeAny, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; priority: "critical" | "high" | "medium" | "low"; workMode: "standard" | "planning"; requestDepth: number; blockParentUntilDone: boolean; description?: string | null | undefined; projectId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; blockedByIssueIds?: string[] | undefined; billingCode?: string | null | undefined; assigneeAdapterOverrides?: { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; executionPolicy?: { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; } | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; labelIds?: string[] | undefined; acceptanceCriteria?: string[] | undefined; }, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; description?: string | null | undefined; projectId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; blockedByIssueIds?: string[] | undefined; workMode?: "standard" | "planning" | undefined; requestDepth?: number | undefined; billingCode?: string | null | undefined; assigneeAdapterOverrides?: { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; executionPolicy?: { reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; mode?: "auto" | "normal" | undefined; commentRequired?: boolean | undefined; stages?: { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }[] | undefined; monitor?: { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; } | null | undefined; } | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; labelIds?: string[] | undefined; acceptanceCriteria?: string[] | undefined; blockParentUntilDone?: boolean | undefined; }>, { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; priority: "critical" | "high" | "medium" | "low"; workMode: "standard" | "planning"; requestDepth: number; blockParentUntilDone: boolean; description?: string | null | undefined; projectId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; blockedByIssueIds?: string[] | undefined; billingCode?: string | null | undefined; assigneeAdapterOverrides?: { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; executionPolicy?: { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; } | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; labelIds?: string[] | undefined; acceptanceCriteria?: string[] | undefined; }, unknown>, "many">; }, "strip", z.ZodTypeAny, { acceptedPlanRevisionId: string; children: { title: string; status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; priority: "critical" | "high" | "medium" | "low"; workMode: "standard" | "planning"; requestDepth: number; blockParentUntilDone: boolean; description?: string | null | undefined; projectId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; blockedByIssueIds?: string[] | undefined; billingCode?: string | null | undefined; assigneeAdapterOverrides?: { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; executionPolicy?: { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; } | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; labelIds?: string[] | undefined; acceptanceCriteria?: string[] | undefined; }[]; }, { acceptedPlanRevisionId: string; children: unknown[]; }>; export type CreateAcceptedPlanDecomposition = z.infer; export declare const createIssueLabelSchema: z.ZodObject<{ name: z.ZodString; color: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; color: string; }, { name: string; color: string; }>; export type CreateIssueLabel = z.infer; export declare const updateIssueSchema: z.ZodObject<{ projectId: z.ZodOptional>>; projectWorkspaceId: z.ZodOptional>>; goalId: z.ZodOptional>>; parentId: z.ZodOptional>>; blockedByIssueIds: z.ZodOptional>>; inheritExecutionWorkspaceFromIssueId: z.ZodOptional>>; title: z.ZodOptional; description: z.ZodOptional>>>; status: z.ZodOptional>; workMode: z.ZodOptional>>>; priority: z.ZodOptional>>>; assigneeUserId: z.ZodOptional>>; billingCode: z.ZodOptional>>; assigneeAdapterOverrides: z.ZodOptional>; adapterConfig: z.ZodOptional>; useProjectWorkspace: z.ZodOptional; }, "strict", z.ZodTypeAny, { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }, { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }>>>>; executionPolicy: z.ZodOptional>>; commentRequired: z.ZodDefault>; stages: z.ZodDefault; type: z.ZodEnum<["review", "approval"]>; approvalsNeeded: z.ZodDefault>>; participants: z.ZodDefault; agentId: z.ZodNullable>; userId: z.ZodNullable>; } & { id: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }, { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }, { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }>, "many">>; monitor: z.ZodNullable>>; scheduledBy: z.ZodDefault>>; kind: z.ZodDefault>>>; serviceName: z.ZodDefault>>; externalRef: z.ZodDefault>>; timeoutAt: z.ZodDefault>>; maxAttempts: z.ZodDefault>>; recoveryPolicy: z.ZodDefault>>>; }, "strip", z.ZodTypeAny, { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; }, { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; }>>>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; authorizationPolicy: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, "strip", z.ZodUnknown, z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">, z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip">>>; }, "strip", z.ZodTypeAny, { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; }, { reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; mode?: "auto" | "normal" | undefined; commentRequired?: boolean | undefined; stages?: { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }[] | undefined; monitor?: { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; } | null | undefined; }>>>>; executionWorkspaceId: z.ZodOptional>>; executionWorkspacePreference: z.ZodOptional>>>; executionWorkspaceSettings: z.ZodOptional>; environmentId: z.ZodNullable>; workspaceStrategy: z.ZodNullable>; baseRef: z.ZodNullable>; branchTemplate: z.ZodNullable>; worktreeParentDir: z.ZodNullable>; provisionCommand: z.ZodNullable>; teardownCommand: z.ZodNullable>; }, "strict", z.ZodTypeAny, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; }, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; }>>>; workspaceRuntime: z.ZodNullable>>; }, "strict", z.ZodTypeAny, { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; }, { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; }>>>>; labelIds: z.ZodOptional>>; } & { requestDepth: z.ZodOptional>; assigneeAgentId: z.ZodNullable>; comment: z.ZodOptional, z.ZodString>>; reviewRequest: z.ZodNullable>>; reopen: z.ZodOptional; resume: z.ZodOptional; interrupt: z.ZodOptional; hiddenAt: z.ZodOptional>; }, "strip", z.ZodTypeAny, { resume?: boolean | undefined; title?: string | undefined; description?: string | null | undefined; comment?: string | undefined; status?: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled" | undefined; projectId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; reviewRequest?: { instructions: string; } | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; blockedByIssueIds?: string[] | undefined; inheritExecutionWorkspaceFromIssueId?: string | null | undefined; workMode?: "standard" | "planning" | undefined; requestDepth?: number | undefined; billingCode?: string | null | undefined; assigneeAdapterOverrides?: { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; executionPolicy?: { mode: "auto" | "normal"; commentRequired: boolean; stages: { type: "review" | "approval"; approvalsNeeded: 1; participants: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[]; id?: string | undefined; }[]; reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectOutputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; monitor?: { kind: "external_service" | null; serviceName: string | null; nextCheckAt: string; notes: string | null; scheduledBy: "board" | "assignee"; externalRef: string | null; timeoutAt: string | null; maxAttempts: number | null; recoveryPolicy: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null; } | null | undefined; } | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; labelIds?: string[] | undefined; reopen?: boolean | undefined; interrupt?: boolean | undefined; hiddenAt?: string | null | undefined; }, { resume?: boolean | undefined; title?: string | undefined; description?: string | null | undefined; comment?: string | undefined; status?: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled" | undefined; projectId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; reviewRequest?: { instructions: string; } | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; blockedByIssueIds?: string[] | undefined; inheritExecutionWorkspaceFromIssueId?: string | null | undefined; workMode?: "standard" | "planning" | undefined; requestDepth?: number | undefined; billingCode?: string | null | undefined; assigneeAdapterOverrides?: { modelProfile?: "cheap" | undefined; adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; executionPolicy?: { reviewPreset?: { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; } | undefined; authorizationPolicy?: z.objectInputType<{ trustPreset: z.ZodOptional>; reviewPreset: z.ZodOptional; version: z.ZodLiteral<1>; rawOutputDisposition: z.ZodLiteral<"quarantine">; }, "strict", z.ZodTypeAny, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }, { id: "low_trust_review"; version: 1; rawOutputDisposition: "quarantine"; }>>; trustBoundary: z.ZodOptional; companyId: z.ZodOptional; projectIds: z.ZodOptional>; rootIssueId: z.ZodOptional; issueIds: z.ZodOptional>; allowedAgentIds: z.ZodOptional>; allowedSecretBindingIds: z.ZodOptional>; allowedToolClasses: z.ZodOptional>; outputPromotionTarget: z.ZodOptional; issueId: z.ZodString; }, "strict", z.ZodTypeAny, { issueId: string; type: "issue"; }, { issueId: string; type: "issue"; }>>; }, "strict", z.ZodTypeAny, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }, { mode: "low_trust_review"; companyId?: string | undefined; projectIds?: string[] | undefined; rootIssueId?: string | undefined; issueIds?: string[] | undefined; allowedAgentIds?: string[] | undefined; allowedSecretBindingIds?: string[] | undefined; allowedToolClasses?: string[] | undefined; outputPromotionTarget?: { issueId: string; type: "issue"; } | undefined; }>>; }, z.ZodUnknown, "strip"> | undefined; mode?: "auto" | "normal" | undefined; commentRequired?: boolean | undefined; stages?: { type: "review" | "approval"; id?: string | undefined; approvalsNeeded?: 1 | undefined; participants?: { type: "user" | "agent"; id?: string | undefined; agentId?: string | null | undefined; userId?: string | null | undefined; }[] | undefined; }[] | undefined; monitor?: { nextCheckAt: string; kind?: "external_service" | null | undefined; serviceName?: string | null | undefined; notes?: string | null | undefined; scheduledBy?: "board" | "assignee" | undefined; externalRef?: string | null | undefined; timeoutAt?: string | null | undefined; maxAttempts?: number | null | undefined; recoveryPolicy?: "wake_owner" | "create_recovery_issue" | "escalate_to_board" | null | undefined; } | null | undefined; } | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; executionWorkspaceSettings?: { environmentId?: string | null | undefined; workspaceRuntime?: Record | null | undefined; mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; } | null | undefined; } | null | undefined; labelIds?: string[] | undefined; reopen?: boolean | undefined; interrupt?: boolean | undefined; hiddenAt?: string | null | undefined; }>; export type UpdateIssue = z.infer; export type IssueExecutionWorkspaceSettings = z.infer; export declare const checkoutIssueSchema: z.ZodObject<{ agentId: z.ZodString; expectedStatuses: z.ZodArray, "atleastone">; }, "strip", z.ZodTypeAny, { agentId: string; expectedStatuses: ["backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled", ...("backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled")[]]; }, { agentId: string; expectedStatuses: ["backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled", ...("backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled")[]]; }>; export type CheckoutIssue = z.infer; export declare const issueCommentAuthorTypeSchema: z.ZodEnum<["user", "agent", "system"]>; export declare const issueCommentPresentationSchema: z.ZodObject<{ kind: z.ZodDefault>; tone: z.ZodDefault>; title: z.ZodOptional>; detailsDefaultOpen: z.ZodDefault>; }, "strict", z.ZodTypeAny, { kind: "message" | "system_notice"; tone: "neutral" | "info" | "success" | "warning" | "danger"; detailsDefaultOpen: boolean; title?: string | null | undefined; }, { title?: string | null | undefined; kind?: "message" | "system_notice" | undefined; tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined; detailsDefaultOpen?: boolean | undefined; }>; export type IssueCommentPresentation = z.infer; export declare const issueCommentMetadataRowSchema: z.ZodEffects>; } & { type: z.ZodLiteral<"text">; text: z.ZodString; }, "strict", z.ZodTypeAny, { text: string; type: "text"; label?: string | null | undefined; }, { text: string; type: "text"; label?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"code">; code: z.ZodString; language: z.ZodOptional>; }, "strict", z.ZodTypeAny, { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; }, { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; }>, z.ZodObject<{} & { type: z.ZodLiteral<"key_value">; label: z.ZodString; value: z.ZodString; }, "strict", z.ZodTypeAny, { label: string; value: string; type: "key_value"; }, { label: string; value: string; type: "key_value"; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"issue_link">; issueId: z.ZodOptional>; identifier: z.ZodOptional>; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; }, { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"agent_link">; agentId: z.ZodString; name: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; }, { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"run_link">; runId: z.ZodString; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }, { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }>]>, { text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }, { text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }>; export declare const issueCommentMetadataSectionSchema: z.ZodObject<{ title: z.ZodOptional>; rows: z.ZodArray>; } & { type: z.ZodLiteral<"text">; text: z.ZodString; }, "strict", z.ZodTypeAny, { text: string; type: "text"; label?: string | null | undefined; }, { text: string; type: "text"; label?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"code">; code: z.ZodString; language: z.ZodOptional>; }, "strict", z.ZodTypeAny, { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; }, { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; }>, z.ZodObject<{} & { type: z.ZodLiteral<"key_value">; label: z.ZodString; value: z.ZodString; }, "strict", z.ZodTypeAny, { label: string; value: string; type: "key_value"; }, { label: string; value: string; type: "key_value"; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"issue_link">; issueId: z.ZodOptional>; identifier: z.ZodOptional>; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; }, { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"agent_link">; agentId: z.ZodString; name: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; }, { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"run_link">; runId: z.ZodString; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }, { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }>]>, { text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }, { text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }, { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }>; export declare const issueCommentMetadataSchema: z.ZodObject<{ version: z.ZodLiteral<1>; sourceRunId: z.ZodOptional>; sections: z.ZodArray>; rows: z.ZodArray>; } & { type: z.ZodLiteral<"text">; text: z.ZodString; }, "strict", z.ZodTypeAny, { text: string; type: "text"; label?: string | null | undefined; }, { text: string; type: "text"; label?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"code">; code: z.ZodString; language: z.ZodOptional>; }, "strict", z.ZodTypeAny, { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; }, { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; }>, z.ZodObject<{} & { type: z.ZodLiteral<"key_value">; label: z.ZodString; value: z.ZodString; }, "strict", z.ZodTypeAny, { label: string; value: string; type: "key_value"; }, { label: string; value: string; type: "key_value"; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"issue_link">; issueId: z.ZodOptional>; identifier: z.ZodOptional>; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; }, { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"agent_link">; agentId: z.ZodString; name: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; }, { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"run_link">; runId: z.ZodString; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }, { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }>]>, { text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }, { text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }, { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; }, { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; }>; export type IssueCommentMetadata = z.infer; export declare const addIssueCommentSchema: z.ZodObject<{ body: z.ZodPipeline, z.ZodString>; authorType: z.ZodOptional>; presentation: z.ZodOptional>; tone: z.ZodDefault>; title: z.ZodOptional>; detailsDefaultOpen: z.ZodDefault>; }, "strict", z.ZodTypeAny, { kind: "message" | "system_notice"; tone: "neutral" | "info" | "success" | "warning" | "danger"; detailsDefaultOpen: boolean; title?: string | null | undefined; }, { title?: string | null | undefined; kind?: "message" | "system_notice" | undefined; tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined; detailsDefaultOpen?: boolean | undefined; }>>>; metadata: z.ZodOptional; sourceRunId: z.ZodOptional>; sections: z.ZodArray>; rows: z.ZodArray>; } & { type: z.ZodLiteral<"text">; text: z.ZodString; }, "strict", z.ZodTypeAny, { text: string; type: "text"; label?: string | null | undefined; }, { text: string; type: "text"; label?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"code">; code: z.ZodString; language: z.ZodOptional>; }, "strict", z.ZodTypeAny, { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; }, { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; }>, z.ZodObject<{} & { type: z.ZodLiteral<"key_value">; label: z.ZodString; value: z.ZodString; }, "strict", z.ZodTypeAny, { label: string; value: string; type: "key_value"; }, { label: string; value: string; type: "key_value"; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"issue_link">; issueId: z.ZodOptional>; identifier: z.ZodOptional>; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; }, { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"agent_link">; agentId: z.ZodString; name: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; }, { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; } & { type: z.ZodLiteral<"run_link">; runId: z.ZodString; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }, { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }>]>, { text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }, { text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }, { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; }, { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; }>>>; reopen: z.ZodOptional; resume: z.ZodOptional; interrupt: z.ZodOptional; }, "strip", z.ZodTypeAny, { body: string; resume?: boolean | undefined; metadata?: { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; } | null | undefined; reopen?: boolean | undefined; interrupt?: boolean | undefined; authorType?: "user" | "agent" | "system" | undefined; presentation?: { kind: "message" | "system_notice"; tone: "neutral" | "info" | "success" | "warning" | "danger"; detailsDefaultOpen: boolean; title?: string | null | undefined; } | null | undefined; }, { body: string; resume?: boolean | undefined; metadata?: { version: 1; sections: { rows: ({ text: string; type: "text"; label?: string | null | undefined; } | { code: string; type: "code"; label?: string | null | undefined; language?: string | null | undefined; } | { label: string; value: string; type: "key_value"; } | { type: "issue_link"; title?: string | null | undefined; label?: string | null | undefined; issueId?: string | null | undefined; identifier?: string | null | undefined; } | { type: "agent_link"; agentId: string; name?: string | null | undefined; label?: string | null | undefined; } | { type: "run_link"; runId: string; title?: string | null | undefined; label?: string | null | undefined; })[]; title?: string | null | undefined; }[]; sourceRunId?: string | null | undefined; } | null | undefined; reopen?: boolean | undefined; interrupt?: boolean | undefined; authorType?: "user" | "agent" | "system" | undefined; presentation?: { title?: string | null | undefined; kind?: "message" | "system_notice" | undefined; tone?: "neutral" | "info" | "success" | "warning" | "danger" | undefined; detailsDefaultOpen?: boolean | undefined; } | null | undefined; }>; export type AddIssueComment = z.infer; export declare const issueThreadInteractionStatusSchema: z.ZodEnum<["pending", "accepted", "rejected", "answered", "cancelled", "expired", "failed"]>; export declare const issueThreadInteractionKindSchema: z.ZodEnum<["suggest_tasks", "ask_user_questions", "request_confirmation", "request_checkbox_confirmation"]>; export declare const issueThreadInteractionContinuationPolicySchema: z.ZodEnum<["none", "wake_assignee", "wake_assignee_on_accept"]>; export declare const issueDocumentKeySchema: z.ZodString; export declare const suggestedTaskDraftSchema: z.ZodEffects>; parentId: z.ZodOptional>; title: z.ZodString; description: z.ZodOptional, z.ZodString>>>; priority: z.ZodOptional>>; workMode: z.ZodOptional>>; assigneeAgentId: z.ZodOptional>; assigneeUserId: z.ZodOptional>; projectId: z.ZodOptional>; goalId: z.ZodOptional>; billingCode: z.ZodOptional>; labels: z.ZodOptional>; hiddenInPreview: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }, { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }>, { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }, { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }>; export declare const suggestTasksPayloadSchema: z.ZodEffects; defaultParentId: z.ZodOptional>; tasks: z.ZodArray>; parentId: z.ZodOptional>; title: z.ZodString; description: z.ZodOptional, z.ZodString>>>; priority: z.ZodOptional>>; workMode: z.ZodOptional>>; assigneeAgentId: z.ZodOptional>; assigneeUserId: z.ZodOptional>; projectId: z.ZodOptional>; goalId: z.ZodOptional>; billingCode: z.ZodOptional>; labels: z.ZodOptional>; hiddenInPreview: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }, { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }>, { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }, { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { version: 1; tasks: { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }[]; defaultParentId?: string | null | undefined; }, { version: 1; tasks: { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }[]; defaultParentId?: string | null | undefined; }>, { version: 1; tasks: { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }[]; defaultParentId?: string | null | undefined; }, { version: 1; tasks: { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }[]; defaultParentId?: string | null | undefined; }>; export declare const suggestTasksResultCreatedTaskSchema: z.ZodObject<{ clientKey: z.ZodString; issueId: z.ZodString; identifier: z.ZodOptional>; title: z.ZodOptional>; parentIssueId: z.ZodOptional>; parentIdentifier: z.ZodOptional>; }, "strip", z.ZodTypeAny, { issueId: string; clientKey: string; title?: string | null | undefined; identifier?: string | null | undefined; parentIssueId?: string | null | undefined; parentIdentifier?: string | null | undefined; }, { issueId: string; clientKey: string; title?: string | null | undefined; identifier?: string | null | undefined; parentIssueId?: string | null | undefined; parentIdentifier?: string | null | undefined; }>; export declare const suggestTasksResultSchema: z.ZodObject<{ version: z.ZodLiteral<1>; createdTasks: z.ZodOptional>; title: z.ZodOptional>; parentIssueId: z.ZodOptional>; parentIdentifier: z.ZodOptional>; }, "strip", z.ZodTypeAny, { issueId: string; clientKey: string; title?: string | null | undefined; identifier?: string | null | undefined; parentIssueId?: string | null | undefined; parentIdentifier?: string | null | undefined; }, { issueId: string; clientKey: string; title?: string | null | undefined; identifier?: string | null | undefined; parentIssueId?: string | null | undefined; parentIdentifier?: string | null | undefined; }>, "many">>; skippedClientKeys: z.ZodOptional>; rejectionReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: 1; createdTasks?: { issueId: string; clientKey: string; title?: string | null | undefined; identifier?: string | null | undefined; parentIssueId?: string | null | undefined; parentIdentifier?: string | null | undefined; }[] | undefined; skippedClientKeys?: string[] | undefined; rejectionReason?: string | null | undefined; }, { version: 1; createdTasks?: { issueId: string; clientKey: string; title?: string | null | undefined; identifier?: string | null | undefined; parentIssueId?: string | null | undefined; parentIdentifier?: string | null | undefined; }[] | undefined; skippedClientKeys?: string[] | undefined; rejectionReason?: string | null | undefined; }>; export declare const askUserQuestionsQuestionOptionSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | null | undefined; }, { id: string; label: string; description?: string | null | undefined; }>; export declare const askUserQuestionsQuestionSchema: z.ZodObject<{ id: z.ZodString; prompt: z.ZodString; helpText: z.ZodOptional>; selectionMode: z.ZodEnum<["single", "multi"]>; required: z.ZodOptional; options: z.ZodArray>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | null | undefined; }, { id: string; label: string; description?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }, { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }>; export declare const askUserQuestionsPayloadSchema: z.ZodEffects; title: z.ZodOptional>; submitLabel: z.ZodOptional>; questions: z.ZodArray>; selectionMode: z.ZodEnum<["single", "multi"]>; required: z.ZodOptional; options: z.ZodArray>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | null | undefined; }, { id: string; label: string; description?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }, { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { version: 1; questions: { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }[]; title?: string | null | undefined; submitLabel?: string | null | undefined; }, { version: 1; questions: { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }[]; title?: string | null | undefined; submitLabel?: string | null | undefined; }>, { version: 1; questions: { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }[]; title?: string | null | undefined; submitLabel?: string | null | undefined; }, { version: 1; questions: { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }[]; title?: string | null | undefined; submitLabel?: string | null | undefined; }>; export declare const askUserQuestionsAnswerSchema: z.ZodObject<{ questionId: z.ZodString; optionIds: z.ZodArray; otherText: z.ZodOptional, z.ZodString>>>; }, "strip", z.ZodTypeAny, { questionId: string; optionIds: string[]; otherText?: string | null | undefined; }, { questionId: string; optionIds: string[]; otherText?: string | null | undefined; }>; export declare const askUserQuestionsResultSchema: z.ZodObject<{ version: z.ZodLiteral<1>; answers: z.ZodArray; otherText: z.ZodOptional, z.ZodString>>>; }, "strip", z.ZodTypeAny, { questionId: string; optionIds: string[]; otherText?: string | null | undefined; }, { questionId: string; optionIds: string[]; otherText?: string | null | undefined; }>, "many">; cancelled: z.ZodOptional>; cancellationReason: z.ZodOptional>; summaryMarkdown: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: 1; answers: { questionId: string; optionIds: string[]; otherText?: string | null | undefined; }[]; cancelled?: true | undefined; cancellationReason?: string | null | undefined; summaryMarkdown?: string | null | undefined; }, { version: 1; answers: { questionId: string; optionIds: string[]; otherText?: string | null | undefined; }[]; cancelled?: true | undefined; cancellationReason?: string | null | undefined; summaryMarkdown?: string | null | undefined; }>; export declare const requestConfirmationIssueDocumentTargetSchema: z.ZodObject<{ label: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"issue_document">; issueId: z.ZodOptional>; documentId: z.ZodOptional>; key: z.ZodString; revisionId: z.ZodString; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }>; export declare const requestConfirmationCustomTargetSchema: z.ZodObject<{ label: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"custom">; key: z.ZodString; revisionId: z.ZodOptional>; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }>; export declare const requestConfirmationTargetSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ label: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"issue_document">; issueId: z.ZodOptional>; documentId: z.ZodOptional>; key: z.ZodString; revisionId: z.ZodString; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"custom">; key: z.ZodString; revisionId: z.ZodOptional>; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }>]>; export declare const requestConfirmationPayloadSchema: z.ZodObject<{ version: z.ZodLiteral<1>; prompt: z.ZodString; acceptLabel: z.ZodOptional>; rejectLabel: z.ZodOptional>; rejectRequiresReason: z.ZodOptional; rejectReasonLabel: z.ZodOptional>; allowDeclineReason: z.ZodDefault>; declineReasonPlaceholder: z.ZodOptional>; detailsMarkdown: z.ZodOptional>; supersedeOnUserComment: z.ZodOptional; target: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"issue_document">; issueId: z.ZodOptional>; documentId: z.ZodOptional>; key: z.ZodString; revisionId: z.ZodString; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"custom">; key: z.ZodString; revisionId: z.ZodOptional>; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }>]>>>; }, "strip", z.ZodTypeAny, { prompt: string; version: 1; allowDeclineReason: boolean; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; }, { prompt: string; version: 1; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; allowDeclineReason?: boolean | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; }>; export declare const requestCheckboxConfirmationOptionSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | null | undefined; }, { id: string; label: string; description?: string | null | undefined; }>; export declare const requestCheckboxConfirmationPayloadSchema: z.ZodEffects; prompt: z.ZodString; detailsMarkdown: z.ZodOptional>; options: z.ZodArray>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | null | undefined; }, { id: string; label: string; description?: string | null | undefined; }>, "many">; defaultSelectedOptionIds: z.ZodDefault>>; minSelected: z.ZodDefault>; maxSelected: z.ZodOptional>; acceptLabel: z.ZodOptional>; rejectLabel: z.ZodOptional>; rejectRequiresReason: z.ZodOptional; rejectReasonLabel: z.ZodOptional>; allowDeclineReason: z.ZodDefault>; declineReasonPlaceholder: z.ZodOptional>; supersedeOnUserComment: z.ZodOptional; target: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"issue_document">; issueId: z.ZodOptional>; documentId: z.ZodOptional>; key: z.ZodString; revisionId: z.ZodString; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"custom">; key: z.ZodString; revisionId: z.ZodOptional>; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }>]>>>; }, "strip", z.ZodTypeAny, { prompt: string; options: { id: string; label: string; description?: string | null | undefined; }[]; version: 1; allowDeclineReason: boolean; defaultSelectedOptionIds: string[]; minSelected: number; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; maxSelected?: number | null | undefined; }, { prompt: string; options: { id: string; label: string; description?: string | null | undefined; }[]; version: 1; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; allowDeclineReason?: boolean | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; defaultSelectedOptionIds?: string[] | undefined; minSelected?: number | undefined; maxSelected?: number | null | undefined; }>, { prompt: string; options: { id: string; label: string; description?: string | null | undefined; }[]; version: 1; allowDeclineReason: boolean; defaultSelectedOptionIds: string[]; minSelected: number; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; maxSelected?: number | null | undefined; }, { prompt: string; options: { id: string; label: string; description?: string | null | undefined; }[]; version: 1; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; allowDeclineReason?: boolean | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; defaultSelectedOptionIds?: string[] | undefined; minSelected?: number | undefined; maxSelected?: number | null | undefined; }>; export declare const requestConfirmationResultSchema: z.ZodObject<{ version: z.ZodLiteral<1>; outcome: z.ZodEnum<["accepted", "rejected", "superseded_by_comment", "stale_target"]>; reason: z.ZodOptional>; commentId: z.ZodOptional>; staleTarget: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"issue_document">; issueId: z.ZodOptional>; documentId: z.ZodOptional>; key: z.ZodString; revisionId: z.ZodString; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"custom">; key: z.ZodString; revisionId: z.ZodOptional>; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }>]>>>; }, "strip", z.ZodTypeAny, { version: 1; outcome: "accepted" | "rejected" | "superseded_by_comment" | "stale_target"; reason?: string | null | undefined; commentId?: string | null | undefined; staleTarget?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; }, { version: 1; outcome: "accepted" | "rejected" | "superseded_by_comment" | "stale_target"; reason?: string | null | undefined; commentId?: string | null | undefined; staleTarget?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; }>; export declare const requestCheckboxConfirmationResultSchema: z.ZodEffects; outcome: z.ZodEnum<["accepted", "rejected", "superseded_by_comment", "stale_target"]>; reason: z.ZodOptional>; commentId: z.ZodOptional>; staleTarget: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"issue_document">; issueId: z.ZodOptional>; documentId: z.ZodOptional>; key: z.ZodString; revisionId: z.ZodString; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"custom">; key: z.ZodString; revisionId: z.ZodOptional>; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }>]>>>; } & { selectedOptionIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: 1; outcome: "accepted" | "rejected" | "superseded_by_comment" | "stale_target"; reason?: string | null | undefined; commentId?: string | null | undefined; staleTarget?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; selectedOptionIds?: string[] | undefined; }, { version: 1; outcome: "accepted" | "rejected" | "superseded_by_comment" | "stale_target"; reason?: string | null | undefined; commentId?: string | null | undefined; staleTarget?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; selectedOptionIds?: string[] | undefined; }>, { version: 1; outcome: "accepted" | "rejected" | "superseded_by_comment" | "stale_target"; reason?: string | null | undefined; commentId?: string | null | undefined; staleTarget?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; selectedOptionIds?: string[] | undefined; }, { version: 1; outcome: "accepted" | "rejected" | "superseded_by_comment" | "stale_target"; reason?: string | null | undefined; commentId?: string | null | undefined; staleTarget?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; selectedOptionIds?: string[] | undefined; }>; export declare const createIssueThreadInteractionSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"suggest_tasks">; idempotencyKey: z.ZodOptional>; sourceCommentId: z.ZodOptional>; sourceRunId: z.ZodOptional>; title: z.ZodOptional>; summary: z.ZodOptional>; continuationPolicy: z.ZodDefault>>; payload: z.ZodEffects; defaultParentId: z.ZodOptional>; tasks: z.ZodArray>; parentId: z.ZodOptional>; title: z.ZodString; description: z.ZodOptional, z.ZodString>>>; priority: z.ZodOptional>>; workMode: z.ZodOptional>>; assigneeAgentId: z.ZodOptional>; assigneeUserId: z.ZodOptional>; projectId: z.ZodOptional>; goalId: z.ZodOptional>; billingCode: z.ZodOptional>; labels: z.ZodOptional>; hiddenInPreview: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }, { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }>, { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }, { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { version: 1; tasks: { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }[]; defaultParentId?: string | null | undefined; }, { version: 1; tasks: { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }[]; defaultParentId?: string | null | undefined; }>, { version: 1; tasks: { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }[]; defaultParentId?: string | null | undefined; }, { version: 1; tasks: { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }[]; defaultParentId?: string | null | undefined; }>; }, "strip", z.ZodTypeAny, { kind: "suggest_tasks"; continuationPolicy: "none" | "wake_assignee" | "wake_assignee_on_accept"; payload: { version: 1; tasks: { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }[]; defaultParentId?: string | null | undefined; }; title?: string | null | undefined; idempotencyKey?: string | null | undefined; sourceCommentId?: string | null | undefined; sourceRunId?: string | null | undefined; summary?: string | null | undefined; }, { kind: "suggest_tasks"; payload: { version: 1; tasks: { title: string; clientKey: string; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; goalId?: string | null | undefined; parentId?: string | null | undefined; workMode?: "standard" | "planning" | null | undefined; billingCode?: string | null | undefined; parentClientKey?: string | null | undefined; labels?: string[] | undefined; hiddenInPreview?: boolean | undefined; }[]; defaultParentId?: string | null | undefined; }; title?: string | null | undefined; idempotencyKey?: string | null | undefined; sourceCommentId?: string | null | undefined; sourceRunId?: string | null | undefined; summary?: string | null | undefined; continuationPolicy?: "none" | "wake_assignee" | "wake_assignee_on_accept" | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"ask_user_questions">; idempotencyKey: z.ZodOptional>; sourceCommentId: z.ZodOptional>; sourceRunId: z.ZodOptional>; title: z.ZodOptional>; summary: z.ZodOptional>; continuationPolicy: z.ZodDefault>>; payload: z.ZodEffects; title: z.ZodOptional>; submitLabel: z.ZodOptional>; questions: z.ZodArray>; selectionMode: z.ZodEnum<["single", "multi"]>; required: z.ZodOptional; options: z.ZodArray>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | null | undefined; }, { id: string; label: string; description?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }, { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { version: 1; questions: { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }[]; title?: string | null | undefined; submitLabel?: string | null | undefined; }, { version: 1; questions: { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }[]; title?: string | null | undefined; submitLabel?: string | null | undefined; }>, { version: 1; questions: { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }[]; title?: string | null | undefined; submitLabel?: string | null | undefined; }, { version: 1; questions: { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }[]; title?: string | null | undefined; submitLabel?: string | null | undefined; }>; }, "strip", z.ZodTypeAny, { kind: "ask_user_questions"; continuationPolicy: "none" | "wake_assignee" | "wake_assignee_on_accept"; payload: { version: 1; questions: { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }[]; title?: string | null | undefined; submitLabel?: string | null | undefined; }; title?: string | null | undefined; idempotencyKey?: string | null | undefined; sourceCommentId?: string | null | undefined; sourceRunId?: string | null | undefined; summary?: string | null | undefined; }, { kind: "ask_user_questions"; payload: { version: 1; questions: { prompt: string; id: string; options: { id: string; label: string; description?: string | null | undefined; }[]; selectionMode: "single" | "multi"; required?: boolean | undefined; helpText?: string | null | undefined; }[]; title?: string | null | undefined; submitLabel?: string | null | undefined; }; title?: string | null | undefined; idempotencyKey?: string | null | undefined; sourceCommentId?: string | null | undefined; sourceRunId?: string | null | undefined; summary?: string | null | undefined; continuationPolicy?: "none" | "wake_assignee" | "wake_assignee_on_accept" | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"request_confirmation">; idempotencyKey: z.ZodOptional>; sourceCommentId: z.ZodOptional>; sourceRunId: z.ZodOptional>; title: z.ZodOptional>; summary: z.ZodOptional>; continuationPolicy: z.ZodDefault>>; payload: z.ZodObject<{ version: z.ZodLiteral<1>; prompt: z.ZodString; acceptLabel: z.ZodOptional>; rejectLabel: z.ZodOptional>; rejectRequiresReason: z.ZodOptional; rejectReasonLabel: z.ZodOptional>; allowDeclineReason: z.ZodDefault>; declineReasonPlaceholder: z.ZodOptional>; detailsMarkdown: z.ZodOptional>; supersedeOnUserComment: z.ZodOptional; target: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"issue_document">; issueId: z.ZodOptional>; documentId: z.ZodOptional>; key: z.ZodString; revisionId: z.ZodString; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"custom">; key: z.ZodString; revisionId: z.ZodOptional>; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }>]>>>; }, "strip", z.ZodTypeAny, { prompt: string; version: 1; allowDeclineReason: boolean; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; }, { prompt: string; version: 1; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; allowDeclineReason?: boolean | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { kind: "request_confirmation"; continuationPolicy: "none" | "wake_assignee" | "wake_assignee_on_accept"; payload: { prompt: string; version: 1; allowDeclineReason: boolean; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; }; title?: string | null | undefined; idempotencyKey?: string | null | undefined; sourceCommentId?: string | null | undefined; sourceRunId?: string | null | undefined; summary?: string | null | undefined; }, { kind: "request_confirmation"; payload: { prompt: string; version: 1; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; allowDeclineReason?: boolean | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; }; title?: string | null | undefined; idempotencyKey?: string | null | undefined; sourceCommentId?: string | null | undefined; sourceRunId?: string | null | undefined; summary?: string | null | undefined; continuationPolicy?: "none" | "wake_assignee" | "wake_assignee_on_accept" | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"request_checkbox_confirmation">; idempotencyKey: z.ZodOptional>; sourceCommentId: z.ZodOptional>; sourceRunId: z.ZodOptional>; title: z.ZodOptional>; summary: z.ZodOptional>; continuationPolicy: z.ZodDefault>>; payload: z.ZodEffects; prompt: z.ZodString; detailsMarkdown: z.ZodOptional>; options: z.ZodArray>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | null | undefined; }, { id: string; label: string; description?: string | null | undefined; }>, "many">; defaultSelectedOptionIds: z.ZodDefault>>; minSelected: z.ZodDefault>; maxSelected: z.ZodOptional>; acceptLabel: z.ZodOptional>; rejectLabel: z.ZodOptional>; rejectRequiresReason: z.ZodOptional; rejectReasonLabel: z.ZodOptional>; allowDeclineReason: z.ZodDefault>; declineReasonPlaceholder: z.ZodOptional>; supersedeOnUserComment: z.ZodOptional; target: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"issue_document">; issueId: z.ZodOptional>; documentId: z.ZodOptional>; key: z.ZodString; revisionId: z.ZodString; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }, { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; }>, z.ZodObject<{ label: z.ZodOptional>; href: z.ZodOptional>>; } & { type: z.ZodLiteral<"custom">; key: z.ZodString; revisionId: z.ZodOptional>; revisionNumber: z.ZodOptional>; }, "strip", z.ZodTypeAny, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }, { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; }>]>>>; }, "strip", z.ZodTypeAny, { prompt: string; options: { id: string; label: string; description?: string | null | undefined; }[]; version: 1; allowDeclineReason: boolean; defaultSelectedOptionIds: string[]; minSelected: number; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; maxSelected?: number | null | undefined; }, { prompt: string; options: { id: string; label: string; description?: string | null | undefined; }[]; version: 1; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; allowDeclineReason?: boolean | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; defaultSelectedOptionIds?: string[] | undefined; minSelected?: number | undefined; maxSelected?: number | null | undefined; }>, { prompt: string; options: { id: string; label: string; description?: string | null | undefined; }[]; version: 1; allowDeclineReason: boolean; defaultSelectedOptionIds: string[]; minSelected: number; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; maxSelected?: number | null | undefined; }, { prompt: string; options: { id: string; label: string; description?: string | null | undefined; }[]; version: 1; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; allowDeclineReason?: boolean | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; defaultSelectedOptionIds?: string[] | undefined; minSelected?: number | undefined; maxSelected?: number | null | undefined; }>; }, "strip", z.ZodTypeAny, { kind: "request_checkbox_confirmation"; continuationPolicy: "none" | "wake_assignee" | "wake_assignee_on_accept"; payload: { prompt: string; options: { id: string; label: string; description?: string | null | undefined; }[]; version: 1; allowDeclineReason: boolean; defaultSelectedOptionIds: string[]; minSelected: number; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; maxSelected?: number | null | undefined; }; title?: string | null | undefined; idempotencyKey?: string | null | undefined; sourceCommentId?: string | null | undefined; sourceRunId?: string | null | undefined; summary?: string | null | undefined; }, { kind: "request_checkbox_confirmation"; payload: { prompt: string; options: { id: string; label: string; description?: string | null | undefined; }[]; version: 1; target?: { key: string; type: "issue_document"; revisionId: string; label?: string | null | undefined; issueId?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; documentId?: string | null | undefined; } | { key: string; type: "custom"; label?: string | null | undefined; revisionNumber?: number | null | undefined; href?: string | null | undefined; revisionId?: string | null | undefined; } | null | undefined; acceptLabel?: string | null | undefined; rejectLabel?: string | null | undefined; rejectRequiresReason?: boolean | undefined; rejectReasonLabel?: string | null | undefined; allowDeclineReason?: boolean | undefined; declineReasonPlaceholder?: string | null | undefined; detailsMarkdown?: string | null | undefined; supersedeOnUserComment?: boolean | undefined; defaultSelectedOptionIds?: string[] | undefined; minSelected?: number | undefined; maxSelected?: number | null | undefined; }; title?: string | null | undefined; idempotencyKey?: string | null | undefined; sourceCommentId?: string | null | undefined; sourceRunId?: string | null | undefined; summary?: string | null | undefined; continuationPolicy?: "none" | "wake_assignee" | "wake_assignee_on_accept" | undefined; }>]>; export type CreateIssueThreadInteraction = z.infer; export declare const acceptIssueThreadInteractionSchema: z.ZodEffects>; selectedOptionIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { selectedOptionIds?: string[] | undefined; selectedClientKeys?: string[] | undefined; }, { selectedOptionIds?: string[] | undefined; selectedClientKeys?: string[] | undefined; }>, { selectedOptionIds?: string[] | undefined; selectedClientKeys?: string[] | undefined; }, { selectedOptionIds?: string[] | undefined; selectedClientKeys?: string[] | undefined; }>; export type AcceptIssueThreadInteraction = z.infer; export declare const rejectIssueThreadInteractionSchema: z.ZodObject<{ reason: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>; export type RejectIssueThreadInteraction = z.infer; export declare const cancelIssueThreadInteractionSchema: z.ZodObject<{ reason: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>; export type CancelIssueThreadInteraction = z.infer; export declare const respondIssueThreadInteractionSchema: z.ZodObject<{ answers: z.ZodArray; otherText: z.ZodOptional, z.ZodString>>>; }, "strip", z.ZodTypeAny, { questionId: string; optionIds: string[]; otherText?: string | null | undefined; }, { questionId: string; optionIds: string[]; otherText?: string | null | undefined; }>, "many">; summaryMarkdown: z.ZodOptional, z.ZodString>>>; }, "strip", z.ZodTypeAny, { answers: { questionId: string; optionIds: string[]; otherText?: string | null | undefined; }[]; summaryMarkdown?: string | null | undefined; }, { answers: { questionId: string; optionIds: string[]; otherText?: string | null | undefined; }[]; summaryMarkdown?: string | null | undefined; }>; export type RespondIssueThreadInteraction = z.infer; export declare const linkIssueApprovalSchema: z.ZodObject<{ approvalId: z.ZodString; }, "strip", z.ZodTypeAny, { approvalId: string; }, { approvalId: string; }>; export type LinkIssueApproval = z.infer; export declare const createIssueAttachmentMetadataSchema: z.ZodObject<{ issueCommentId: z.ZodNullable>; }, "strip", z.ZodTypeAny, { issueCommentId?: string | null | undefined; }, { issueCommentId?: string | null | undefined; }>; export type CreateIssueAttachmentMetadata = z.infer; export declare const ISSUE_DOCUMENT_FORMATS: readonly ["markdown"]; export declare const issueDocumentFormatSchema: z.ZodEnum<["markdown"]>; export declare const upsertIssueDocumentSchema: z.ZodObject<{ title: z.ZodOptional>; format: z.ZodEnum<["markdown"]>; body: z.ZodPipeline, z.ZodString>; changeSummary: z.ZodOptional>; baseRevisionId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { body: string; format: "markdown"; title?: string | null | undefined; changeSummary?: string | null | undefined; baseRevisionId?: string | null | undefined; }, { body: string; format: "markdown"; title?: string | null | undefined; changeSummary?: string | null | undefined; baseRevisionId?: string | null | undefined; }>; export declare const restoreIssueDocumentRevisionSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export type IssueDocumentFormat = z.infer; export type UpsertIssueDocument = z.infer; export type RestoreIssueDocumentRevision = z.infer; export {}; //# sourceMappingURL=issue.d.ts.map