1 | import { MetaAction } from './types';
|
2 | import { FeaturesAvailable, PermissionType } from '../client/types';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | export declare function isAppBridgeAction(action: any): action is MetaAction;
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | export declare function isFromApp(action: any): boolean;
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | export declare function getPermissionKey(type: string): string;
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | export declare function isPermitted(features: FeaturesAvailable, { group, type }: MetaAction, permissionType: PermissionType): boolean;
|
23 |
|
24 |
|
25 |
|
26 |
|
27 | export declare function isAppMessage(event: any): boolean;
|