import { z } from 'zod/v4';
import type { WorkflowPrListWhere } from './workflow-types.js';
export declare const StructuredOutputRawSchema: z.ZodObject<{
    schema_ref: z.ZodString;
}, z.core.$strip>;
export declare const SystemInputRawSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    as: z.ZodString;
    type: z.ZodLiteral<"task_context">;
    source: z.ZodLiteral<"current_task">;
}, z.core.$strip>, z.ZodObject<{
    as: z.ZodString;
    type: z.ZodLiteral<"branch_context">;
    source: z.ZodLiteral<"current_task">;
}, z.core.$strip>, z.ZodObject<{
    as: z.ZodString;
    type: z.ZodLiteral<"pr_context">;
    source: z.ZodLiteral<"current_branch">;
}, z.core.$strip>, z.ZodObject<{
    as: z.ZodString;
    type: z.ZodLiteral<"issue_context">;
    source: z.ZodLiteral<"current_task">;
}, z.core.$strip>, z.ZodObject<{
    as: z.ZodString;
    type: z.ZodLiteral<"task_queue_context">;
    source: z.ZodLiteral<"current_project">;
    exclude_current_task: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>, z.ZodObject<{
    as: z.ZodString;
    type: z.ZodLiteral<"pr_list">;
    source: z.ZodLiteral<"current_project">;
    where: z.ZodOptional<z.ZodObject<{
        author: z.ZodOptional<z.ZodString>;
        base_branch: z.ZodOptional<z.ZodString>;
        head_branch: z.ZodOptional<z.ZodString>;
        managed_by_takt: z.ZodOptional<z.ZodBoolean>;
        labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
        same_repository: z.ZodOptional<z.ZodBoolean>;
        draft: z.ZodOptional<z.ZodBoolean>;
    }, z.core.$strict>>;
}, z.core.$strip>, z.ZodObject<{
    as: z.ZodString;
    type: z.ZodLiteral<"issue_list">;
    source: z.ZodLiteral<"current_project">;
    exclude_selected_from: z.ZodOptional<z.ZodString>;
}, z.core.$strict>, z.ZodObject<{
    as: z.ZodString;
    type: z.ZodLiteral<"pr_selection">;
    source: z.ZodLiteral<"current_project">;
    where: z.ZodOptional<z.ZodObject<{
        author: z.ZodOptional<z.ZodString>;
        base_branch: z.ZodOptional<z.ZodString>;
        head_branch: z.ZodOptional<z.ZodString>;
        managed_by_takt: z.ZodOptional<z.ZodBoolean>;
        labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
        same_repository: z.ZodOptional<z.ZodBoolean>;
        draft: z.ZodOptional<z.ZodBoolean>;
    }, z.core.$strict>>;
}, z.core.$strip>, z.ZodObject<{
    as: z.ZodString;
    type: z.ZodLiteral<"issue_selection">;
    source: z.ZodLiteral<"current_project">;
}, z.core.$strict>], "type">;
export declare const WorkflowEffectRawSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    type: z.ZodLiteral<"enqueue_task">;
    mode: z.ZodEnum<{
        new: "new";
        from_pr: "from_pr";
    }>;
    workflow: z.ZodString;
    task: z.ZodString;
    pr: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>>;
    issue: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
        create: z.ZodOptional<z.ZodBoolean>;
        title: z.ZodOptional<z.ZodString>;
        labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
    }, z.core.$strict>, z.ZodUnion<readonly [z.ZodString, z.ZodString]>]>>;
    base_branch: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
        name: z.ZodString;
        create_if_missing: z.ZodObject<{
            from: z.ZodString;
            push: z.ZodOptional<z.ZodBoolean>;
        }, z.core.$strict>;
    }, z.core.$strict>]>>;
    worktree: z.ZodOptional<z.ZodObject<{
        enabled: z.ZodOptional<z.ZodBoolean>;
        auto_pr: z.ZodOptional<z.ZodBoolean>;
        draft_pr: z.ZodOptional<z.ZodBoolean>;
        managed_pr: z.ZodOptional<z.ZodBoolean>;
    }, z.core.$strict>>;
}, z.core.$strict>, z.ZodObject<{
    type: z.ZodLiteral<"comment_pr">;
    pr: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>;
    body: z.ZodString;
}, z.core.$strict>, z.ZodObject<{
    type: z.ZodLiteral<"sync_with_root">;
    pr: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>;
}, z.core.$strict>, z.ZodObject<{
    type: z.ZodLiteral<"resolve_conflicts_with_ai">;
    pr: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>;
}, z.core.$strict>, z.ZodObject<{
    type: z.ZodLiteral<"merge_pr">;
    pr: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>;
}, z.core.$strict>, z.ZodObject<{
    type: z.ZodLiteral<"close_pr">;
    pr: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>;
}, z.core.$strict>], "type">;
export declare function validateSystemStepFields(data: {
    kind?: 'agent' | 'system' | 'workflow_call';
    mode?: 'system';
    call?: string;
    system_inputs?: Array<{
        as?: string;
        type?: string;
        where?: WorkflowPrListWhere;
    }>;
    effects?: Array<{
        type: string;
    }>;
} & Record<string, unknown>, ctx: z.core.$RefinementCtx): void;
//# sourceMappingURL=workflow-system-schemas.d.ts.map