/** * Check if the string is StrongPassword * * @param str - The string to check * @param options = null - Options object * @returns True if the string matches the validation, false otherwise */ export default function isStrongPassword(str: string, options?: typeof defaultOptions): boolean | number; /** * @defaultValue * ```ts * { * minLength: 8, * minLowercase: 1, * minUppercase: 1, * minNumbers: 1, * minSymbols: 1, * returnScore: false, * pointsPerUnique: 1, * pointsPerRepeat: 0.5, * pointsForContainingLower: 10, * pointsForContainingUpper: 10, * pointsForContainingNumber: 10, * pointsForContainingSymbol: 10 * } * ``` */ declare const defaultOptions: { /** @defaultValue 8 */ minLength: number; /** @defaultValue 1 */ minLowercase: number; /** @defaultValue 1 */ minUppercase: number; /** @defaultValue 1 */ minNumbers: number; /** @defaultValue 1 */ minSymbols: number; /** @defaultValue false */ returnScore: boolean; /** @defaultValue 1 */ pointsPerUnique: number; /** @defaultValue 0.5 */ pointsPerRepeat: number; /** @defaultValue 10 */ pointsForContainingLower: number; /** @defaultValue 10 */ pointsForContainingUpper: number; /** @defaultValue 10 */ pointsForContainingNumber: number; /** @defaultValue 10 */ pointsForContainingSymbol: number };