import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { PermissionDescriptor } = Protocol.Browser;
Definition of PermissionDescriptor defined in the Permissions API: https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
Properties
Name of permission. See https://cs.chromium.org/chromium/src/third_party/blink/renderer/modules/permissions/permission_descriptor.idl for valid permission names.
For "push" permission, may specify userVisibleOnly. Note that userVisibleOnly = true is the only currently supported type.
For "clipboard" permission, may specify allowWithoutSanitization.