UNPKG

vibe-coder-mcp

Version:

Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.

30 lines 1.79 kB
import { RetryConfig } from './timeout-manager.js'; export type ConfigFactory<T> = () => T; export interface TimeoutDependentConfig { readonly [key: string]: unknown; } export declare class LazyConfigContainer<T extends TimeoutDependentConfig> { private config; private configFactory; private readonly configName; constructor(configName: string, factory: ConfigFactory<T>); getConfig(): T; isInitialized(): boolean; reset(): void; } export declare function createLazyTimeoutConfig<T extends TimeoutDependentConfig>(configName: string, baseConfig: Omit<T, keyof TimeoutDependentConfig>, timeoutMappings: Record<string, string>, userOverrides?: Partial<T>): LazyConfigContainer<T>; export declare function createLazyRetryConfig<T extends TimeoutDependentConfig>(configName: string, baseConfig: Omit<T, keyof TimeoutDependentConfig>, retryMappings: Record<string, keyof RetryConfig>, userOverrides?: Partial<T>): LazyConfigContainer<T>; export declare function memoizeConfig<T>(configName: string, factory: ConfigFactory<T>): () => T; export declare class EnvironmentAwareConfig { private static readonly isTestEnv; private static readonly isDevEnv; private static readonly isProdEnv; static getTimeoutForEnv(baseTimeout: number, testTimeout?: number): number; static getConfigForEnv<T>(prodConfig: T, devConfig?: Partial<T>, testConfig?: Partial<T>): T; static allowsFallbacks(): boolean; } export declare class ConfigValidator { static validateRequired<T extends Record<string, unknown>>(config: T, requiredProps: (keyof T)[], configName: string): void; static validateTimeouts<T extends Record<string, unknown>>(config: T, timeoutProps: (keyof T)[], configName: string): void; } //# sourceMappingURL=lazy-config-loader.d.ts.map