/** * Bhived MCP Server — Configuration * * Environment-based configuration for the REST API connection, * authentication, timeouts, transport selection, and capability limits. */ export interface BhivedConfig { /** Base URL of the Bhived REST API */ apiUrl: string; /** API key for REST API authentication (sent as X-API-Key header) */ apiKey: string | undefined; /** Request timeout in milliseconds */ timeout: number; /** Transport mode: "stdio" or "http" */ transport: "stdio" | "http"; /** HTTP port (only used when transport is "http") */ httpPort: number; /** Max retries when the backend returns 503 models_warming on a query */ modelWarmupRetries: number; /** Team scope recorded at CLI sign-in for a team-provisioned key. */ team?: { id: string; name?: string; }; /** Plan recorded at CLI sign-in (e.g. "team", "pro", "free"). */ plan?: string; /** * True when the active key IS the stored key (or came from the stored * config). Only then may the MCP persist live scope to config.json or * rewrite instruction files — otherwise it would stamp another key's * scope onto state that agents using the stored key rely on. */ tenancyTrusted: boolean; /** Maximum number of active skills at any time */ maxActiveSkills: number; /** Maximum number of standalone (non-skill-bundled) child MCPs */ maxStandaloneMcps: number; /** Maximum total child MCP processes (standalone + skill-bundled) */ maxChildProcesses: number; /** Maximum bundled MCPs per skill */ maxBundledMcps: number; /** Script execution timeout in milliseconds */ scriptTimeout: number; /** Health check interval for child MCPs in milliseconds */ childHealthInterval: number; } export declare function loadConfig(): BhivedConfig; /** Path of the CLI-owned credential/scope store, shared with `bhived` setup. */ export declare function getStoredConfigPath(): string; /** Singleton config instance */ export declare const config: BhivedConfig; //# sourceMappingURL=config.d.ts.map