import { z } from 'zod';
export declare const TOOL_EDIT_DBT_PROJECT_DESCRIPTION: string;
export declare const toolEditDbtProjectArgsSchema: z.ZodObject<{
    prompt: z.ZodString;
    prUrl: z.ZodNullable<z.ZodString>;
    startNewPullRequest: z.ZodNullable<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    prompt: string;
    prUrl: string | null;
    startNewPullRequest: boolean | null;
}, {
    prompt: string;
    prUrl: string | null;
    startNewPullRequest: boolean | null;
}>;
export declare const toolEditDbtProjectOutputSchema: z.ZodObject<{
    result: z.ZodString;
    metadata: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
        status: z.ZodLiteral<"pending">;
        aiWritebackRunUuid: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        status: "pending";
        aiWritebackRunUuid: string;
    }, {
        status: "pending";
        aiWritebackRunUuid: string;
    }>, z.ZodObject<{
        status: z.ZodLiteral<"success">;
        prUrl: z.ZodNullable<z.ZodString>;
        prAction: z.ZodOptional<z.ZodNullable<z.ZodEnum<["opened", "updated"]>>>;
        commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        additions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        deletions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        steps: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
            kind: z.ZodEnum<["read", "edit", "search", "compile", "stage"]>;
            label: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            label: string;
            kind: "search" | "read" | "edit" | "compile" | "stage";
        }, {
            label: string;
            kind: "search" | "read" | "edit" | "compile" | "stage";
        }>, "many">>>;
        needsDbtSourceSelection: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
        dbtSourceOptions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
            projectDbtSourceUuid: z.ZodString;
            name: z.ZodString;
            isPrimary: z.ZodBoolean;
            repository: z.ZodNullable<z.ZodString>;
            branch: z.ZodNullable<z.ZodString>;
            projectSubPath: z.ZodNullable<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            repository: string | null;
            projectDbtSourceUuid: string;
            isPrimary: boolean;
            branch: string | null;
            projectSubPath: string | null;
        }, {
            name: string;
            repository: string | null;
            projectDbtSourceUuid: string;
            isPrimary: boolean;
            branch: string | null;
            projectSubPath: string | null;
        }>, "many">>>;
    }, "strip", z.ZodTypeAny, {
        status: "success";
        prUrl: string | null;
        steps?: {
            label: string;
            kind: "search" | "read" | "edit" | "compile" | "stage";
        }[] | null | undefined;
        prAction?: "opened" | "updated" | null | undefined;
        commitSha?: string | null | undefined;
        additions?: number | null | undefined;
        deletions?: number | null | undefined;
        previewUrl?: string | null | undefined;
        needsDbtSourceSelection?: boolean | null | undefined;
        dbtSourceOptions?: {
            name: string;
            repository: string | null;
            projectDbtSourceUuid: string;
            isPrimary: boolean;
            branch: string | null;
            projectSubPath: string | null;
        }[] | null | undefined;
    }, {
        status: "success";
        prUrl: string | null;
        steps?: {
            label: string;
            kind: "search" | "read" | "edit" | "compile" | "stage";
        }[] | null | undefined;
        prAction?: "opened" | "updated" | null | undefined;
        commitSha?: string | null | undefined;
        additions?: number | null | undefined;
        deletions?: number | null | undefined;
        previewUrl?: string | null | undefined;
        needsDbtSourceSelection?: boolean | null | undefined;
        dbtSourceOptions?: {
            name: string;
            repository: string | null;
            projectDbtSourceUuid: string;
            isPrimary: boolean;
            branch: string | null;
            projectSubPath: string | null;
        }[] | null | undefined;
    }>, z.ZodObject<{
        status: z.ZodLiteral<"error">;
        errorCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["github_not_installed", "gitlab_not_installed", "unsupported_source_control", "pull_request_not_open", "git_write_permission", "unknown"]>>>;
    }, "strip", z.ZodTypeAny, {
        status: "error";
        errorCode?: "unknown" | "unsupported_source_control" | "github_not_installed" | "gitlab_not_installed" | "pull_request_not_open" | "git_write_permission" | null | undefined;
    }, {
        status: "error";
        errorCode?: "unknown" | "unsupported_source_control" | "github_not_installed" | "gitlab_not_installed" | "pull_request_not_open" | "git_write_permission" | null | undefined;
    }>]>;
}, "strip", z.ZodTypeAny, {
    metadata: {
        status: "pending";
        aiWritebackRunUuid: string;
    } | {
        status: "success";
        prUrl: string | null;
        steps?: {
            label: string;
            kind: "search" | "read" | "edit" | "compile" | "stage";
        }[] | null | undefined;
        prAction?: "opened" | "updated" | null | undefined;
        commitSha?: string | null | undefined;
        additions?: number | null | undefined;
        deletions?: number | null | undefined;
        previewUrl?: string | null | undefined;
        needsDbtSourceSelection?: boolean | null | undefined;
        dbtSourceOptions?: {
            name: string;
            repository: string | null;
            projectDbtSourceUuid: string;
            isPrimary: boolean;
            branch: string | null;
            projectSubPath: string | null;
        }[] | null | undefined;
    } | {
        status: "error";
        errorCode?: "unknown" | "unsupported_source_control" | "github_not_installed" | "gitlab_not_installed" | "pull_request_not_open" | "git_write_permission" | null | undefined;
    };
    result: string;
}, {
    metadata: {
        status: "pending";
        aiWritebackRunUuid: string;
    } | {
        status: "success";
        prUrl: string | null;
        steps?: {
            label: string;
            kind: "search" | "read" | "edit" | "compile" | "stage";
        }[] | null | undefined;
        prAction?: "opened" | "updated" | null | undefined;
        commitSha?: string | null | undefined;
        additions?: number | null | undefined;
        deletions?: number | null | undefined;
        previewUrl?: string | null | undefined;
        needsDbtSourceSelection?: boolean | null | undefined;
        dbtSourceOptions?: {
            name: string;
            repository: string | null;
            projectDbtSourceUuid: string;
            isPrimary: boolean;
            branch: string | null;
            projectSubPath: string | null;
        }[] | null | undefined;
    } | {
        status: "error";
        errorCode?: "unknown" | "unsupported_source_control" | "github_not_installed" | "gitlab_not_installed" | "pull_request_not_open" | "git_write_permission" | null | undefined;
    };
    result: string;
}>;
export type ToolEditDbtProjectArgs = z.infer<typeof toolEditDbtProjectArgsSchema>;
export type ToolEditDbtProjectOutput = z.infer<typeof toolEditDbtProjectOutputSchema>;
type ToolEditDbtProjectResultLike = {
    toolType: string;
    toolName: string;
    metadata: ToolEditDbtProjectOutput['metadata'] | Record<string, unknown> | null;
};
type ToolEditDbtProjectResult = ToolEditDbtProjectResultLike & {
    toolType: 'built-in';
    toolName: 'editDbtProject';
    metadata: ToolEditDbtProjectOutput['metadata'];
};
export declare const isToolEditDbtProjectResult: <T extends ToolEditDbtProjectResultLike>(result: T) => result is T & ToolEditDbtProjectResult;
export {};
//# sourceMappingURL=toolEditDbtProjectArgs.d.ts.map