import type { AgentInvokeOptions, AgentOptions, Message } from "../../../agents/agent.js"; import { AFSSkillBase } from "./base.js"; export interface AFSEditInput extends Message { path: string; oldString: string; newString: string; replaceAll?: boolean; } export interface AFSEditOutput extends Message { status: string; tool: string; path: string; message: string; snippet: string; } export interface AFSEditAgentOptions extends AgentOptions { afs: NonNullable["afs"]>; } export declare class AFSEditAgent extends AFSSkillBase { constructor(options: AFSEditAgentOptions); process(input: AFSEditInput, _options: AgentInvokeOptions): Promise; private countOccurrences; private extractSnippet; }