/** * aft_delete + aft_move — filesystem ops with per-file backup. * Both go through Rust so backups and checkpoint rollback work the same way. */ import type { AgentToolResult, ExtensionAPI, Theme } from "@earendil-works/pi-coding-agent"; import { type Static, Type } from "typebox"; import type { PluginContext } from "../types.js"; import { type RenderContextLike, type RenderResultOptionsLike } from "./render-helpers.js"; declare const DeleteParams: Type.TObject<{ files: Type.TArray; recursive: Type.TOptional; }>; declare const MoveParams: Type.TObject<{ path: Type.TString; destination: Type.TString; }>; export interface FsSurface { delete: boolean; move: boolean; } /** Exported for renderer unit tests. */ export declare function renderFsCall(toolName: "aft_delete" | "aft_move", args: Static | Static, theme: Theme, context: RenderContextLike): import("@earendil-works/pi-tui").Text; /** Exported for renderer unit tests. */ export declare function renderFsResult(toolName: "aft_delete" | "aft_move", args: Static | Static, result: AgentToolResult, theme: Theme, context: RenderContextLike, options?: RenderResultOptionsLike): import("@earendil-works/pi-tui").Component | import("@earendil-works/pi-tui").Text; export declare function registerFsTools(pi: ExtensionAPI, ctx: PluginContext, surface: FsSurface): void; export {}; //# sourceMappingURL=fs.d.ts.map