/** * Copyright 2026 Google LLC. * Copyright (c) Microsoft Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * THIS FILE IS AUTOGENERATED by cddlconv 0.2.0. * Run `tools/update_bidi_types.py` to regenerate. * @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs */ import * as z from 'zod'; export declare namespace Bluetooth { const BluetoothUuidSchema: z.ZodLazy; } export declare namespace Bluetooth { const BluetoothManufacturerDataSchema: z.ZodLazy>; } export declare namespace Bluetooth { const CharacteristicPropertiesSchema: z.ZodLazy; read: z.ZodOptional; writeWithoutResponse: z.ZodOptional; write: z.ZodOptional; notify: z.ZodOptional; indicate: z.ZodOptional; authenticatedSignedWrites: z.ZodOptional; extendedProperties: z.ZodOptional; }>>; } export declare namespace Bluetooth { const RequestDeviceSchema: z.ZodLazy; } export declare namespace Bluetooth { const RequestDeviceInfoSchema: z.ZodLazy; }>>; } export declare namespace Bluetooth { const RequestDevicePromptSchema: z.ZodLazy; } export declare namespace Bluetooth { const ScanRecordSchema: z.ZodLazy; uuids: z.ZodOptional>; appearance: z.ZodOptional; manufacturerData: z.ZodOptional>; }>>; } export declare const BluetoothCommandSchema: z.ZodLazy>; export declare namespace Bluetooth { const HandleRequestDevicePromptSchema: z.ZodLazy; params: typeof Bluetooth.HandleRequestDevicePromptParametersSchema; }>>; } export declare namespace Bluetooth { const HandleRequestDevicePromptParametersSchema: z.ZodLazy, z.ZodUnion>>; } export declare namespace Bluetooth { const HandleRequestDevicePromptAcceptParametersSchema: z.ZodLazy; device: typeof Bluetooth.RequestDeviceSchema; }>>; } export declare namespace Bluetooth { const HandleRequestDevicePromptCancelParametersSchema: z.ZodLazy; }>>; } export declare namespace Bluetooth { const SimulateAdapterSchema: z.ZodLazy; params: typeof Bluetooth.SimulateAdapterParametersSchema; }>>; } export declare namespace Bluetooth { const SimulateAdapterParametersSchema: z.ZodLazy; state: z.ZodEnum<{ absent: 'absent'; 'powered-off': 'powered-off'; 'powered-on': 'powered-on'; }>; }>>; } export declare namespace Bluetooth { const DisableSimulationSchema: z.ZodLazy; params: typeof Bluetooth.DisableSimulationParametersSchema; }>>; } export declare namespace Bluetooth { const DisableSimulationParametersSchema: z.ZodLazy>; } export declare namespace Bluetooth { const SimulatePreconnectedPeripheralSchema: z.ZodLazy; params: typeof Bluetooth.SimulatePreconnectedPeripheralParametersSchema; }>>; } export declare namespace Bluetooth { const SimulatePreconnectedPeripheralParametersSchema: z.ZodLazy; knownServiceUuids: z.ZodArray; }>>; } export declare namespace Bluetooth { const SimulateAdvertisementSchema: z.ZodLazy; params: typeof Bluetooth.SimulateAdvertisementParametersSchema; }>>; } export declare namespace Bluetooth { const SimulateAdvertisementParametersSchema: z.ZodLazy>; } export declare namespace Bluetooth { const SimulateAdvertisementScanEntryParametersSchema: z.ZodLazy>; } export declare namespace Bluetooth { const SimulateGattConnectionResponseSchema: z.ZodLazy; params: typeof Bluetooth.SimulateGattConnectionResponseParametersSchema; }>>; } export declare namespace Bluetooth { const SimulateGattConnectionResponseParametersSchema: z.ZodLazy>; } export declare namespace Bluetooth { const SimulateGattDisconnectionSchema: z.ZodLazy; params: typeof Bluetooth.SimulateGattDisconnectionParametersSchema; }>>; } export declare namespace Bluetooth { const SimulateGattDisconnectionParametersSchema: z.ZodLazy>; } export declare namespace Bluetooth { const SimulateServiceSchema: z.ZodLazy; params: typeof Bluetooth.SimulateServiceParametersSchema; }>>; } export declare namespace Bluetooth { const SimulateServiceParametersSchema: z.ZodLazy; }>>; } export declare namespace Bluetooth { const SimulateCharacteristicSchema: z.ZodLazy; params: typeof Bluetooth.SimulateCharacteristicParametersSchema; }>>; } export declare namespace Bluetooth { const SimulateCharacteristicParametersSchema: z.ZodLazy; type: z.ZodEnum<{ add: 'add'; remove: 'remove'; }>; }>>; } export declare namespace Bluetooth { const SimulateCharacteristicResponseSchema: z.ZodLazy; params: typeof Bluetooth.SimulateCharacteristicResponseParametersSchema; }>>; } export declare namespace Bluetooth { const SimulateCharacteristicResponseParametersSchema: z.ZodLazy; code: z.ZodNumber; data: z.ZodOptional>; }>>; } export declare namespace Bluetooth { const SimulateDescriptorSchema: z.ZodLazy; params: typeof Bluetooth.SimulateDescriptorParametersSchema; }>>; } export declare namespace Bluetooth { const SimulateDescriptorParametersSchema: z.ZodLazy; }>>; } export declare namespace Bluetooth { const SimulateDescriptorResponseSchema: z.ZodLazy; params: typeof Bluetooth.SimulateDescriptorResponseParametersSchema; }>>; } export declare namespace Bluetooth { const SimulateDescriptorResponseParametersSchema: z.ZodLazy; code: z.ZodNumber; data: z.ZodOptional>; }>>; } export declare const BluetoothEventSchema: z.ZodLazy>; export declare namespace Bluetooth { const RequestDevicePromptUpdatedSchema: z.ZodLazy; params: typeof Bluetooth.RequestDevicePromptUpdatedParametersSchema; }>>; } export declare namespace Bluetooth { const RequestDevicePromptUpdatedParametersSchema: z.ZodLazy; }>>; } export declare namespace Bluetooth { const GattConnectionAttemptedSchema: z.ZodLazy; params: typeof Bluetooth.GattConnectionAttemptedParametersSchema; }>>; } export declare namespace Bluetooth { const GattConnectionAttemptedParametersSchema: z.ZodLazy>; } export declare namespace Bluetooth { const CharacteristicEventGeneratedSchema: z.ZodLazy; params: typeof Bluetooth.CharacteristicEventGeneratedParametersSchema; }>>; } export declare namespace Bluetooth { const CharacteristicEventGeneratedParametersSchema: z.ZodLazy; data: z.ZodOptional>; }>>; } export declare namespace Bluetooth { const DescriptorEventGeneratedSchema: z.ZodLazy; params: typeof Bluetooth.DescriptorEventGeneratedParametersSchema; }>>; } export declare namespace Bluetooth { const DescriptorEventGeneratedParametersSchema: z.ZodLazy; data: z.ZodOptional>; }>>; }