export type Message = { message: string; i18n?: any | undefined; key: string; params: string[]; }; /** * @typedef {Object} Message * @property {string} message * @property {Object=} i18n * @property {string} i18n.key * @property {string[]} i18n.params */ /** * - If `message.i18n.key` exists and has a value in 'login.properties' * through the given key or via I18N_OVERRIDE_MAPPINGS, return the value. * * - returns `message.message` otherwise * * @param {Message} message */ export function getMessage(message: Message): string; /** * - iff `message.i18n.key` exists return the key. * * @param {Message} message */ export function getMessageKey(message: Message): any; export function getI18NParams(remediation: any, authenticatorKey: any): any[]; export function getI18nKey(i18nPath: any, remediation?: any): any; /** * Find i18n value using {@code i18nPath} if it exists. * Otherwise return {@code defaultValue}. * * @param {string} i18nPath * @param {string} defaultValue * @param {string[]} params * @param {Object} remediation */ export function getI18NValue(i18nPath: string, defaultValue: string, params?: string[], remediation?: any): string; export function doesI18NKeyExist(i18nKey: any): boolean; /** * Has this i18n key been overridden for customization? * @param {String} i18nKey * @param {Object} settings * @returns Boolean */ export function isCustomizedI18nKey(i18nKey: string, settings: any): boolean; /** * @param {Object} error */ export function getMessageFromBrowserError(error: any): any; //# sourceMappingURL=i18nUtils.d.ts.map