1export declare enum PermissionStatus { 2 /** 3 * User has granted the permission. 4 */ 5 GRANTED = "granted", 6 /** 7 * User hasn't granted or denied the permission yet. 8 */ 9 UNDETERMINED = "undetermined", 10 /** 11 * User has denied the permission. 12 */ 13 DENIED = "denied" 14} 15/** 16 * Permission expiration time. Currently, all permissions are granted permanently. 17 */ 18export type PermissionExpiration = 'never' | number; 19/** 20 * An object obtained by permissions get and request functions. 21 */ 22export interface PermissionResponse { 23 /** 24 * Determines the status of the permission. 25 */ 26 status: PermissionStatus; 27 /** 28 * Determines time when the permission expires. 29 */ 30 expires: PermissionExpiration; 31 /** 32 * A convenience boolean that indicates if the permission is granted. 33 */ 34 granted: boolean; 35 /** 36 * Indicates if user can be asked again for specific permission. 37 * If not, one should be directed to the Settings app 38 * in order to enable/disable the permission. 39 */ 40 canAskAgain: boolean; 41} 42//# sourceMappingURL=PermissionsInterface.d.ts.map