/** * Creates an i18n adapter from a plain translations object. * * Usage: * import de from 'pwstrength/locales/de.json'; * new PasswordStrength(el, { i18n: createI18n(de) }); */ export declare function createI18n(translations: Record): { t: (key: string) => string; };