import { z } from "zod"; import type { AgentTool } from "@kenkaiiii/gg-agent"; import type { UiRegistry } from "../core/ui-registry.js"; import type { createWriteTool } from "./write.js"; declare const params: z.ZodObject<{ action: z.ZodEnum<{ plan: "plan"; apply: "apply"; }>; id: z.ZodString; planHash: z.ZodOptional; }, z.core.$strip>; export declare function createUiAdoptTool(cwd: string, registry: UiRegistry, writer: ReturnType, planModeRef?: { current: boolean; }): AgentTool; export {};