/** * aft_safety — operation undo, per-file history, named checkpoints, restore, list. */ 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 SafetyParams: Type.TObject<{ op: Type.TUnsafe<"undo" | "history" | "checkpoint" | "restore" | "list">; path: Type.TOptional; name: Type.TOptional; files: Type.TOptional>; }>; /** Exported for renderer unit tests. */ export declare function buildSafetySections(args: Static, payload: unknown, theme: Theme): string[]; /** Exported for renderer unit tests. */ export declare function renderSafetyCall(args: Static, theme: Theme, context: RenderContextLike): import("@earendil-works/pi-tui").Text; /** Exported for renderer unit tests. */ export declare function renderSafetyResult(result: AgentToolResult, args: Static, theme: Theme, context: RenderContextLike, options?: RenderResultOptionsLike): import("@earendil-works/pi-tui").Component | import("@earendil-works/pi-tui").Text; export declare function registerSafetyTool(pi: ExtensionAPI, ctx: PluginContext): void; export {}; //# sourceMappingURL=safety.d.ts.map