/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { Subject } from 'rxjs'; import * as i0 from "@angular/core"; /** * Represents a base class for a service that returns localized messages. * * For more information, refer to the section on [using the message service]({% slug messages_l10n %}#toc-using-the-message-service). * * @example * ```ts * export class CustomMessageService extends MessageService { * public get(key: string): string { * return this.messages[key]; * } * } * ``` */ export declare class MessageService { /** * @hidden */ constructor(); /** * @hidden */ readonly changes: Subject<{ rtl: boolean; }>; /** * Notifies the components that the messages changed. * * @param rtl - (Optional) The new value for the [text direction token]({% slug api_l10n_rtl %}). */ notify(rtl?: boolean): void; /** * Returns a localized message for the supplied key. * * @param _key - The message key. For example, `"kendo.grid.noRecords"`. * @return - The localized message for this key or `undefined` if not found. */ get(_key: string): string | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }