/** Scoring levels for password strength. */ export type PasswordStrengthLevel = 'empty' | 'weak' | 'fair' | 'good' | 'strong'; /** Props accepted by . */ export type OrePasswordStrengthProps = { /** Accessible name for assistive technology. Default: 'Password strength'. */ label?: string; /** * Optional level labels in order: empty, weak, fair, good, strong. * If omitted or invalid length, defaults are used. */ labels?: string[]; /** * Optional score override (0..4). Use this to integrate external scorers * such as zxcvbn while keeping block rendering and accessibility behavior. * -1 means no override (default). */ score?: number; /** Whether to render visible textual feedback. Default: true. */ 'show-label'?: boolean; /** Password string to evaluate. */ value?: string; }; /** * Strong password meter with segmented progress visualization. * * Built-in scoring is heuristic and conservative: * - length < 6 => weak * - length >= 8 with mixed case => fair * - + digit or symbol => good * - length >= 12 with mixed case, digit and symbol => strong * * @element ore-password-strength * * @attr {string} value - Password string to evaluate * @attr {number} score - Optional score override (0..4). Use -1 for no override (default: -1) * @attr {boolean} show-label - Show visible feedback label (default: true) * @attr {string} label - Accessible name (default: 'Password strength') * * @cssprop --password-strength-height Segment bar height * @cssprop --password-strength-gap Gap between segments * @cssprop --password-strength-radius Segment corner radius * @cssprop --password-strength-track-bg Inactive segment color * @cssprop --password-strength-label-size Visible label font size * @cssprop --password-strength-label-color Visible label color * @cssprop --password-strength-weak-color Weak state segment color * @cssprop --password-strength-fair-color Fair state segment color * @cssprop --password-strength-good-color Good state segment color * @cssprop --password-strength-strong-color Strong state segment color * * @example * ```html * * * * * * * * ``` */ export declare const PASSWORD_STRENGTH_TAG: "ore-password-strength"; //# sourceMappingURL=password-strength.d.ts.map