import { z } from "zod"; export declare const issueExecutionWorkspaceSettingsSchema: z.ZodObject<{ mode: z.ZodOptional>; 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; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; }, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; }>>>; workspaceRuntime: z.ZodNullable>>; }, "strict", z.ZodTypeAny, { mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; } | 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; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; } | null | undefined; workspaceRuntime?: Record | null | undefined; }>; export declare const issueAssigneeAdapterOverridesSchema: z.ZodObject<{ adapterConfig: z.ZodOptional>; useProjectWorkspace: z.ZodOptional; }, "strict", z.ZodTypeAny, { adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }, { adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }>; export declare const createIssueSchema: z.ZodObject<{ projectId: z.ZodNullable>; projectWorkspaceId: z.ZodNullable>; goalId: z.ZodNullable>; parentId: z.ZodNullable>; title: z.ZodString; description: z.ZodNullable>; status: z.ZodDefault>>; priority: z.ZodDefault>>; assigneeAgentId: z.ZodNullable>; assigneeUserId: z.ZodNullable>; requestDepth: z.ZodDefault>; billingCode: z.ZodNullable>; assigneeAdapterOverrides: z.ZodNullable>; useProjectWorkspace: z.ZodOptional; }, "strict", z.ZodTypeAny, { adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }, { adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }>>>; executionWorkspaceId: z.ZodNullable>; executionWorkspacePreference: z.ZodNullable>>; executionWorkspaceSettings: 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; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; }, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; }>>>; workspaceRuntime: z.ZodNullable>>; }, "strict", z.ZodTypeAny, { mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; } | 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; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; } | null | undefined; workspaceRuntime?: Record | null | undefined; }>>>; labelIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled"; title: string; priority: "critical" | "high" | "medium" | "low"; requestDepth: number; description?: string | null | undefined; projectId?: string | null | undefined; labelIds?: string[] | undefined; billingCode?: string | null | undefined; executionWorkspaceSettings?: { mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; } | null | undefined; workspaceRuntime?: Record | null | undefined; } | null | undefined; assigneeAdapterOverrides?: { adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; goalId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; parentId?: string | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; executionWorkspaceId?: string | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; }, { title: string; status?: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled" | undefined; description?: string | null | undefined; projectId?: string | null | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; labelIds?: string[] | undefined; billingCode?: string | null | undefined; executionWorkspaceSettings?: { mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; } | null | undefined; workspaceRuntime?: Record | null | undefined; } | null | undefined; assigneeAdapterOverrides?: { adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; goalId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; parentId?: string | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; requestDepth?: number | undefined; executionWorkspaceId?: string | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; }>; export type CreateIssue = 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>>; title: z.ZodOptional; description: z.ZodOptional>>; status: z.ZodOptional>>>; priority: z.ZodOptional>>>; assigneeAgentId: z.ZodOptional>>; assigneeUserId: z.ZodOptional>>; requestDepth: z.ZodOptional>>; billingCode: z.ZodOptional>>; assigneeAdapterOverrides: z.ZodOptional>; useProjectWorkspace: z.ZodOptional; }, "strict", z.ZodTypeAny, { adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }, { adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; }>>>>; executionWorkspaceId: z.ZodOptional>>; executionWorkspacePreference: z.ZodOptional>>>; executionWorkspaceSettings: z.ZodOptional>; 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; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; }, { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; }>>>; workspaceRuntime: z.ZodNullable>>; }, "strict", z.ZodTypeAny, { mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; } | 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; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; } | null | undefined; workspaceRuntime?: Record | null | undefined; }>>>>; labelIds: z.ZodOptional>>; } & { comment: z.ZodOptional; reopen: z.ZodOptional; hiddenAt: z.ZodOptional>; }, "strip", z.ZodTypeAny, { comment?: string | undefined; status?: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled" | undefined; description?: string | null | undefined; projectId?: string | null | undefined; title?: string | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; labelIds?: string[] | undefined; billingCode?: string | null | undefined; executionWorkspaceSettings?: { mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; } | null | undefined; workspaceRuntime?: Record | null | undefined; } | null | undefined; assigneeAdapterOverrides?: { adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; goalId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; parentId?: string | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; requestDepth?: number | undefined; executionWorkspaceId?: string | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; reopen?: boolean | undefined; hiddenAt?: string | null | undefined; }, { comment?: string | undefined; status?: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled" | undefined; description?: string | null | undefined; projectId?: string | null | undefined; title?: string | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; labelIds?: string[] | undefined; billingCode?: string | null | undefined; executionWorkspaceSettings?: { mode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | undefined; workspaceStrategy?: { type?: "project_primary" | "git_worktree" | "adapter_managed" | "cloud_sandbox" | undefined; baseRef?: string | null | undefined; branchTemplate?: string | null | undefined; worktreeParentDir?: string | null | undefined; provisionCommand?: string | null | undefined; teardownCommand?: string | null | undefined; } | null | undefined; workspaceRuntime?: Record | null | undefined; } | null | undefined; assigneeAdapterOverrides?: { adapterConfig?: Record | undefined; useProjectWorkspace?: boolean | undefined; } | null | undefined; goalId?: string | null | undefined; projectWorkspaceId?: string | null | undefined; parentId?: string | null | undefined; assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; requestDepth?: number | undefined; executionWorkspaceId?: string | null | undefined; executionWorkspacePreference?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "inherit" | "reuse_existing" | "agent_default" | null | undefined; reopen?: 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 addIssueCommentSchema: z.ZodObject<{ body: z.ZodString; reopen: z.ZodOptional; interrupt: z.ZodOptional; }, "strip", z.ZodTypeAny, { body: string; reopen?: boolean | undefined; interrupt?: boolean | undefined; }, { body: string; reopen?: boolean | undefined; interrupt?: boolean | undefined; }>; export type AddIssueComment = 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 issueDocumentKeySchema: z.ZodString; export declare const upsertIssueDocumentSchema: z.ZodObject<{ title: z.ZodOptional>; format: z.ZodEnum<["markdown"]>; body: 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 type IssueDocumentFormat = z.infer; export type UpsertIssueDocument = z.infer; //# sourceMappingURL=issue.d.ts.map