import { Permission as PermissionType } from './permissions'; export declare const allPermissions: Array; export declare type PermissionSelectionType = 'product' | 'project' | 'viewProject' | 'b2c' | null; export declare type PermissionEnum = 'all' | 'project' | 'product' | 'crm' | 'biha' | 'aff' | 'employeeInProject' | 'lease'; export declare function getAllChildren(permissions: Array): Array; export declare function getAllChildrenByType(type: PermissionEnum): Array; export declare function getPermissionTree(type?: PermissionEnum): Array;