import { z } from "zod";
export declare const projectExecutionWorkspacePolicySchema: z.ZodObject<{
    enabled: z.ZodBoolean;
    defaultMode: z.ZodOptional<z.ZodEnum<["shared_workspace", "isolated_workspace", "operator_branch", "adapter_default"]>>;
    allowIssueOverride: z.ZodOptional<z.ZodBoolean>;
    defaultProjectWorkspaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    workspaceStrategy: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        type: z.ZodOptional<z.ZodEnum<["project_primary", "git_worktree", "adapter_managed", "cloud_sandbox"]>>;
        baseRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        branchTemplate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        worktreeParentDir: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        provisionCommand: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        teardownCommand: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    }, "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<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    branchPolicy: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    pullRequestPolicy: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    runtimePolicy: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    cleanupPolicy: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
}, "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<string, unknown> | null | undefined;
    branchPolicy?: Record<string, unknown> | null | undefined;
    pullRequestPolicy?: Record<string, unknown> | null | undefined;
    runtimePolicy?: Record<string, unknown> | null | undefined;
    cleanupPolicy?: Record<string, unknown> | 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<string, unknown> | null | undefined;
    branchPolicy?: Record<string, unknown> | null | undefined;
    pullRequestPolicy?: Record<string, unknown> | null | undefined;
    runtimePolicy?: Record<string, unknown> | null | undefined;
    cleanupPolicy?: Record<string, unknown> | null | undefined;
}>;
export declare const createProjectWorkspaceSchema: z.ZodEffects<z.ZodObject<{
    isPrimary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    name: z.ZodOptional<z.ZodString>;
    sourceType: z.ZodOptional<z.ZodEnum<["local_path", "git_repo", "remote_managed", "non_git_path"]>>;
    cwd: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    repoUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    repoRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    defaultRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    visibility: z.ZodOptional<z.ZodEnum<["default", "advanced"]>>;
    setupCommand: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    cleanupCommand: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    remoteProvider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    remoteWorkspaceRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    sharedWorkspaceKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
}, "strip", z.ZodTypeAny, {
    isPrimary: boolean;
    name?: string | undefined;
    sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
    metadata?: Record<string, unknown> | 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<string, unknown> | 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<string, unknown> | 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<string, unknown> | 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<typeof createProjectWorkspaceSchema>;
export declare const updateProjectWorkspaceSchema: z.ZodObject<{
    isPrimary: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
    name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
    sourceType: z.ZodOptional<z.ZodOptional<z.ZodEnum<["local_path", "git_repo", "remote_managed", "non_git_path"]>>>;
    cwd: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
    repoUrl: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
    repoRef: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
    defaultRef: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
    visibility: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "advanced"]>>>;
    setupCommand: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
    cleanupCommand: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
    remoteProvider: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
    remoteWorkspaceRef: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
    sharedWorkspaceKey: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
    metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
}, "strip", z.ZodTypeAny, {
    name?: string | undefined;
    sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
    metadata?: Record<string, unknown> | 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<string, unknown> | 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<typeof updateProjectWorkspaceSchema>;
export declare const createProjectSchema: z.ZodObject<{
    workspace: z.ZodOptional<z.ZodEffects<z.ZodObject<{
        isPrimary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
        name: z.ZodOptional<z.ZodString>;
        sourceType: z.ZodOptional<z.ZodEnum<["local_path", "git_repo", "remote_managed", "non_git_path"]>>;
        cwd: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        repoUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        repoRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        defaultRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        visibility: z.ZodOptional<z.ZodEnum<["default", "advanced"]>>;
        setupCommand: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        cleanupCommand: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        remoteProvider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        remoteWorkspaceRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        sharedWorkspaceKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    }, "strip", z.ZodTypeAny, {
        isPrimary: boolean;
        name?: string | undefined;
        sourceType?: "local_path" | "git_repo" | "remote_managed" | "non_git_path" | undefined;
        metadata?: Record<string, unknown> | 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<string, unknown> | 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<string, unknown> | 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<string, unknown> | 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<z.ZodOptional<z.ZodString>>;
    goalIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    name: z.ZodString;
    description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["backlog", "planned", "in_progress", "completed", "cancelled"]>>>;
    leadAgentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    targetDate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    color: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    executionWorkspacePolicy: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        enabled: z.ZodBoolean;
        defaultMode: z.ZodOptional<z.ZodEnum<["shared_workspace", "isolated_workspace", "operator_branch", "adapter_default"]>>;
        allowIssueOverride: z.ZodOptional<z.ZodBoolean>;
        defaultProjectWorkspaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        workspaceStrategy: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            type: z.ZodOptional<z.ZodEnum<["project_primary", "git_worktree", "adapter_managed", "cloud_sandbox"]>>;
            baseRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
            branchTemplate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
            worktreeParentDir: z.ZodNullable<z.ZodOptional<z.ZodString>>;
            provisionCommand: z.ZodNullable<z.ZodOptional<z.ZodString>>;
            teardownCommand: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        }, "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<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
        branchPolicy: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
        pullRequestPolicy: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
        runtimePolicy: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
        cleanupPolicy: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    }, "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<string, unknown> | null | undefined;
        branchPolicy?: Record<string, unknown> | null | undefined;
        pullRequestPolicy?: Record<string, unknown> | null | undefined;
        runtimePolicy?: Record<string, unknown> | null | undefined;
        cleanupPolicy?: Record<string, unknown> | 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<string, unknown> | null | undefined;
        branchPolicy?: Record<string, unknown> | null | undefined;
        pullRequestPolicy?: Record<string, unknown> | null | undefined;
        runtimePolicy?: Record<string, unknown> | null | undefined;
        cleanupPolicy?: Record<string, unknown> | null | undefined;
    }>>>;
    archivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, "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<string, unknown> | 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<string, unknown> | null | undefined;
        branchPolicy?: Record<string, unknown> | null | undefined;
        pullRequestPolicy?: Record<string, unknown> | null | undefined;
        runtimePolicy?: Record<string, unknown> | null | undefined;
        cleanupPolicy?: Record<string, unknown> | 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<string, unknown> | 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<string, unknown> | null | undefined;
        branchPolicy?: Record<string, unknown> | null | undefined;
        pullRequestPolicy?: Record<string, unknown> | null | undefined;
        runtimePolicy?: Record<string, unknown> | null | undefined;
        cleanupPolicy?: Record<string, unknown> | null | undefined;
    } | null | undefined;
    goalId?: string | null | undefined;
    goalIds?: string[] | undefined;
    leadAgentId?: string | null | undefined;
    archivedAt?: string | null | undefined;
}>;
export type CreateProject = z.infer<typeof createProjectSchema>;
export declare const updateProjectSchema: z.ZodObject<{
    goalId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
    goalIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
    name: z.ZodOptional<z.ZodString>;
    description: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
    status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["backlog", "planned", "in_progress", "completed", "cancelled"]>>>>;
    leadAgentId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
    targetDate: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
    color: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
    executionWorkspacePolicy: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
        enabled: z.ZodBoolean;
        defaultMode: z.ZodOptional<z.ZodEnum<["shared_workspace", "isolated_workspace", "operator_branch", "adapter_default"]>>;
        allowIssueOverride: z.ZodOptional<z.ZodBoolean>;
        defaultProjectWorkspaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        workspaceStrategy: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            type: z.ZodOptional<z.ZodEnum<["project_primary", "git_worktree", "adapter_managed", "cloud_sandbox"]>>;
            baseRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
            branchTemplate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
            worktreeParentDir: z.ZodNullable<z.ZodOptional<z.ZodString>>;
            provisionCommand: z.ZodNullable<z.ZodOptional<z.ZodString>>;
            teardownCommand: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        }, "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<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
        branchPolicy: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
        pullRequestPolicy: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
        runtimePolicy: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
        cleanupPolicy: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    }, "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<string, unknown> | null | undefined;
        branchPolicy?: Record<string, unknown> | null | undefined;
        pullRequestPolicy?: Record<string, unknown> | null | undefined;
        runtimePolicy?: Record<string, unknown> | null | undefined;
        cleanupPolicy?: Record<string, unknown> | 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<string, unknown> | null | undefined;
        branchPolicy?: Record<string, unknown> | null | undefined;
        pullRequestPolicy?: Record<string, unknown> | null | undefined;
        runtimePolicy?: Record<string, unknown> | null | undefined;
        cleanupPolicy?: Record<string, unknown> | null | undefined;
    }>>>>;
    archivedAt: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
}, "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<string, unknown> | null | undefined;
        branchPolicy?: Record<string, unknown> | null | undefined;
        pullRequestPolicy?: Record<string, unknown> | null | undefined;
        runtimePolicy?: Record<string, unknown> | null | undefined;
        cleanupPolicy?: Record<string, unknown> | 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<string, unknown> | null | undefined;
        branchPolicy?: Record<string, unknown> | null | undefined;
        pullRequestPolicy?: Record<string, unknown> | null | undefined;
        runtimePolicy?: Record<string, unknown> | null | undefined;
        cleanupPolicy?: Record<string, unknown> | null | undefined;
    } | null | undefined;
    goalId?: string | null | undefined;
    goalIds?: string[] | undefined;
    leadAgentId?: string | null | undefined;
    archivedAt?: string | null | undefined;
}>;
export type UpdateProject = z.infer<typeof updateProjectSchema>;
export type ProjectExecutionWorkspacePolicy = z.infer<typeof projectExecutionWorkspacePolicySchema>;
//# sourceMappingURL=project.d.ts.map