import * as i0 from '@angular/core'; import { OnDestroy, PipeTransform, Optional } from '@angular/core'; import { Observable } from 'rxjs'; type ITranslation = { DATEPICKER?: { RESPONSIVE?: { APPLY_BTN_TEXT?: string; }; A11Y?: { CALENDAR_BTN_ARIA_LABEL?: string; CALENDAR_FILLED_BTN_ARIA_LABEL?: string; CALENDAR_POPUP_ARIA_LABEL?: string; PREV_YEAR_BTN_ARIA_LABEL?: string; NEXT_YEAR_BTN_ARIA_LABEL?: string; YEAR_VALUE_ARIA_LABEL?: string; CLEAR_BTN_ARIA_LABEL?: string; }; }; DATERANGEPICKER?: { RESPONSIVE?: { APPLY_BTN_TEXT?: string; }; A11Y?: { CALENDAR_BTN_ARIA_LABEL?: string; CALENDAR_FILLED_BTN_ARIA_LABEL?: string; CALENDAR_POPUP_ARIA_LABEL?: string; CALENDAR_START_ARIA_LABEL?: string; CALENDAR_END_ARIA_LABEL?: string; CLEAR_BTN_ARIA_LABEL?: string; }; }; CONTEXT_MENU?: { A11Y?: { CLOSE_BTN_ARIA_LABEL?: string; }; }; BREADCRUMBS?: { A11Y?: { ARIA_LABEL?: string; COLLAPSED_BTN_ARIA_LABEL?: string; }; }; COLORPICKER?: { CUSTOM_COLOR_LABEL_TEXT?: string; CUSTOM_COLOR_DESCRIPTION_TEXT?: string; NO_COLOR_TEXT?: string; AUTOMATIC_TEXT?: string; RECENT_COLOR_TEXT?: string; APPLE_BTN_TEXT?: string; A11Y?: { ARIA_LABEL_CUSTOM_COLOR_FIELD?: string; ARIA_LABEL_COLOR_BTN?: string; ARIA_LABEL_ENTER_COLOR?: string; ARIA_LABEL_NO_COLOR?: string; ARIA_LABEL_APPLY_BTN?: string; INVALID_COLOR_TEXT?: string; VALID_COLOR_TEXT?: string; }; }; FILTER?: { SORTING_TITLE?: string; SORTING_ASCENDING_TEXT?: string; SORTING_DESCENDING_TEXT?: string; FILTER_TITLE?: string; CANCEL_BTN_TEXT?: string; APPLY_BTN_TEXT?: string; CHECKBOX_LABEL?: string; }; INPUT?: { MAX_LIMIT_TEXT?: string; }; NUMBER_INPUT?: { A11Y?: { UP_ARROW_ARIA_LABEL?: string; DOWN_ARROW_ARIA_LABEL?: string; MIN_VALUE_ARIA_DESCRIPTION?: string; MAX_VALUE_ARIA_DESCRIPTION?: string; }; }; SUGGESTION_TAGS_INPUT?: { A11Y?: { POPUP_ARIA_LABEL?: string; }; }; SELECT?: { A11Y?: { POPUP_ARIA_LABEL?: string; }; }; MULTISELECT?: { A11Y?: { POPUP_ARIA_LABEL?: string; }; RESPONSIVE?: { CLEAR_BTN_TEXT?: string; APPLY_BTN_TEXT?: string; }; }; PROGRESS?: { A11Y?: { ARIA_LABEL?: string; }; }; PAGER?: { A11Y?: { INPUT_ARIA_LABEL?: string; }; }; PAGINATION?: { PREV_BTN_TEXT?: string; NEXT_BTN_TEXT?: string; A11Y?: { PREV_BTN_ARIA_LABEL?: string; NEXT_BTN_ARIA_LABEL?: string; BTN_ARIA_LABEL?: string; ELLIPSIS_BTN_ARIA_LABEL?: string; }; RESPONSIVE?: { PAGES_TEXT?: string; }; }; RICH_TEXT_EDITOR?: { A11Y?: { TOOLBAR_ARIA_LABEL?: string; COLLAPSED_BTN_ARIA_LABEL?: string; INPUT_LINK_ARIA_LABEL?: string; CANCEL_LINK_LABEL?: string; APPLY_LINK_LABEL?: string; EDIT_LINK_LABEL?: string; UNLINK_LINK_LABEL?: string; POPUP_ARIA_LABEL?: string; }; }; SPINNER?: { A11Y?: { ARIA_LABEL?: string; }; }; TAG?: { A11Y?: { CLOSE_BTN_ARIA_LABEL?: string; }; }; SEARCH?: { A11Y?: { CLEAR_BTN_ARIA_LABEL?: string; }; }; TEXTAREA?: { MAX_LIMIT_TEXT?: string; }; TIMEPICKER?: { A11Y?: { ARROW_DOWN_ARIA_LABEL?: string; ARROW_UP_ARIA_LABEL?: string; OPEN_POPUP_ARIA_LABEL?: string; POPUP_ARIA_LABEL?: string; CLEAR_BTN_ARIA_LABEL?: string; }; RESPONSIVE?: { APPLY_BTN_TEXT?: string; }; }; WIZARD?: { A11Y?: { ARIA_LABEL?: string; }; }; TABS?: { A11Y?: { POPUP_ARIA_LABEL?: string; }; }; UPLOADER?: { DRAG_AND_DROP_TEXT?: string; REFRESH_BTN_TEXT?: string; ERROR_MAX_SIZE?: string; MAX_FILES_ERROR_TEXT?: string; SPECIAL_SYMBOLS_ERROR_TEXT?: string; FILE_TYPE_ERROR_TEXT?: string; NO_FILE_TYPE_ERROR_TEXT?: string; MAX_TOTAL_SIZE_ERROR_TEXT?: string; NAME_LENGTH_ERROR_TEXT?: string; DUPLICATE_ERROR_TEXT?: string; EXTENSION_ERROR_TEXT?: string; A11Y?: { DOWNLOAD_ARIA_LABEL?: string; REMOVE_ARIA_LABEL?: string; }; }; HEADER?: { A11Y?: { HEADER_ARIA_LABEL?: string; ADDITIONAL_NAV_ARIA_LABEL?: string; BTN_NAV_OPEN_ARIA_LABEL?: string; BTN_NAV_CLOSE_ARIA_LABEL?: string; BTN_SEARCH_OPEN_ARIA_LABEL?: string; BTN_ADDITIONAL_NAV_OPEN_ARIA_LABEL?: string; }; }; PROFILE?: { A11Y?: { CONTENT_ARIA_LABEL?: string; }; }; LIST?: { A11Y?: { LIST_ARIA_LABEL?: string; LIST_ITEM_BTN_ARIA_LABEL?: string; }; }; LISTBOX?: { EMPTY_STATE_TEXT?: string; A11Y?: { SOURCE_AREA_ARIA_LABEL?: string; DESTINATION_AREA_ARIA_LABEL?: string; ADD_BTN_ARIA_LABEL?: string; REMOVE_BTN_ARIA_LABEL?: string; MENU_ARIA_DESCRIPTION?: string; ITEM_ARIA_LABEL?: string; }; }; }; declare class I18nService { /** * BehaviorSubject to hold the current translations. */ private translations; /** * BehaviorSubject to hold the current locale. */ private locale; /** * Sets the current locale and optionally updates the translations. */ setLocale(language: string, strings?: ITranslation): void; /** * Gets the current locale. */ getLocale(): string; /** * Gets an observable of the current locale. */ getLocaleObs(): Observable; /** * Gets the current translations. */ getTranslation(): ITranslation; /** * Gets an observable of the current translations. */ getTranslationObs(): Observable; /** * Joins a value into a string, splitting the string by a separator and inserting the value between the split parts. */ joinByValue(value: string, separator: string, string: string): string; /** * Splits a string by a given separator. */ splitByValue(separator: string, string: string): string[]; /** * Updates the current translations. */ private set; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class I18nDatePipe implements OnDestroy, PipeTransform { locale: string; private i18n; private cache; private destroy; private localeByService; constructor(locale: string, i18n: I18nService); transform(value: Date | string | number, format?: string, timezone?: string, locale?: string): string | null; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare function I18N_SERVICE_PROVIDER_FACTORY(parentService: I18nService): I18nService; declare const I18N_SERVICE_PROVIDER: { provide: typeof I18nService; deps: Optional[][]; useFactory: typeof I18N_SERVICE_PROVIDER_FACTORY; }; declare class I18nModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare const EN: ITranslation; export { EN, I18N_SERVICE_PROVIDER, I18N_SERVICE_PROVIDER_FACTORY, I18nDatePipe, I18nModule, I18nService }; export type { ITranslation };