import { z } from 'zod'; import type { ComputerAction } from '@xopcai/computer-control-contract'; import type { ComputerHistoryEntry } from './task-state.js'; export declare const ComputerButtonPlanSchema: z.ZodObject<{ kind: z.ZodLiteral<"button_plan">; steps: z.ZodArray, z.ZodObject<{ role: z.ZodLiteral<"AXStaticText">; label: z.ZodString; value: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ role: z.ZodEnum<{ AXTextField: "AXTextField"; AXTextArea: "AXTextArea"; }>; label: z.ZodString; value: z.ZodString; }, z.core.$strict>]>; }, z.core.$strict>>; }, z.core.$strict>; type ButtonPlan = z.infer; /** A call-local conditional plan. Every yielded action still goes through broker validation. */ export declare class ComputerButtonPlan { private steps; private goal?; private awaiting?; get pending(): boolean; reset(): void; install(plan: ButtonPlan, goal: string, limit: number): void; next(input: { goal: string; summary: string; stateDigest?: string; history?: readonly ComputerHistoryEntry[]; maxPlanActions?: number; }): ComputerAction | undefined; } export {};