import { z } from "zod"; /** A frame by its stack and its position on it. `depth` counts from the * end of the stack, 0 the last frame; `scope` is the nearest frame of * that scope name from the end. Neither means the frame the stop * shows. */ export declare const frameAddressSchema: z.ZodUnion>; depth: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ branchPath: z.ZodOptional>; scope: z.ZodString; }, z.core.$strict>]>; /** A thread by id, by label, or the active one. */ export declare const threadAddressSchema: z.ZodUnion, z.ZodObject<{ label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ active: z.ZodLiteral; }, z.core.$strict>]>; /** A branch by its key path from the root, or by a key alone when it * is unique. */ export declare const branchAddressSchema: z.ZodUnion; }, z.core.$strict>, z.ZodObject<{ key: z.ZodString; }, z.core.$strict>]>; /** A guard by label, or by its index in the guards pane. */ export declare const guardAddressSchema: z.ZodUnion, z.ZodObject<{ index: z.ZodNumber; }, z.core.$strict>]>; export type FrameAddress = z.infer; export type ThreadAddress = z.infer; export type BranchAddress = z.infer; export type GuardAddress = z.infer; /** The edits a checkpoint takes, each named for what a person wants. * An omitted address means the stop's own: the frame the stop shows, * the active thread, the nearest tool loop above the stop. */ export declare const checkpointEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ op: z.ZodLiteral<"appendMessage">; thread: z.ZodOptional, z.ZodObject<{ label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ active: z.ZodLiteral; }, z.core.$strict>]>>; role: z.ZodOptional>; text: z.ZodString; }, z.core.$strict>, z.ZodObject<{ op: z.ZodLiteral<"removeTool">; loop: z.ZodOptional>; }, z.core.$strict>>; tool: z.ZodString; }, z.core.$strict>, z.ZodObject<{ op: z.ZodLiteral<"setGuard">; guard: z.ZodUnion, z.ZodObject<{ index: z.ZodNumber; }, z.core.$strict>]>; branchPath: z.ZodOptional>; limit: z.ZodOptional; disarmed: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ op: z.ZodLiteral<"setLocal">; frame: z.ZodOptional>; depth: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ branchPath: z.ZodOptional>; scope: z.ZodString; }, z.core.$strict>]>>; name: z.ZodString; value: z.ZodUnknown; }, z.core.$strict>, z.ZodObject<{ op: z.ZodLiteral<"setBranchResult">; branch: z.ZodUnion; }, z.core.$strict>, z.ZodObject<{ key: z.ZodString; }, z.core.$strict>]>; value: z.ZodUnknown; }, z.core.$strict>, z.ZodObject<{ op: z.ZodLiteral<"setArg">; frame: z.ZodOptional>; depth: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ branchPath: z.ZodOptional>; scope: z.ZodString; }, z.core.$strict>]>>; name: z.ZodString; value: z.ZodUnknown; }, z.core.$strict>, z.ZodObject<{ op: z.ZodLiteral<"setGlobal">; module: z.ZodOptional; branchPath: z.ZodOptional>; name: z.ZodString; value: z.ZodUnknown; }, z.core.$strict>], "op">; export declare const checkpointEditsSchema: z.ZodArray; thread: z.ZodOptional, z.ZodObject<{ label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ active: z.ZodLiteral; }, z.core.$strict>]>>; role: z.ZodOptional>; text: z.ZodString; }, z.core.$strict>, z.ZodObject<{ op: z.ZodLiteral<"removeTool">; loop: z.ZodOptional>; }, z.core.$strict>>; tool: z.ZodString; }, z.core.$strict>, z.ZodObject<{ op: z.ZodLiteral<"setGuard">; guard: z.ZodUnion, z.ZodObject<{ index: z.ZodNumber; }, z.core.$strict>]>; branchPath: z.ZodOptional>; limit: z.ZodOptional; disarmed: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ op: z.ZodLiteral<"setLocal">; frame: z.ZodOptional>; depth: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ branchPath: z.ZodOptional>; scope: z.ZodString; }, z.core.$strict>]>>; name: z.ZodString; value: z.ZodUnknown; }, z.core.$strict>, z.ZodObject<{ op: z.ZodLiteral<"setBranchResult">; branch: z.ZodUnion; }, z.core.$strict>, z.ZodObject<{ key: z.ZodString; }, z.core.$strict>]>; value: z.ZodUnknown; }, z.core.$strict>, z.ZodObject<{ op: z.ZodLiteral<"setArg">; frame: z.ZodOptional>; depth: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ branchPath: z.ZodOptional>; scope: z.ZodString; }, z.core.$strict>]>>; name: z.ZodString; value: z.ZodUnknown; }, z.core.$strict>, z.ZodObject<{ op: z.ZodLiteral<"setGlobal">; module: z.ZodOptional; branchPath: z.ZodOptional>; name: z.ZodString; value: z.ZodUnknown; }, z.core.$strict>], "op">>; export type CheckpointEdit = z.infer; /** Why an edit, an address, or a patched checkpoint was refused. One * shape for the whole directory. */ export type Refusal = { refused: string; }; export declare function isRefusal(value: T | Refusal): value is Refusal;