import { ComputedRef } from 'vue';
import { PermissionMap } from '../../types';
export declare function usePermission(): {
    /** 当前合并后的权限对象（响应式） */
    permissions: ComputedRef<PermissionMap> | undefined;
    /** 判断是否拥有某个权限 */
    hasPermission: (key: string) => boolean;
};
