import type { ValidatedPasswordCollector } from './collector.types.js'; import { Validator } from './client.types.js'; /** * @function returnPasswordPolicyValidator - Creates a validator function that checks a candidate * value against the `passwordPolicy` embedded on a `ValidatedPasswordCollector`. Rules mirror the * native SDKs: length bounds, minimum unique characters, maximum repeated character occurrences, * and per-charset minimums. Returns `[]` when no policy is present on the collector. * @param {ValidatedPasswordCollector} collector - The collector whose output may carry a passwordPolicy. * @returns {Validator} - A validator that returns human-readable error strings. */ export declare function returnPasswordPolicyValidator(collector: ValidatedPasswordCollector): Validator; //# sourceMappingURL=password-policy.rules.d.ts.map