Files
SnowLuma/.pnpm-store/v11/files/6e/23d57dadad80d4ddf17a82afd7d640b85a9ec2c10af896981141e4b181c902a2571486327db32e4207052b952e6416c1f7aa53cef327cd9f6322710ba1e478
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

20 lines
708 B
Plaintext

import Options from './Options';
import debounce from './utils/debounce';
import { Matcher, OptionsType, ZxcvbnResult } from './types';
declare class ZxcvbnFactory {
private options;
private scoring;
private matching;
private feedback;
private timeEstimates;
constructor(options?: OptionsType, customMatchers?: Record<string, Matcher>);
private estimateAttackTimes;
private getFeedback;
private createReturnValue;
private main;
check(password: string, userInputs?: (string | number)[]): ZxcvbnResult;
checkAsync(password: string, userInputs?: (string | number)[]): Promise<ZxcvbnResult>;
}
export * from './types';
export { ZxcvbnFactory, debounce, Options };