import { Server } from '@modelcontextprotocol/sdk/server/index.js';
import { Tool } from '@modelcontextprotocol/sdk/types.js';
import { EPortalClient } from './api-client.js';
export type ToolHandler = (args: any, client: EPortalClient) => Promise<{
    content: Array<{
        type: string;
        text: string;
    }>;
    isError?: boolean;
}>;
export declare class ToolRegistry {
    private tools;
    private handlers;
    addTool(tool: Tool, handler: ToolHandler): void;
    registerWithServer(server: Server, client: EPortalClient): void;
}
//# sourceMappingURL=tool-registry.d.ts.map