import { MIN_PASSWORD_LENGTH, PASSWORD_REQUIREMENTS, PasswordPolicyContext, PasswordRequirement, PolicyViolation } from "./password-policy-rules.js";

//#region src/auth/password-policy.d.ts
declare function validatePasswordPolicy(password: string, context?: PasswordPolicyContext): PolicyViolation[];
declare function enforcePasswordPolicy(password: string, context?: PasswordPolicyContext): void;
declare function checkPasswordPolicy(ctx: {
  path: string;
  body: unknown;
}): Promise<void>;
/** @deprecated Renamed to `checkPasswordPolicy`. Will be removed in a future major version. */
declare const passwordPolicyHook: typeof checkPasswordPolicy;
declare function generateCompliantPassword(length?: number): string;
//#endregion
export { MIN_PASSWORD_LENGTH, PASSWORD_REQUIREMENTS, type PasswordPolicyContext, type PasswordRequirement, type PolicyViolation, checkPasswordPolicy, enforcePasswordPolicy, generateCompliantPassword, passwordPolicyHook, validatePasswordPolicy };