/** @opencode-ai/plugin の ToolContext のうち、このシムが使う部分の局所型。 */ interface ListToolContext { readonly agent: string; /** セッションのプロジェクトディレクトリ。相対パスの基準。 */ readonly directory: string; /** worktree ルート。境界(この外は拒否)。 */ readonly worktree: string; readonly abort: AbortSignal; ask(input: { permission: string; patterns: string[]; always: string[]; metadata: Record; }): Promise; } export declare const ListToolShim: () => Promise<{ tool: Record; execute(args: { path?: string; }, context: ListToolContext): Promise; }>; }>; export {}; //# sourceMappingURL=list-tool.d.ts.map