UNPKG

@wavequery/conductor

Version:
13 lines (12 loc) 388 B
import { Tool } from '@/types/interfaces/tool'; import { ToolType } from '@/types/enums/tool-type'; export declare class ToolRegistry { private tools; private typeIndex; register(tool: Tool, type: ToolType): void; get(name: string): Tool; getByType(type: ToolType): Tool[]; unregister(name: string): void; listTools(): string[]; listTypes(): ToolType[]; }