import { AnyTool, AnyToolClass } from '../../../tools/base.js'; import 'ajv'; import '../../../context.js'; import '../../../emitter-kHxkUxco.js'; import '../../../internals/types.js'; import '../../../internals/helpers/guards.js'; import '../../../internals/serializable.js'; import '../../../internals/helpers/promise.js'; import '../../../errors.js'; import 'promise-based-task'; import '../../../cache/base.js'; import '../../../internals/helpers/schema.js'; import 'zod'; import 'zod-to-json-schema'; /** * Copyright 2025 © BeeAI a Series of LF Projects, LLC * SPDX-License-Identifier: Apache-2.0 */ type TargetType = string | AnyTool | AnyToolClass; type MultiTargetType = TargetType | TargetType[]; /** * Extract target name from various input types */ declare function extractTargetName(target: TargetType): string; /** * Extract set of target names from various input types */ declare function extractTargets(targets?: MultiTargetType): Set; /** * Check if a tool matches any target in the set */ declare function targetSeenIn(target: AnyTool | null | undefined, haystack: Set | TargetType): TargetType | null; /** * Assert that all targets exist in the tools list */ declare function assertAllRulesFound(targets: Set, tools: AnyTool[]): void; export { type MultiTargetType, type TargetType, assertAllRulesFound, extractTargetName, extractTargets, targetSeenIn };