import type { Tool, ToolResult, ToolInvocationContext } from "../types.js"; import type { NativeFileWriteObservation } from "../native-file-write-observation.js"; /** Identity only: a serialized observation can never become a producer receipt. */ export declare function readIssuedNativeFileWriteObservation(value: unknown): Readonly | undefined; export declare class FileWriteTool implements Tool { #private; name: string; description: string; parameters: { type: string; properties: { path: { type: string; description: string; }; content: { type: string; description: string; }; content_base64: { type: string; description: string; }; content_encoding: { type: string; enum: string[]; description: string; }; overwrite: { type: string; description: string; }; expected_hash: { type: string; description: string; }; dry_run: { type: string; description: string; }; }; required: string[]; anyOf: { required: string[]; }[]; }; private workingDir; getNativeFileWriteObservation(args: Record, result: ToolResult): unknown; constructor(workingDir: string); acceptsInvocationContext: boolean; execute(args: Record, context?: ToolInvocationContext): Promise; private executeLocked; }