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