import type { MaybeRefOrGetter, ComputedRef } from 'vue';
import type { CaslPermission } from '@feedmepos/hrm-permission';
/**
 * Reactively checks HRM permissions against the current session user.
 *
 * @param permissions CASL permission objects to check.
 * @param mode Permission matching mode: `all` requires every permission, `any` requires at least one.
 * @returns Object containing a computed `hasPermission` boolean.
 *
 * @example
 * const { hasPermission } = useHrmPermission([
 *   { action: Permission.read, subject: 'inventory' }
 * ])
 */
export declare function useHrmPermission(permissions: MaybeRefOrGetter<CaslPermission[]>, mode?: MaybeRefOrGetter<'all' | 'any'>): {
    hasPermission: ComputedRef<boolean>;
};
