import { z } from 'zod'; import { fieldDiffResultSchema } from '../schemas.js'; import { type SkippedField } from '../fieldDiffApproval.js'; declare const operationSchema: z.ZodObject<{ uuid: z.ZodString; fieldName: z.ZodString; search: z.ZodString; replace: z.ZodString; selector: z.ZodOptional, z.ZodBoolean>>; }, z.core.$strip>; declare const updateSchema: z.ZodObject<{ uuid: z.ZodString; fieldName: z.ZodString; value: z.ZodString; }, z.core.$strip>; export declare const paramsSchema: z.ZodObject<{ updates: z.ZodOptional>>; operations: z.ZodOptional, z.ZodBoolean>>; }, z.core.$strip>>>; requireApproval: z.ZodOptional, z.ZodBoolean>>; }, z.core.$strip>; export type BatchRewriteParams = z.infer; export type BatchRewriteResult = z.infer; /** * The resolved params handed to the component after `execute` has dropped * references that don't exist. `updates`/`operations` are pre-filtered to valid * (uuid, fieldName) pairs; `skipped` lists what was dropped so the component can * report it back to the agent. */ export type ComponentParams = { updates?: z.infer[]; operations?: z.infer[]; requireApproval?: boolean; skipped: SkippedField[]; }; export declare const resultSchema: z.ZodObject<{ acceptedCount: z.ZodNumber; rejectedByUser: z.ZodRecord; reasonForRejection: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>>>; label: z.ZodString; agentMessage: z.ZodOptional; historyIndex: z.ZodOptional; }, z.core.$strip>; declare const _default: any; export default _default;