import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import { ClientFactory } from './server.js'; /** * Available tool groups for agent-orchestrator. * - Domain groups: each domain has a base group (full access) and a _readonly variant (read-only) * - Composite groups: curated cross-domain tool sets (e.g., self_session) */ export type ToolGroup = 'sessions' | 'sessions_readonly' | 'notifications' | 'notifications_readonly' | 'triggers' | 'triggers_readonly' | 'health' | 'health_readonly' | 'self_session'; /** * Parse enabled tool groups from environment variable or parameter. * @param enabledGroupsParam - Comma-separated list of groups (e.g., "sessions,notifications") * @returns Array of enabled tool groups */ export declare function parseEnabledToolGroups(enabledGroupsParam?: string): ToolGroup[]; /** * Creates a function to register all tools with the server. * This pattern uses individual tool files for better modularity and testability. * * Each tool is defined in its own file under the `tools/` directory and follows * a factory pattern that accepts the server and clientFactory as parameters. * * @param clientFactory - Factory function that creates client instances * @param enabledGroups - Optional string of enabled tool groups (defaults to all) * @returns Function that registers all tools with a server */ export declare function createRegisterTools(clientFactory: ClientFactory, enabledGroups?: string): (server: Server) => void; export declare function registerTools(server: Server): void; //# sourceMappingURL=tools.d.ts.map