import { z } from 'zod'; import { type ComputerExpectation, type ComputerVerification } from './task-state.js'; import type { ComputerProgramHost } from './program-runtime.js'; export declare const ComputerBatchSchema: z.ZodObject<{ snapshotId: z.ZodString; steps: z.ZodArray; action: z.ZodUnion<(z.ZodObject<{ kind: z.ZodLiteral<"activate">; ref: z.ZodString; }, z.core.$strict> | z.ZodObject<{ kind: z.ZodLiteral<"showMenu">; ref: z.ZodString; }, z.core.$strict> | z.ZodObject<{ kind: z.ZodLiteral<"click">; point: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strict>; button: z.ZodEnum<{ left: "left"; right: "right"; }>; count: z.ZodUnion, z.ZodLiteral<2>]>; }, z.core.$strict> | z.ZodObject<{ kind: z.ZodLiteral<"drag">; from: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strict>; to: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict> | z.ZodObject<{ kind: z.ZodLiteral<"setValue">; ref: z.ZodString; text: z.ZodString; }, z.core.$strict> | z.ZodObject<{ kind: z.ZodLiteral<"typeText">; text: z.ZodString; point: z.ZodOptional>; }, z.core.$strict> | z.ZodObject<{ kind: z.ZodLiteral<"pressKeys">; keys: z.ZodArray; }, z.core.$strict> | z.ZodObject<{ kind: z.ZodLiteral<"scroll">; point: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; }, z.core.$strict>; deltaX: z.ZodNumber; deltaY: z.ZodNumber; }, z.core.$strict> | z.ZodObject<{ kind: z.ZodLiteral<"wait">; durationMs: z.ZodNumber; }, z.core.$strict> | z.ZodObject<{ kind: z.ZodLiteral<"setValue">; text: z.ZodString; ref: z.ZodOptional; }, z.core.$strict> | z.ZodObject<{ kind: z.ZodLiteral<"showMenu">; ref: z.ZodOptional; }, z.core.$strict> | z.ZodObject<{ kind: z.ZodLiteral<"activate">; ref: z.ZodOptional; }, z.core.$strict>)[]>; target: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"observe">; expect: z.ZodOptional; text: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"field">; label: z.ZodString; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"selected">; label: z.ZodString; }, z.core.$strict>], "kind">>; timeoutMs: z.ZodOptional; visual: z.ZodOptional; }, z.core.$strict>]>>; }, z.core.$strict>; type State = Record & { snapshotId: string; }; /** Checkpoints delimit native dispatches; a failed condition never starts the next segment. */ export declare function executeComputerBatch(raw: unknown, host: ComputerProgramHost, options: { remainingInputs: number; signal: AbortSignal; state(snapshotId: string): State; verify(expect: ComputerExpectation): ComputerVerification | undefined; }): Promise<{ verification?: ComputerVerification | undefined; status: string; nextStep: number; receipts: unknown[]; snapshotId: string; }>; export {};