import { McpServerConfig, ToolSurface } from 'mcp-agentgate-core'; export interface GatherOptions { /** Explicit config file path (skips discovery). */ config?: string; /** Project directory for project-level config discovery. Default: cwd. */ projectDir?: string; /** Restrict to specific server names. */ server?: string[]; } export declare function gatherServers(opts: GatherOptions): { servers: McpServerConfig[]; files: string[]; }; export declare function gatherSurfaces(servers: McpServerConfig[], timeoutMs: number): Promise<{ surfaces: Record; errors: { server: string; error: string; }[]; }>;