/** * Options for the PasswordGenerator function. * @interface */ interface PasswordGeneratorOptions { length?: number; includeLower?: boolean; includeCaps?: boolean; includeNums?: boolean; includeSpecs?: boolean; characters?: string; numberOfPasswords?: number; } /** * Generates a random password based on the provided options. * @param options Configuration options for generating the password. * @returns A string representing the generated password or an array of passwords if numberOfPasswords is specified. * * @example * // Generates a 12-character password with all options enabled * const password = PasswordGenerator({ length: 12 }); * console.log(password); * * @example * // Generates 5 passwords using a custom set of characters * const passwordBulk = PasswordGenerator({ characters: 'abcdef', numberOfPasswords: 5 }); * console.log(passwordBulk); */ declare function PasswordGenerator({ length, includeLower, includeCaps, includeNums, includeSpecs, characters, numberOfPasswords }?: PasswordGeneratorOptions): string | string[]; export default PasswordGenerator;