/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { InjectionToken, OnDestroy } from '@angular/core';
import { MessageService } from './message.service';
import { Subject } from 'rxjs';
import * as i0 from "@angular/core";
/**
 * Localization prefix for the component messages.
 *
 * For internal use.
 * @hidden
 */
export declare const L10N_PREFIX: InjectionToken<string>;
/**
 * Component localization service.
 *
 * For internal use.
 * @hidden
 */
export declare class LocalizationService implements OnDestroy {
    private prefix;
    private messageService;
    private _rtl;
    readonly changes: Subject<{
        rtl: boolean;
    }>;
    private subscription;
    private dictionary;
    constructor(prefix: string, messageService: MessageService, _rtl: boolean);
    get rtl(): boolean;
    ngOnDestroy(): void;
    get(shortKey: string): string;
    register(shortKey: string, value: string, override?: boolean): void;
    notifyChanges(): void;
    private key;
    private defaultValue;
    static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationService, [null, { optional: true; }, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<LocalizationService>;
}
