import { ScopeValue, PermissionDef, WebStorage } from '@amalto/typings'; export declare function hasPermission(webStorage: WebStorage, permission: string, global?: boolean): boolean; export declare function hasAnyPermission(webStorage: WebStorage, permissions: string[] | PermissionDef[], global?: boolean): boolean; export declare function hasPermissionFor(webStorage: WebStorage, appInstance: string, feature: string, action: string): boolean; export declare function getScopeValues(webStorage: WebStorage, appInstance: string, feature: string, action: string): ScopeValue | string[]; export declare function hasAccessToFeature(webStorage: WebStorage, appInstance: string, feature: string, global?: boolean): boolean; export declare function hasFilterOn(webStorage: WebStorage, feature: string, viewFilter: string, filterKey: string): boolean; export declare function canPerformAnyAction(requiredActions: string[], authorizedActions: string[]): boolean;