/** * Interface that all tool classes should implement to enable dynamic tool discovery */ export interface ToolDiscovery { getHandledToolNames(): string[]; } /** * Mixin function that provides reflection-based tool discovery * Finds all async methods that return Promise and treats them as tool handlers */ export declare function getHandledToolNames(instance: any): string[]; /** * Helper to add the ToolDiscovery implementation to any class */ export declare function implementToolDiscovery any>(Base: T): { new (...args: any[]): { [x: string]: any; getHandledToolNames(): string[]; }; } & T;