export declare const MIN_PASSWORD_LENGTH = 16; export declare const MIN_CHARACTER_CLASSES = 3; export declare const MAX_CONSECUTIVE_REPEATED = 3; export declare const MIN_SEQUENTIAL_LENGTH = 4; /** * Reason categories for password validation failures. */ export type PasswordValidationFailure = 'missing' | 'too_short' | 'insufficient_classes' | 'repeated_characters' | 'sequential_pattern'; /** * Thrown when a password does not satisfy the strength policy applied to * private storage and export/import operations. */ export declare class PasswordValidationError extends Error { readonly reason: PasswordValidationFailure; constructor(message: string, reason: PasswordValidationFailure); } /** * Shared password strength policy for private storage and export/import operations. * Throws {@link PasswordValidationError} on the first violated rule. */ export declare const validatePassword: (password: string) => void; //# sourceMappingURL=password-validation.d.ts.map