import { t } from "structural"; import { Transport } from "../../transports/transport-common.ts"; declare const Schema: t.Struct<{ name: t.Value<"edit">; arguments: t.Type; replace: t.Type; filePath: t.Type; }>>; }>; declare const _default: { Schema: t.Struct<{ name: t.Value<"edit">; arguments: t.Type; replace: t.Type; filePath: t.Type; }>>; }>; ArgumentsSchema: t.Type; replace: t.Type; filePath: t.Type; }>>; validate: typeof validate; DiffEdit: t.Struct<{ search: t.Type; replace: t.Type; }>; run(signal: AbortSignal, transport: Transport, call: import("../../history.ts").SequenceIdTagged<{ tool: t.UnwrappedTypeStruct<{ name: t.Value<"edit">; arguments: t.Type; replace: t.Type; filePath: t.Type; }>>; }>; }>): Promise<{ content: string; }>; }; export default _default; declare function validate(signal: AbortSignal, transport: Transport, toolCall: t.GetType): Promise;