/** * Checks if a given value is empty. * * A value is considered empty if it is null, undefined, * or if it's an object or string with no properties or characters. * * @param value The value to check. * @returns True if the value is empty, false otherwise. */ export declare function isEmpty(value: unknown): boolean; /** * Checks if a given string is a valid email address. * @param email The string to check. * @returns True if the string is a valid email address, false otherwise. */ export declare function isValidEmail(email: string): boolean; /** * Validates if a phone number is in the correct format. The number can be * given with or without an international code. The format can be with or * without a space or a hyphen. * * Examples of valid inputs: * - +1 123-4567 * - 123-4567 * - +123 123 4567 * - 1234567 * - +1231234567 * * @param phone The phone number to validate * @returns true if the phone number is valid, false otherwise */ export declare function isValidPhone(phone: string): boolean; /** * Checks if the given number is a valid number. * * This function uses the isNaN() function to check if the number is valid. * NaN stands for Not-a-Number and is a value that represents an invalid or * unreliable number. isNumeric() will return true if the number is valid and * false if the number is not a valid number. * * @param num The number to check * @returns true if the number is valid, false otherwise */ export declare function isNumeric(num: number): boolean; type PasswordOptions = { minLength?: number; maxLength?: number; }; /** * Checks if the given password is valid. * * The password must be at least 6 characters long and at most 25 characters long. * The password must contain at least one digit, one uppercase letter, one lowercase letter, * and one special character. * * @param password The password to check * @param options Options for the password check * @returns true if the password is valid, false otherwise */ export declare function isValidPassword(password: string, options?: PasswordOptions): boolean; export {};