/** * @license * Copyright 2026 Qwen * SPDX-License-Identifier: Apache-2.0 */ import { type LiveMessageKey, type LiveMessageParams } from './i18n/messages.js'; /** Keep technical diagnostics stable while providing an owned UI message. */ export declare class ConfigurationError extends Error { readonly displayMessage: string; constructor(diagnostic: unknown, key: LiveMessageKey, params?: LiveMessageParams); } export declare function readConfigurationValue(key: LiveMessageKey, read: () => T, params?: LiveMessageParams): T; export declare function configurationErrorMessage(error: unknown): string;