/** Pi transport for host-neutral operations. */ import { type ExtensionAPI, type ExtensionToolContext } from "@earendil-works/pi-coding-agent"; import type { AgentToolResult } from "@earendil-works/pi-agent-core"; import type { Static, TSchema } from "typebox"; import type { Operation, Outcome, Renderer } from "../tools/result.js"; /** Operation data is schema-derived JSON; only the unresolved generic needs a JsonValue assertion. */ export declare function piOperationResult(render: Renderer, outcome: Outcome): AgentToolResult; /** Register `operation` as a Pi tool; `run` supplies only the host context it needs. */ export declare function registerOperation(pi: ExtensionAPI, operation: Operation, run: (params: Static, ctx: ExtensionToolContext) => Promise>): void;