import { BeanStub } from '../core/beanStub'; import type { AiArtifactStore } from './artifacts/types'; import type { AnyTool } from './tools/types'; export type ToolSpec = string | { name: string; params?: Record; }; export type ArtifactContext = { artifactStore: AiArtifactStore; artifactIds: string[]; }; export declare class AiToolLibrary extends BeanStub { beanName: "aiToolLibrary"; /** Each factory may accept its own specific params shape; the map erases that to `any`. */ private readonly toolMap; getTool(spec: ToolSpec): AnyTool; findTool(spec: ToolSpec): AnyTool | undefined; private createAiTool; }