/**
 * @license
 *-------------------------------------------------------------------------------------------
 * Copyright © 2026 Progress Software Corporation. All rights reserved.
 * Licensed under commercial license. See LICENSE.md in the package root for more information
 *-------------------------------------------------------------------------------------------
 */
/**
 * A service which provides localization methods.
 */
export declare class LocalizationService {
    /**
     * The language code used for localization. When no string is available for this language, the default value is returned.
     */
    language?: string;
    /**
     * Creates a new LocalizationService instance.
     *
     * @param language The language code for localization.
     */
    constructor(language?: string);
    /**
     * Provides a string based on a key for the current language. When no string for the current language is available under this key, the `defaultValue` is returned.
     *
     * @param key - The key which identifies the string for the current language.
     * @param defaultValue - The default value which will be returned when no string
     * for the current language is available under the key.
     * @return - The string for the current language.
     */
    toLanguageString(key: string, defaultValue: string): string;
}
