import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.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.