import type { RBACUser } from './types'; /** * Hook wrapper for hasPermission * @param user - The user object to check permissions for * @param permission - The permission to check * @returns boolean indicating if the user has the permission */ export declare const useHasPermission:
(user: U | null, permission: P) => boolean; /** * Hook wrapper for hasRole * @param user - The user object to check role for * @param roleName - The role name to check against * @returns boolean indicating if the user has the specified role */ export declare const useHasRole: (user: U | null, roleName: string) => boolean; /** * Hook wrapper for hasAnyPermission * @param user - The user object to check permissions for * @param permissions - Array of permissions to check * @returns boolean indicating if the user has any of the permissions */ export declare const useHasAnyPermission:
(user: U | null, permissions: P[]) => boolean; /** * Hook wrapper for hasAllPermissions * @param user - The user object to check permissions for * @param permissions - Array of permissions to check * @returns boolean indicating if the user has all of the permissions */ export declare const useHasAllPermissions:
(user: U | null, permissions: P[]) => boolean; /** * Hook wrapper for getUserPermissions * @param user - The user object to get permissions for * @returns Array of permissions the user has */ export declare const useGetUserPermissions:
(user: U | null) => P[]; /** * Hook wrapper for IQ Retail access */ export declare const useHasIQRetailAccess:
(user: U | null) => boolean;