import { z } from "zod"; export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{ enabled: z.ZodBoolean; defaultMode: z.ZodOptional>; allowIssueOverride: z.ZodOptional; defaultProjectWorkspaceId: 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>>; branchPolicy: z.ZodNullable>>; pullRequestPolicy: z.ZodNullable>>; runtimePolicy: z.ZodNullable>>; cleanupPolicy: z.ZodNullable>>; }, "strict", z.ZodTypeAny, { enabled: boolean; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | 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; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; }, { enabled: boolean; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | 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; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: 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>>; }, "strip", z.ZodTypeAny, { isPrimary: boolean; name?: string | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; metadata?: Record | null | undefined; repoUrl?: string | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }, { name?: string | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; metadata?: Record | null | undefined; repoUrl?: string | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; cleanupCommand?: string | null | undefined; isPrimary?: boolean | undefined; cwd?: string | null | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }>, { isPrimary: boolean; name?: string | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; metadata?: Record | null | undefined; repoUrl?: string | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }, { name?: string | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; metadata?: Record | null | undefined; repoUrl?: string | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; cleanupCommand?: string | null | undefined; isPrimary?: boolean | undefined; cwd?: string | null | 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>>>; }, "strip", z.ZodTypeAny, { name?: string | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; metadata?: Record | null | undefined; repoUrl?: string | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; cleanupCommand?: string | null | undefined; isPrimary?: boolean | undefined; cwd?: string | null | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }, { name?: string | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; metadata?: Record | null | undefined; repoUrl?: string | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; cleanupCommand?: string | null | undefined; isPrimary?: boolean | undefined; cwd?: string | null | 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>>; }, "strip", z.ZodTypeAny, { isPrimary: boolean; name?: string | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; metadata?: Record | null | undefined; repoUrl?: string | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }, { name?: string | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; metadata?: Record | null | undefined; repoUrl?: string | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; cleanupCommand?: string | null | undefined; isPrimary?: boolean | undefined; cwd?: string | null | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }>, { isPrimary: boolean; name?: string | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; metadata?: Record | null | undefined; repoUrl?: string | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; }, { name?: string | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; metadata?: Record | null | undefined; repoUrl?: string | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; cleanupCommand?: string | null | undefined; isPrimary?: boolean | undefined; cwd?: string | null | 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>; executionWorkspacePolicy: z.ZodNullable>; allowIssueOverride: z.ZodOptional; defaultProjectWorkspaceId: 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>>; branchPolicy: z.ZodNullable>>; pullRequestPolicy: z.ZodNullable>>; runtimePolicy: z.ZodNullable>>; cleanupPolicy: z.ZodNullable>>; }, "strict", z.ZodTypeAny, { enabled: boolean; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | 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; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; }, { enabled: boolean; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | 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; 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" | "planned" | "completed"; name: string; workspace?: { isPrimary: boolean; name?: string | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; metadata?: Record | null | undefined; repoUrl?: string | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; cleanupCommand?: string | null | undefined; cwd?: string | null | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; } | undefined; description?: string | null | undefined; targetDate?: string | null | undefined; color?: string | null | undefined; executionWorkspacePolicy?: { enabled: boolean; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | 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; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; } | null | undefined; goalId?: string | null | undefined; goalIds?: string[] | undefined; leadAgentId?: string | null | undefined; archivedAt?: string | null | undefined; }, { name: string; workspace?: { name?: string | undefined; sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined; metadata?: Record | null | undefined; repoUrl?: string | null | undefined; repoRef?: string | null | undefined; defaultRef?: string | null | undefined; visibility?: "default" | "advanced" | undefined; setupCommand?: string | null | undefined; cleanupCommand?: string | null | undefined; isPrimary?: boolean | undefined; cwd?: string | null | undefined; remoteWorkspaceRef?: string | null | undefined; remoteProvider?: string | null | undefined; sharedWorkspaceKey?: string | null | undefined; } | undefined; status?: "backlog" | "in_progress" | "cancelled" | "planned" | "completed" | undefined; description?: string | null | undefined; targetDate?: string | null | undefined; color?: string | null | undefined; executionWorkspacePolicy?: { enabled: boolean; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | 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; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; } | null | undefined; goalId?: string | 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>>; executionWorkspacePolicy: z.ZodOptional>; allowIssueOverride: z.ZodOptional; defaultProjectWorkspaceId: 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>>; branchPolicy: z.ZodNullable>>; pullRequestPolicy: z.ZodNullable>>; runtimePolicy: z.ZodNullable>>; cleanupPolicy: z.ZodNullable>>; }, "strict", z.ZodTypeAny, { enabled: boolean; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | 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; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; }, { enabled: boolean; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | 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; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; }>>>>; archivedAt: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { status?: "backlog" | "in_progress" | "cancelled" | "planned" | "completed" | undefined; name?: string | undefined; description?: string | null | undefined; targetDate?: string | null | undefined; color?: string | null | undefined; executionWorkspacePolicy?: { enabled: boolean; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | 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; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; } | null | undefined; goalId?: string | null | undefined; goalIds?: string[] | undefined; leadAgentId?: string | null | undefined; archivedAt?: string | null | undefined; }, { status?: "backlog" | "in_progress" | "cancelled" | "planned" | "completed" | undefined; name?: string | undefined; description?: string | null | undefined; targetDate?: string | null | undefined; color?: string | null | undefined; executionWorkspacePolicy?: { enabled: boolean; defaultMode?: "shared_workspace" | "isolated_workspace" | "operator_branch" | "adapter_default" | undefined; allowIssueOverride?: boolean | undefined; defaultProjectWorkspaceId?: string | null | 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; branchPolicy?: Record | null | undefined; pullRequestPolicy?: Record | null | undefined; runtimePolicy?: Record | null | undefined; cleanupPolicy?: Record | null | undefined; } | null | undefined; goalId?: string | 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