import type { McpMode } from '../types.js'; /** * Codemode - `execute` sandbox and `describeTools`. Gated by the org-level `mcpMode` * entitlement (GrowthBook `mcp-mode` flag → PLAN_GATES JWT). * * Read the VALUE, never `canAccessFeature('mcpMode')` — 'tools' is truthy. * Only call these helpers where EntitlementsProvider is initialized: the build lifecycle * and web-server routes. Request handlers and workers run in module graphs with an * UNINITIALIZED provider copy — they must read the build-stamped `mcpMode` from static * data / McpToolContext instead (see docs-mcp-handler / execute-mcp-tool). */ export declare function isMcpCodeModeEnabled(): boolean; /** The gateway capability — a guarded `fetch` in the `execute` sandbox. Requires code mode. */ export declare function isMcpGatewayEnabled(): boolean; export declare function isMcpElicitationEnabled(): boolean; export declare function getMcpMode(): McpMode; //# sourceMappingURL=mode.d.ts.map