/** * @name Localization * @category Text * @summary Use for displaying localized text from translation keys. */ export declare class Q2Loc { mutationObserver: MutationObserver; hostElement: HTMLElement; /** * When true, allows HTML tags in the localized string to be rendered as HTML. * @warning Only use this with trusted localization strings, as it uses innerHTML and may expose XSS vulnerabilities. See the FAQ "Can I add HTML to my localization strings?" for usage guidance. */ ignoreTag: boolean; /** Any substitutions you would like to pass into the localization string. */ substitutions: string[]; /** * The reference to the localization key you would like to display the localized output of. * If no value is provided, any text inside the element will be used as a fallback. * @localizable */ value: string; disconnectedCallback(): void; componentWillLoad(): void; componentDidLoad(): void; componentDidRender(): void; get hostTextContent(): string; get translatedValue(): string; initMutationObserver: () => void; initValue: () => void; mutationHandler: () => void; render(): string; }