/** * usePermissions Hook * Permission checking (Shield service) */ import type { Permission, UsePermissionsOptions } from './types'; export declare const usePermissions: ({ onError }?: UsePermissionsOptions) => { permissions: Permission[]; isLoading: boolean; error: Error; checkPermission: (resource: string, action: string) => boolean; getPermissions: (userId: string) => Promise; }; export type { UsePermissionsOptions } from './types'; //# sourceMappingURL=usePermissions.d.ts.map