/**
 * @license
 * Copyright 2024 Google Inc.
 * Modifications copyright (c) Microsoft Corporation.
 * SPDX-License-Identifier: Apache-2.0
 */
/**
 * THIS FILE IS AUTOGENERATED by cddlconv 0.1.6.
 * Run `node tools/generate-bidi-types.mjs` to regenerate.
 * @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
 */
export type PermissionsCommand = Permissions.SetPermission;
export declare namespace Permissions {
    type PermissionDescriptor = {
        name: string;
    };
}
export declare namespace Permissions {
    const enum PermissionState {
        Granted = "granted",
        Denied = "denied",
        Prompt = "prompt"
    }
}
export declare namespace Permissions {
    type SetPermission = {
        method: 'permissions.setPermission';
        params: Permissions.SetPermissionParameters;
    };
}
export declare namespace Permissions {
    type SetPermissionParameters = {
        descriptor: Permissions.PermissionDescriptor;
        state: Permissions.PermissionState;
        origin: string;
        userContext?: string;
    };
}
//# sourceMappingURL=bidiProtocolPermissions.d.ts.map