/** * @license * Copyright 2025 Aether team * SPDX-License-Identifier: Apache-2.0 */ export type SupportedLanguage = 'en' | string; export interface LanguageDefinition { /** The internal locale code used by the i18n system (e.g., 'en'). */ code: SupportedLanguage; /** The standard name used in UI settings (e.g., 'en-US'). */ id: string; /** The full English name of the language (e.g., 'English'). */ fullName: string; /** The native name of the language (e.g., 'English'). */ nativeName?: string; } export declare const SUPPORTED_LANGUAGES: readonly LanguageDefinition[]; /** * Maps a locale code to its English language name. * Used for LLM output language instructions. */ export declare function getLanguageNameFromLocale(locale: SupportedLanguage): string; /** * Gets the language options for the settings schema. */ export declare function getLanguageSettingsOptions(): Array<{ value: string; label: string; }>; /** * Gets a string containing all supported language IDs (e.g., "en-US|zh-CN"). */ export declare function getSupportedLanguageIds(separator?: string): string;