import { InjectionToken } from '@angular/core'; import { PathBased } from '../abstract/path-based'; import { LfI18n } from '../services/i18n.service'; import { LfStorage } from '../services/storage.service'; import * as i0 from "@angular/core"; /** * Injection token used to specify whether the i18n directive should render its * text as HTML (by default it renders it as plain text). */ export declare const LF_I18N_RENDER_AS_HTML: InjectionToken; /** * Directive used to render a translation within the element on which it is * applied. This directive uses `innerHTML` to render the translation text, * encoding the HTML by default. It is possible to render HTML by providing the * option. */ export declare class I18nDirective extends PathBased { private i18nRenderAsHtml; /** * Key used to access the i18n value. */ key: string; /** * Whether to use the state to cache the value of the translation. */ useState: boolean; /** * Transformation function to apply to the i18n value. */ transform?: (value: any) => string; constructor(parentPathBasedComponent: PathBased | null, lfStorage: LfStorage, lfI18n: LfI18n, i18nRenderAsHtml?: boolean); /** * Translation rendered by the directive. */ get translation(): any; get _hostInnerHTML(): string; private get _translationFromState(); private get _translationNotFromState(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }