/**
 * LspConfig schema and parsing
 *
 * @see spec.md US-002: Configurable Timeouts
 * @satisfies AC-US2-01, AC-US2-04
 */
export declare const DEFAULT_TIMEOUT = 120;
export declare const DEFAULT_WARMUP_TIMEOUT = 90;
/**
 * Parsed and validated LSP configuration with defaults applied
 */
export interface LspConfig {
    /** Global timeout in seconds */
    timeout: number;
    /** Warm-up timeout in seconds */
    warmupTimeout: number;
    /** Per-language timeout overrides */
    perLanguage?: Record<string, {
        timeout?: number;
        warmupTimeout?: number;
    }>;
    /** Custom LSP server configurations */
    servers?: Record<string, {
        command: string;
        args?: string[];
        filePatterns?: string[];
        languageId?: string;
        initializationOptions?: Record<string, unknown>;
    }>;
}
/**
 * Parse and validate LSP configuration from raw config object
 *
 * Uses safeParse to gracefully handle invalid configurations,
 * falling back to defaults when validation fails.
 *
 * @param rawConfig - Raw configuration object (typically from config.json)
 * @returns Validated LspConfig with defaults applied
 */
export declare function parseLspConfig(rawConfig: unknown): LspConfig;
//# sourceMappingURL=lsp-config.d.ts.map