import type { PluginService } from "../service.ts"; import type { PluginContext } from "../context.ts"; import { type GraphToolSet } from "../../graph/tools/index.ts"; export declare class ToolService implements PluginService { readonly name = "tool-service"; readonly dependencies: string[]; private tools; /** * The single GraphToolSet instance (subtask 2) backing BOTH the `graph_*` * tools (threaded into buildCanonicalTools via the `graphTools` option) and * the HookDeps `graphTools` in-flight query (consumed by hook-service via * {@link getGraphToolSet}). Constructed once so both surfaces observe the * same in-memory graph registry. */ private graphToolSet?; init(ctx: PluginContext): Promise; dispose(): Promise; getTools(): Record; /** * The single GraphToolSet instance (subtask 2) backing the graph_* tools and * the HookDeps `graphTools` in-flight query. `undefined` only if init() has * not run yet (or failed). hook-service reads this when assembling HookDeps. */ getGraphToolSet(): GraphToolSet | undefined; } //# sourceMappingURL=tool-service.d.ts.map