import type { McpGlobalConfig, Employee, ResolvedMcpConfig } from "../shared/types.js"; export type { ResolvedMcpConfig } from "../shared/types.js"; export { MCP_CAPABLE_ENGINES, isMcpCapableEngine } from "./attachment.js"; /** * Resolve the MCP servers that should be available for a given employee * based on global config and employee-level overrides. * * GRS-017e: membership of the built-in `jinn` server is decided in exactly ONE * place — `decideJinnAttachment` (mcp/attachment.ts), composing the master * flag × engine capability × per-engine opt-out × per-employee override × the * authed-smoke gate. `engine` is optional for backward compatibility: when * omitted, the caller has already gated on `isMcpCapableEngine` (both * production call sites do) and per-engine opt-outs cannot apply. */ export declare function resolveMcpServers(globalMcp: McpGlobalConfig | undefined, employee?: Employee, engine?: string): ResolvedMcpConfig; /** * Write a resolved MCP config to a temp file and return the path. * Claude Code reads this via --mcp-config . */ export declare function writeMcpConfigFile(config: ResolvedMcpConfig, sessionId: string): string; /** * Clean up a temp MCP config file. */ export declare function cleanupMcpConfigFile(sessionId: string): void; /** * Sweep temp MCP config dirs left behind by sessions the gateway no longer knows * about. Their lifetime is owned by the PTY, so a hard kill can orphan them. * Returns the number of directories removed. */ export declare function sweepOrphanMcpConfigFiles(liveSessionIds: string[]): number; //# sourceMappingURL=resolver.d.ts.map