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) Skipped
20 lines
708 B
Plaintext
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 };
|