import { DynamicStructuredTool } from "@langchain/core/tools"; import { z } from "zod"; import { ToolFactory, ToolCallRecord, UserContext } from "./tool.factory"; import { GraphSearchService } from "../services/graph.search.service"; import { GraphCatalogService } from "../services/graph.catalog.service"; import { ToolFieldFormatterService } from "../services/field-formatting"; import { EntityServiceRegistry } from "../../../common/registries/entity.service.registry"; import { ScopeGuard } from "../services/scope.guard"; declare const inputSchema: z.ZodObject<{ type: z.ZodString; filters: z.ZodOptional; sort: z.ZodOptional; limit: z.ZodOptional; }, z.core.$strict>; export { inputSchema as searchEntitiesInputSchema }; export declare class SearchEntitiesTool { private readonly factory; private readonly _search; private readonly catalog; private readonly registry; private readonly scopeGuard; private readonly formatter; constructor(factory: ToolFactory, _search: GraphSearchService, catalog: GraphCatalogService, registry: EntityServiceRegistry, scopeGuard: ScopeGuard, formatter: ToolFieldFormatterService); build(ctx: UserContext, recorder: ToolCallRecord[]): DynamicStructuredTool; invoke(input: z.infer, ctx: UserContext, recorder: ToolCallRecord[]): Promise; /** * Drop records outside the run's scope. An unscoped run short-circuits * before the guard is consulted — the same contract ScopeGuard.filter * applies internally, restated here so an unscoped run never depends on it. */ private filterInScope; private buildOutput; } //# sourceMappingURL=search-entities.tool.d.ts.map