import type { ToolDefinition } from "@opencode-ai/plugin"; import type { GrepArgs, GrepOutput } from "./types"; type CommandResult = { exitCode: number; stdout: string; stderr: string; }; export type GrepCommandRunner = (command: string[], cwd: string) => Promise; export declare function executeGrep(args: GrepArgs, context: { directory: string; }, runner?: GrepCommandRunner): Promise; export declare function createGrepTool(runner?: GrepCommandRunner): ToolDefinition; export {};