/**
 * Copyright 2024 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.
 */
export var ErrorCode;
(function (ErrorCode) {
    ErrorCode["InvalidArgument"] = "invalid argument";
    ErrorCode["InvalidSelector"] = "invalid selector";
    ErrorCode["InvalidSessionId"] = "invalid session id";
    ErrorCode["InvalidWebExtension"] = "invalid web extension";
    ErrorCode["MoveTargetOutOfBounds"] = "move target out of bounds";
    ErrorCode["NoSuchAlert"] = "no such alert";
    ErrorCode["NoSuchNetworkCollector"] = "no such network collector";
    ErrorCode["NoSuchElement"] = "no such element";
    ErrorCode["NoSuchFrame"] = "no such frame";
    ErrorCode["NoSuchHandle"] = "no such handle";
    ErrorCode["NoSuchHistoryEntry"] = "no such history entry";
    ErrorCode["NoSuchIntercept"] = "no such intercept";
    ErrorCode["NoSuchNetworkData"] = "no such network data";
    ErrorCode["NoSuchNode"] = "no such node";
    ErrorCode["NoSuchRequest"] = "no such request";
    ErrorCode["NoSuchScript"] = "no such script";
    ErrorCode["NoSuchStoragePartition"] = "no such storage partition";
    ErrorCode["NoSuchUserContext"] = "no such user context";
    ErrorCode["NoSuchWebExtension"] = "no such web extension";
    ErrorCode["SessionNotCreated"] = "session not created";
    ErrorCode["UnableToCaptureScreen"] = "unable to capture screen";
    ErrorCode["UnableToCloseBrowser"] = "unable to close browser";
    ErrorCode["UnableToSetCookie"] = "unable to set cookie";
    ErrorCode["UnableToSetFileInput"] = "unable to set file input";
    ErrorCode["UnavailableNetworkData"] = "unavailable network data";
    ErrorCode["UnderspecifiedStoragePartition"] = "underspecified storage partition";
    ErrorCode["UnknownCommand"] = "unknown command";
    ErrorCode["UnknownError"] = "unknown error";
    ErrorCode["UnsupportedOperation"] = "unsupported operation";
})(ErrorCode || (ErrorCode = {}));
export var Session;
(function (Session) {
    let UserPromptHandlerType;
    (function (UserPromptHandlerType) {
        UserPromptHandlerType["Accept"] = "accept";
        UserPromptHandlerType["Dismiss"] = "dismiss";
        UserPromptHandlerType["Ignore"] = "ignore";
    })(UserPromptHandlerType = Session.UserPromptHandlerType || (Session.UserPromptHandlerType = {}));
})(Session || (Session = {}));
export var BrowsingContext;
(function (BrowsingContext) {
    let ReadinessState;
    (function (ReadinessState) {
        ReadinessState["None"] = "none";
        ReadinessState["Interactive"] = "interactive";
        ReadinessState["Complete"] = "complete";
    })(ReadinessState = BrowsingContext.ReadinessState || (BrowsingContext.ReadinessState = {}));
})(BrowsingContext || (BrowsingContext = {}));
(function (BrowsingContext) {
    let UserPromptType;
    (function (UserPromptType) {
        UserPromptType["Alert"] = "alert";
        UserPromptType["Beforeunload"] = "beforeunload";
        UserPromptType["Confirm"] = "confirm";
        UserPromptType["Prompt"] = "prompt";
    })(UserPromptType = BrowsingContext.UserPromptType || (BrowsingContext.UserPromptType = {}));
})(BrowsingContext || (BrowsingContext = {}));
(function (BrowsingContext) {
    let CreateType;
    (function (CreateType) {
        CreateType["Tab"] = "tab";
        CreateType["Window"] = "window";
    })(CreateType = BrowsingContext.CreateType || (BrowsingContext.CreateType = {}));
})(BrowsingContext || (BrowsingContext = {}));
export var Emulation;
(function (Emulation) {
    let ForcedColorsModeTheme;
    (function (ForcedColorsModeTheme) {
        ForcedColorsModeTheme["Light"] = "light";
        ForcedColorsModeTheme["Dark"] = "dark";
    })(ForcedColorsModeTheme = Emulation.ForcedColorsModeTheme || (Emulation.ForcedColorsModeTheme = {}));
})(Emulation || (Emulation = {}));
(function (Emulation) {
    let ScreenOrientationNatural;
    (function (ScreenOrientationNatural) {
        ScreenOrientationNatural["Portrait"] = "portrait";
        ScreenOrientationNatural["Landscape"] = "landscape";
    })(ScreenOrientationNatural = Emulation.ScreenOrientationNatural || (Emulation.ScreenOrientationNatural = {}));
})(Emulation || (Emulation = {}));
export var Network;
(function (Network) {
    let CollectorType;
    (function (CollectorType) {
        CollectorType["Blob"] = "blob";
    })(CollectorType = Network.CollectorType || (Network.CollectorType = {}));
})(Network || (Network = {}));
(function (Network) {
    let SameSite;
    (function (SameSite) {
        SameSite["Strict"] = "strict";
        SameSite["Lax"] = "lax";
        SameSite["None"] = "none";
        SameSite["Default"] = "default";
    })(SameSite = Network.SameSite || (Network.SameSite = {}));
})(Network || (Network = {}));
(function (Network) {
    let DataType;
    (function (DataType) {
        DataType["Request"] = "request";
        DataType["Response"] = "response";
    })(DataType = Network.DataType || (Network.DataType = {}));
})(Network || (Network = {}));
(function (Network) {
    let InterceptPhase;
    (function (InterceptPhase) {
        InterceptPhase["BeforeRequestSent"] = "beforeRequestSent";
        InterceptPhase["ResponseStarted"] = "responseStarted";
        InterceptPhase["AuthRequired"] = "authRequired";
    })(InterceptPhase = Network.InterceptPhase || (Network.InterceptPhase = {}));
})(Network || (Network = {}));
export var Script;
(function (Script) {
    let ResultOwnership;
    (function (ResultOwnership) {
        ResultOwnership["Root"] = "root";
        ResultOwnership["None"] = "none";
    })(ResultOwnership = Script.ResultOwnership || (Script.ResultOwnership = {}));
})(Script || (Script = {}));
export var Log;
(function (Log) {
    let Level;
    (function (Level) {
        Level["Debug"] = "debug";
        Level["Info"] = "info";
        Level["Warn"] = "warn";
        Level["Error"] = "error";
    })(Level = Log.Level || (Log.Level = {}));
})(Log || (Log = {}));
export var Input;
(function (Input) {
    let PointerType;
    (function (PointerType) {
        PointerType["Mouse"] = "mouse";
        PointerType["Pen"] = "pen";
        PointerType["Touch"] = "touch";
    })(PointerType = Input.PointerType || (Input.PointerType = {}));
})(Input || (Input = {}));
//# sourceMappingURL=bidiProtocolCore.js.map