exporttypeUsePermissionReturns<Controlsextendsboolean> =Controlsextendstrue? {/** * If the permission is supported */isSupported: boolean/** * Query the permission status */state: RefObject<PermissionState>/** * Query the permission status */query(): Promise<PermissionStatus | null> }:RefObject<PermissionState>