import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js"; import { ToolBase } from "../../../shared/index.js"; import { z } from "zod"; declare const paramsSchema: z.ZodObject<{ realmUid: z.ZodString; sourceOriginationUid: z.ZodString; targetOriginationUid: z.ZodOptional; stepUids: z.ZodArray; cloneRules: z.ZodDefault; newStepUids: z.ZodOptional>; positionStart: z.ZodOptional; }, z.core.$strip>; export type ParamsSchema = z.infer; declare class StepCloneTool extends ToolBase { protected config: { name: string; description: string; annotations: { title: string; readOnlyHint: boolean; idempotentHint: boolean; destructiveHint: boolean; }; }; protected getParamsSchema(): z.ZodObject<{ realmUid: z.ZodString; sourceOriginationUid: z.ZodString; targetOriginationUid: z.ZodOptional; stepUids: z.ZodArray; cloneRules: z.ZodDefault; newStepUids: z.ZodOptional>; positionStart: z.ZodOptional; }, z.core.$strip>; protected getOutputSchema(): z.ZodObject<{ targetOriginationId: z.ZodOptional; targetOriginationUid: z.ZodOptional; clonedStepsCount: z.ZodOptional; clonedSteps: z.ZodOptional>>; rulesClonedCount: z.ZodOptional; }, z.core.$strip>; protected execute(params: ParamsSchema): Promise; /** * Deep clone a step with new UUIDs */ private cloneStep; /** * Deep clone a task with new UUIDs */ private cloneTask; /** * Deep clone a question with new UUIDs (handles recursive children) */ private cloneQuestion; /** * Clone rules with updated UUIDs based on mappings */ private cloneRules; /** * Check if rule conditions reference any UUIDs in mappings */ private ruleReferencesMapping; /** * Update rule conditions with new UUIDs */ private updateRuleConditions; } export declare const StepClone: StepCloneTool; export {}; //# sourceMappingURL=StepClone.d.ts.map