import { DynamicStructuredTool } from "@langchain/core/tools"; import { z } from "zod"; import { DriftSearchService } from "../../drift/services/drift.search.service"; import { ToolCallRecord, ToolFactory } from "../../graph/tools/tool.factory"; import { OperatorRetrievalContext } from "../interfaces/operator.tool.interface"; declare const inputSchema: z.ZodObject<{ question: z.ZodString; }, z.core.$strip>; export declare class SearchCommunitiesTool { private readonly factory; private readonly driftSearchService; constructor(factory: ToolFactory, driftSearchService: DriftSearchService); /** * `ctx` is appended AFTER `recorder`, not inserted before it: the signature is * public API and existing positional callers must keep compiling. Without it * the DRIFT run this tool triggers has nothing to bill and records nothing. */ build(recorder: ToolCallRecord[], ctx?: OperatorRetrievalContext): DynamicStructuredTool; invoke(input: z.infer, recorder: ToolCallRecord[], ctx?: OperatorRetrievalContext): Promise; } export {}; //# sourceMappingURL=search-communities.tool.d.ts.map