import { SCUserType } from '../types/user';
/**
 * Staff Roles
 * @type {string}
 */
export declare const ADMIN_ROLE = "admin";
export declare const MODERATOR_ROLE = "moderator";
/**
 * Get user role from roles(set)
 * @param user
 * @returns role or null
 */
export declare function getUserRole(user: SCUserType): string | null;
/**
 * Check if user is admin
 * @param user
 * @returns boolean
 */
export declare function isAdmin(user: SCUserType): boolean;
/**
 * Check if user is moderator
 * @param user
 * @returns boolean
 */
export declare function isModerator(user: SCUserType): boolean;
/**
 * Check if user is admin or moderator
 * @param user
 * @returns boolean
 */
export declare function isStaff(user: SCUserType): boolean;
/**
 * Check if user is blocked/banned
 * User status values:
 *  a (approved), b (blocked), d (deleted; soft deleted),
 *  u (unregistered; hard deleted). Default: a.
 * @param user
 * @returns {*}
 */
export declare function isBlocked(user: SCUserType): boolean;
//# sourceMappingURL=user.d.ts.map