import { z } from "zod"; export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{ enabled: z.ZodBoolean; defaultMode: z.ZodOptional>; allowIssueOverride: z.ZodOptional; defaultProjectWorkspaceId: 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>>; branchPolicy: z.ZodNullable>>; pullRequestPolicy: z.ZodNullable>>; runtimePolicy: z.ZodNullable>>; cleanupPolicy: z.ZodNullable>>; authorizationPolicy: z.ZodNullable>; 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">>>>; }, "strict", z.ZodTypeAny, { enabled: boolean; 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"> | null | undefined; environmentId?: string | null | undefined; workspaceRuntime?: Record | null | 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; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | undefined; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; }, { enabled: boolean; 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"> | null | undefined; environmentId?: string | null | undefined; workspaceRuntime?: Record | null | 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; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | undefined; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; }>; export declare const projectWorkspaceRuntimeConfigSchema: z.ZodObject<{ workspaceRuntime: z.ZodNullable>>; desiredState: z.ZodNullable>>; serviceStates: z.ZodNullable>>>; }, "strict", z.ZodTypeAny, { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; }, { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; }>; export declare const createProjectWorkspaceSchema: z.ZodEffects>; name: z.ZodOptional; sourceType: z.ZodOptional>; cwd: z.ZodNullable>; repoUrl: z.ZodNullable>; repoRef: z.ZodNullable>; defaultRef: z.ZodNullable>; visibility: z.ZodOptional>; setupCommand: z.ZodNullable>; cleanupCommand: z.ZodNullable>; remoteProvider: z.ZodNullable>; remoteWorkspaceRef: z.ZodNullable>; sharedWorkspaceKey: z.ZodNullable>; metadata: z.ZodNullable>>; runtimeConfig: z.ZodNullable>>; desiredState: z.ZodNullable>>; serviceStates: z.ZodNullable>>>; }, "strict", z.ZodTypeAny, { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; }, { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; }>>>; }, "strip", z.ZodTypeAny, { isPrimary: boolean; name?: string | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; repoUrl?: string | null | undefined; metadata?: Record | null | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; runtimeConfig?: { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; } | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }, { name?: string | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; repoUrl?: string | null | undefined; metadata?: Record | null | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; runtimeConfig?: { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; } | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; isPrimary?: boolean | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }>, { isPrimary: boolean; name?: string | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; repoUrl?: string | null | undefined; metadata?: Record | null | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; runtimeConfig?: { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; } | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }, { name?: string | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; repoUrl?: string | null | undefined; metadata?: Record | null | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; runtimeConfig?: { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; } | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; isPrimary?: boolean | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }>; export type CreateProjectWorkspace = z.infer; export declare const updateProjectWorkspaceSchema: z.ZodObject<{ isPrimary: z.ZodOptional>; name: z.ZodOptional>; sourceType: z.ZodOptional>>; cwd: z.ZodOptional>>; repoUrl: z.ZodOptional>>; repoRef: z.ZodOptional>>; defaultRef: z.ZodOptional>>; visibility: z.ZodOptional>>; setupCommand: z.ZodOptional>>; cleanupCommand: z.ZodOptional>>; remoteProvider: z.ZodOptional>>; remoteWorkspaceRef: z.ZodOptional>>; sharedWorkspaceKey: z.ZodOptional>>; metadata: z.ZodOptional>>>; runtimeConfig: z.ZodOptional>>; desiredState: z.ZodNullable>>; serviceStates: z.ZodNullable>>>; }, "strict", z.ZodTypeAny, { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; }, { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; }>>>>; }, "strip", z.ZodTypeAny, { name?: string | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; repoUrl?: string | null | undefined; metadata?: Record | null | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; runtimeConfig?: { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; } | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; isPrimary?: boolean | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }, { name?: string | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; repoUrl?: string | null | undefined; metadata?: Record | null | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; runtimeConfig?: { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; } | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; isPrimary?: boolean | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }>; export type UpdateProjectWorkspace = z.infer; export declare const createProjectSchema: z.ZodObject<{ workspace: z.ZodOptional>; name: z.ZodOptional; sourceType: z.ZodOptional>; cwd: z.ZodNullable>; repoUrl: z.ZodNullable>; repoRef: z.ZodNullable>; defaultRef: z.ZodNullable>; visibility: z.ZodOptional>; setupCommand: z.ZodNullable>; cleanupCommand: z.ZodNullable>; remoteProvider: z.ZodNullable>; remoteWorkspaceRef: z.ZodNullable>; sharedWorkspaceKey: z.ZodNullable>; metadata: z.ZodNullable>>; runtimeConfig: z.ZodNullable>>; desiredState: z.ZodNullable>>; serviceStates: z.ZodNullable>>>; }, "strict", z.ZodTypeAny, { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; }, { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; }>>>; }, "strip", z.ZodTypeAny, { isPrimary: boolean; name?: string | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; repoUrl?: string | null | undefined; metadata?: Record | null | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; runtimeConfig?: { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; } | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }, { name?: string | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; repoUrl?: string | null | undefined; metadata?: Record | null | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; runtimeConfig?: { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; } | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; isPrimary?: boolean | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }>, { isPrimary: boolean; name?: string | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; repoUrl?: string | null | undefined; metadata?: Record | null | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; runtimeConfig?: { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; } | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }, { name?: string | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; repoUrl?: string | null | undefined; metadata?: Record | null | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; runtimeConfig?: { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; } | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; isPrimary?: boolean | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }>>; /** @deprecated Use goalIds instead */ goalId: z.ZodNullable>; goalIds: z.ZodOptional>; name: z.ZodString; description: z.ZodNullable>; status: z.ZodDefault>>; leadAgentId: z.ZodNullable>; targetDate: z.ZodNullable>; color: z.ZodNullable>; icon: z.ZodNullable>>; env: z.ZodNullable; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: "plain"; }, { value: string; type: "plain"; }>, z.ZodObject<{ type: z.ZodLiteral<"secret_ref">; secretId: z.ZodString; version: z.ZodOptional, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }>]>>>>; executionWorkspacePolicy: z.ZodNullable>; allowIssueOverride: z.ZodOptional; defaultProjectWorkspaceId: 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>>; branchPolicy: z.ZodNullable>>; pullRequestPolicy: z.ZodNullable>>; runtimePolicy: z.ZodNullable>>; cleanupPolicy: z.ZodNullable>>; authorizationPolicy: z.ZodNullable>; 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">>>>; }, "strict", z.ZodTypeAny, { enabled: boolean; 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"> | null | undefined; environmentId?: string | null | undefined; workspaceRuntime?: Record | null | 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; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | undefined; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; }, { enabled: boolean; 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"> | null | undefined; environmentId?: string | null | undefined; workspaceRuntime?: Record | null | 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; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | undefined; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; }>>>; archivedAt: z.ZodNullable>; }, "strip", z.ZodTypeAny, { status: "backlog" | "in_progress" | "cancelled" | "completed" | "planned"; name: string; description?: string | null | undefined; workspace?: { isPrimary: boolean; name?: string | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; repoUrl?: string | null | undefined; metadata?: Record | null | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; runtimeConfig?: { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; } | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; } | undefined; color?: string | null | undefined; goalId?: string | null | undefined; env?: Record | null | undefined; icon?: "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "atom" | "radar" | "telescope" | "crown" | "gem" | "hexagon" | "folder" | "boxes" | "box" | "layers" | "briefcase" | "compass" | null | undefined; targetDate?: string | null | undefined; executionWorkspacePolicy?: { enabled: boolean; 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"> | null | undefined; environmentId?: string | null | undefined; workspaceRuntime?: Record | null | 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; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | undefined; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; } | null | undefined; goalIds?: string[] | undefined; leadAgentId?: string | null | undefined; archivedAt?: string | null | undefined; }, { name: string; description?: string | null | undefined; workspace?: { name?: string | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; repoUrl?: string | null | undefined; metadata?: Record | null | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; runtimeConfig?: { workspaceRuntime?: Record | null | undefined; desiredState?: "running" | "manual" | "stopped" | null | undefined; serviceStates?: Record | null | undefined; } | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; isPrimary?: boolean | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; } | undefined; status?: "backlog" | "in_progress" | "cancelled" | "completed" | "planned" | undefined; color?: string | null | undefined; goalId?: string | null | undefined; env?: Record | null | undefined; icon?: "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "atom" | "radar" | "telescope" | "crown" | "gem" | "hexagon" | "folder" | "boxes" | "box" | "layers" | "briefcase" | "compass" | null | undefined; targetDate?: string | null | undefined; executionWorkspacePolicy?: { enabled: boolean; 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"> | null | undefined; environmentId?: string | null | undefined; workspaceRuntime?: Record | null | 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; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | undefined; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; } | null | undefined; goalIds?: string[] | undefined; leadAgentId?: string | null | undefined; archivedAt?: string | null | undefined; }>; export type CreateProject = z.infer; export declare const updateProjectSchema: z.ZodObject<{ goalId: z.ZodOptional>>; goalIds: z.ZodOptional>>; name: z.ZodOptional; description: z.ZodOptional>>; status: z.ZodOptional>>>; leadAgentId: z.ZodOptional>>; targetDate: z.ZodOptional>>; color: z.ZodOptional>>; icon: z.ZodOptional>>>; env: z.ZodOptional; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: "plain"; }, { value: string; type: "plain"; }>, z.ZodObject<{ type: z.ZodLiteral<"secret_ref">; secretId: z.ZodString; version: z.ZodOptional, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }>]>>>>>; executionWorkspacePolicy: z.ZodOptional>; allowIssueOverride: z.ZodOptional; defaultProjectWorkspaceId: 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>>; branchPolicy: z.ZodNullable>>; pullRequestPolicy: z.ZodNullable>>; runtimePolicy: z.ZodNullable>>; cleanupPolicy: z.ZodNullable>>; authorizationPolicy: z.ZodNullable>; 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">>>>; }, "strict", z.ZodTypeAny, { enabled: boolean; 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"> | null | undefined; environmentId?: string | null | undefined; workspaceRuntime?: Record | null | 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; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | undefined; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; }, { enabled: boolean; 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"> | null | undefined; environmentId?: string | null | undefined; workspaceRuntime?: Record | null | 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; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | undefined; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; }>>>>; archivedAt: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { description?: string | null | undefined; status?: "backlog" | "in_progress" | "cancelled" | "completed" | "planned" | undefined; name?: string | undefined; color?: string | null | undefined; goalId?: string | null | undefined; env?: Record | null | undefined; icon?: "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "atom" | "radar" | "telescope" | "crown" | "gem" | "hexagon" | "folder" | "boxes" | "box" | "layers" | "briefcase" | "compass" | null | undefined; targetDate?: string | null | undefined; executionWorkspacePolicy?: { enabled: boolean; 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"> | null | undefined; environmentId?: string | null | undefined; workspaceRuntime?: Record | null | 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; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | undefined; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; } | null | undefined; goalIds?: string[] | undefined; leadAgentId?: string | null | undefined; archivedAt?: string | null | undefined; }, { description?: string | null | undefined; status?: "backlog" | "in_progress" | "cancelled" | "completed" | "planned" | undefined; name?: string | undefined; color?: string | null | undefined; goalId?: string | null | undefined; env?: Record | null | undefined; icon?: "cpu" | "brain" | "zap" | "rocket" | "code" | "terminal" | "shield" | "search" | "wrench" | "hammer" | "lightbulb" | "sparkles" | "star" | "heart" | "flame" | "bug" | "cog" | "database" | "globe" | "lock" | "mail" | "message-square" | "file-code" | "git-branch" | "package" | "puzzle" | "target" | "atom" | "radar" | "telescope" | "crown" | "gem" | "hexagon" | "folder" | "boxes" | "box" | "layers" | "briefcase" | "compass" | null | undefined; targetDate?: string | null | undefined; executionWorkspacePolicy?: { enabled: boolean; 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"> | null | undefined; environmentId?: string | null | undefined; workspaceRuntime?: Record | null | 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; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | undefined; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; } | null | undefined; goalIds?: string[] | undefined; leadAgentId?: string | null | undefined; archivedAt?: string | null | undefined; }>; export type UpdateProject = z.infer; export type ProjectExecutionWorkspacePolicy = z.infer; //# sourceMappingURL=project.d.ts.map