import { type SupportedPermissionType } from './types'; import { BrowserPermissionState } from '@packages/internal/common/browser'; export declare class BrowserPermissions { #private; constructor(); /** * Check the current permission state for a permission type. * @param type The permission type to check */ check(type: SupportedPermissionType): Promise; /** * Request permission for a permission type. * Some permissions, such as 'deviceorientation', must be requested in response to a user gesture. * @param type The permission type to request * @returns The permission state */ request(type: SupportedPermissionType): Promise; /** * Reset all permission states back to 'prompt'. */ reset(): void; } export declare const BrowserPermissionsManager: BrowserPermissions;