import { InputStrength } from '@mezzanine-ui/core/input'; import type { FormHintTextProps } from '../../Form/FormHintText'; import { NativeElementPropsWithoutKeyAndRef } from '../../utils/jsx-types'; export interface PasswordStrengthIndicatorProps extends NativeElementPropsWithoutKeyAndRef<'div'> { /** * The strength of password. * @default 'weak' */ strength?: InputStrength; /** * The text to show beside the strength indicator bar. */ strengthText?: string; /** * The prefix text for strength text. * @default '密碼強度:' */ strengthTextPrefix?: string; /** * The hint texts to show below the strength indicator bar. */ hintTexts?: { severity: FormHintTextProps['severity']; hint: string; }[]; } /** * The react component for `mezzanine` password strength indicator. */ declare const PasswordStrengthIndicator: import("react").ForwardRefExoticComponent>; export default PasswordStrengthIndicator;