// chrome/browser/glic/host/glic.mojom-webui.ts is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import { mojo } from '//resources/mojo/mojo/public/js/bindings.js';
import { AutofillSuggestionDialogOnFormConfirmedParamsSpec as actor_webui_mojom_AutofillSuggestionDialogOnFormConfirmedParamsSpec, AutofillSuggestionDialogOnFormPresentedParamsSpec as actor_webui_mojom_AutofillSuggestionDialogOnFormPresentedParamsSpec, AutofillSuggestionDialogOnFormPreviewChangedParamsSpec as actor_webui_mojom_AutofillSuggestionDialogOnFormPreviewChangedParamsSpec, NavigationConfirmationRequestSpec as actor_webui_mojom_NavigationConfirmationRequestSpec, NavigationConfirmationResponseSpec as actor_webui_mojom_NavigationConfirmationResponseSpec, SelectAutofillSuggestionsDialogRequestSpec as actor_webui_mojom_SelectAutofillSuggestionsDialogRequestSpec, SelectAutofillSuggestionsDialogResponseSpec as actor_webui_mojom_SelectAutofillSuggestionsDialogResponseSpec, SelectCredentialDialogRequestSpec as actor_webui_mojom_SelectCredentialDialogRequestSpec, SelectCredentialDialogResponseSpec as actor_webui_mojom_SelectCredentialDialogResponseSpec, TaskOptionsSpec as actor_webui_mojom_TaskOptionsSpec, UserConfirmationDialogRequestSpec as actor_webui_mojom_UserConfirmationDialogRequestSpec, UserConfirmationDialogResponseSpec as actor_webui_mojom_UserConfirmationDialogResponseSpec, GmailOtpOptInResultSpec as actor_webui_mojom_GmailOtpOptInResultSpec } from './actor_webui.mojom-webui.js';
import { PageMetadataSpec as blink_mojom_PageMetadataSpec } from './ai_page_content_metadata.mojom-webui.js';
import { ContentSettingsTypeSpec as contentSettings_mojom_ContentSettingsTypeSpec } from './content_settings_types.mojom-webui.js';
import { FeatureModeSpec as glic_mojom_FeatureModeSpec } from './glic_enums.mojom-webui.js';
import { AbslStatusCodeSpec as mojoBase_mojom_AbslStatusCodeSpec } from '//resources/mojo/mojo/public/mojom/base/absl_status.mojom-webui.js';
import { BigBufferSpec as mojoBase_mojom_BigBufferSpec } from '//resources/mojo/mojo/public/mojom/base/big_buffer.mojom-webui.js';
import { ByteStringSpec as mojoBase_mojom_ByteStringSpec } from '//resources/mojo/mojo/public/mojom/base/byte_string.mojom-webui.js';
import { ProtoWrapperSpec as mojoBase_mojom_ProtoWrapperSpec } from '//resources/mojo/mojo/public/mojom/base/proto_wrapper.mojom-webui.js';
import { TimeDeltaSpec as mojoBase_mojom_TimeDeltaSpec } from '//resources/mojo/mojo/public/mojom/base/time.mojom-webui.js';
import { UnguessableTokenSpec as mojoBase_mojom_UnguessableTokenSpec } from '//resources/mojo/mojo/public/mojom/base/unguessable_token.mojom-webui.js';
import { VersionSpec as mojoBase_mojom_VersionSpec } from '//resources/mojo/mojo/public/mojom/base/version.mojom-webui.js';
import { BitmapN32Spec as skia_mojom_BitmapN32Spec } from '//resources/mojo/skia/public/mojom/bitmap.mojom-webui.js';
import { PointSpec as gfx_mojom_PointSpec, RectSpec as gfx_mojom_RectSpec, SizeSpec as gfx_mojom_SizeSpec } from '//resources/mojo/ui/gfx/geometry/mojom/geometry.mojom-webui.js';
import { OriginSpec as url_mojom_OriginSpec } from '//resources/mojo/url/mojom/origin.mojom-webui.js';
import { UrlSpec as url_mojom_UrlSpec } from '//resources/mojo/url/mojom/url.mojom-webui.js';
export const ActuationEligibilitySpec = { $: mojo.internal.Enum() };
export var ActuationEligibility;
(function (ActuationEligibility) {
    ActuationEligibility[ActuationEligibility["MIN_VALUE"] = 0] = "MIN_VALUE";
    ActuationEligibility[ActuationEligibility["MAX_VALUE"] = 5] = "MAX_VALUE";
    ActuationEligibility[ActuationEligibility["kEligible"] = 0] = "kEligible";
    ActuationEligibility[ActuationEligibility["kMissingAccountCapability"] = 1] = "kMissingAccountCapability";
    ActuationEligibility[ActuationEligibility["kMissingChromeBenefits"] = 2] = "kMissingChromeBenefits";
    ActuationEligibility[ActuationEligibility["kDisabledByPolicy"] = 3] = "kDisabledByPolicy";
    ActuationEligibility[ActuationEligibility["kEnterpriseWithoutManagement"] = 4] = "kEnterpriseWithoutManagement";
    ActuationEligibility[ActuationEligibility["kPlatformUnsupported"] = 5] = "kPlatformUnsupported";
})(ActuationEligibility || (ActuationEligibility = {}));
export const ProfileReadyStateSpec = { $: mojo.internal.Enum() };
export var ProfileReadyState;
(function (ProfileReadyState) {
    ProfileReadyState[ProfileReadyState["MIN_VALUE"] = 0] = "MIN_VALUE";
    ProfileReadyState[ProfileReadyState["MAX_VALUE"] = 6] = "MAX_VALUE";
    ProfileReadyState[ProfileReadyState["kUnknownError"] = 0] = "kUnknownError";
    ProfileReadyState[ProfileReadyState["kSignInRequired"] = 1] = "kSignInRequired";
    ProfileReadyState[ProfileReadyState["kReady"] = 2] = "kReady";
    ProfileReadyState[ProfileReadyState["kIneligible"] = 3] = "kIneligible";
    ProfileReadyState[ProfileReadyState["kDisabledByAdmin"] = 4] = "kDisabledByAdmin";
    ProfileReadyState[ProfileReadyState["kLocationMismatch"] = 5] = "kLocationMismatch";
    ProfileReadyState[ProfileReadyState["kIneligibleAccount"] = 6] = "kIneligibleAccount";
})(ProfileReadyState || (ProfileReadyState = {}));
export const ZoomActionSpec = { $: mojo.internal.Enum() };
export var ZoomAction;
(function (ZoomAction) {
    ZoomAction[ZoomAction["MIN_VALUE"] = 0] = "MIN_VALUE";
    ZoomAction[ZoomAction["MAX_VALUE"] = 2] = "MAX_VALUE";
    ZoomAction[ZoomAction["kZoomIn"] = 0] = "kZoomIn";
    ZoomAction[ZoomAction["kZoomOut"] = 1] = "kZoomOut";
    ZoomAction[ZoomAction["kReset"] = 2] = "kReset";
})(ZoomAction || (ZoomAction = {}));
export const WebUiStateSpec = { $: mojo.internal.Enum() };
export var WebUiState;
(function (WebUiState) {
    WebUiState[WebUiState["MIN_VALUE"] = 0] = "MIN_VALUE";
    WebUiState[WebUiState["MAX_VALUE"] = 15] = "MAX_VALUE";
    WebUiState[WebUiState["kUninitialized"] = 0] = "kUninitialized";
    WebUiState[WebUiState["kBeginLoad"] = 1] = "kBeginLoad";
    WebUiState[WebUiState["kShowLoading"] = 2] = "kShowLoading";
    WebUiState[WebUiState["kHoldLoading"] = 3] = "kHoldLoading";
    WebUiState[WebUiState["kFinishLoading"] = 4] = "kFinishLoading";
    WebUiState[WebUiState["kError"] = 5] = "kError";
    WebUiState[WebUiState["kOffline"] = 6] = "kOffline";
    WebUiState[WebUiState["kUnavailable"] = 7] = "kUnavailable";
    WebUiState[WebUiState["kReady"] = 8] = "kReady";
    WebUiState[WebUiState["kUnresponsive"] = 9] = "kUnresponsive";
    WebUiState[WebUiState["kSignIn"] = 10] = "kSignIn";
    WebUiState[WebUiState["kGuestError"] = 11] = "kGuestError";
    WebUiState[WebUiState["kDisabledByAdmin"] = 12] = "kDisabledByAdmin";
    WebUiState[WebUiState["kWarmed"] = 13] = "kWarmed";
    WebUiState[WebUiState["kLocationMismatch"] = 14] = "kLocationMismatch";
    WebUiState[WebUiState["kIneligibleAccount"] = 15] = "kIneligibleAccount";
})(WebUiState || (WebUiState = {}));
export const MetricUserInputReactionTypeSpec = { $: mojo.internal.Enum() };
export var MetricUserInputReactionType;
(function (MetricUserInputReactionType) {
    MetricUserInputReactionType[MetricUserInputReactionType["MIN_VALUE"] = 0] = "MIN_VALUE";
    MetricUserInputReactionType[MetricUserInputReactionType["MAX_VALUE"] = 2] = "MAX_VALUE";
    MetricUserInputReactionType[MetricUserInputReactionType["kUnknown"] = 0] = "kUnknown";
    MetricUserInputReactionType[MetricUserInputReactionType["kCanned"] = 1] = "kCanned";
    MetricUserInputReactionType[MetricUserInputReactionType["kModel"] = 2] = "kModel";
})(MetricUserInputReactionType || (MetricUserInputReactionType = {}));
export const PrepareForClientResultSpec = { $: mojo.internal.Enum() };
export var PrepareForClientResult;
(function (PrepareForClientResult) {
    PrepareForClientResult[PrepareForClientResult["MIN_VALUE"] = 0] = "MIN_VALUE";
    PrepareForClientResult[PrepareForClientResult["MAX_VALUE"] = 2] = "MAX_VALUE";
    PrepareForClientResult[PrepareForClientResult["kSuccess"] = 0] = "kSuccess";
    PrepareForClientResult[PrepareForClientResult["kErrorResyncingCookies"] = 1] = "kErrorResyncingCookies";
    PrepareForClientResult[PrepareForClientResult["kRequiresSignIn"] = 2] = "kRequiresSignIn";
})(PrepareForClientResult || (PrepareForClientResult = {}));
export const HelpCenterTopicSpec = { $: mojo.internal.Enum() };
export var HelpCenterTopic;
(function (HelpCenterTopic) {
    HelpCenterTopic[HelpCenterTopic["MIN_VALUE"] = 0] = "MIN_VALUE";
    HelpCenterTopic[HelpCenterTopic["MAX_VALUE"] = 1] = "MAX_VALUE";
    HelpCenterTopic[HelpCenterTopic["kLocationMismatch"] = 0] = "kLocationMismatch";
    HelpCenterTopic[HelpCenterTopic["kIneligibleAccount"] = 1] = "kIneligibleAccount";
})(HelpCenterTopic || (HelpCenterTopic = {}));
export const PerformActionsErrorReasonSpec = { $: mojo.internal.Enum() };
export var PerformActionsErrorReason;
(function (PerformActionsErrorReason) {
    PerformActionsErrorReason[PerformActionsErrorReason["MIN_VALUE"] = 0] = "MIN_VALUE";
    PerformActionsErrorReason[PerformActionsErrorReason["MAX_VALUE"] = 2] = "MAX_VALUE";
    PerformActionsErrorReason[PerformActionsErrorReason["kUnknown"] = 0] = "kUnknown";
    PerformActionsErrorReason[PerformActionsErrorReason["kInvalidProto"] = 1] = "kInvalidProto";
    PerformActionsErrorReason[PerformActionsErrorReason["kMissingTaskId"] = 2] = "kMissingTaskId";
})(PerformActionsErrorReason || (PerformActionsErrorReason = {}));
export const CreateTaskErrorReasonSpec = { $: mojo.internal.Enum() };
export var CreateTaskErrorReason;
(function (CreateTaskErrorReason) {
    CreateTaskErrorReason[CreateTaskErrorReason["MIN_VALUE"] = 0] = "MIN_VALUE";
    CreateTaskErrorReason[CreateTaskErrorReason["MAX_VALUE"] = 4] = "MAX_VALUE";
    CreateTaskErrorReason[CreateTaskErrorReason["kUnknown"] = 0] = "kUnknown";
    CreateTaskErrorReason[CreateTaskErrorReason["kTaskSystemUnavailable"] = 1] = "kTaskSystemUnavailable";
    CreateTaskErrorReason[CreateTaskErrorReason["kExistingActiveTask"] = 2] = "kExistingActiveTask";
    CreateTaskErrorReason[CreateTaskErrorReason["kBlockedByPolicy"] = 3] = "kBlockedByPolicy";
    CreateTaskErrorReason[CreateTaskErrorReason["kConversationNotRegistered"] = 4] = "kConversationNotRegistered";
})(CreateTaskErrorReason || (CreateTaskErrorReason = {}));
export const ActorTaskStateSpec = { $: mojo.internal.Enum() };
export var ActorTaskState;
(function (ActorTaskState) {
    ActorTaskState[ActorTaskState["MIN_VALUE"] = 0] = "MIN_VALUE";
    ActorTaskState[ActorTaskState["MAX_VALUE"] = 4] = "MAX_VALUE";
    ActorTaskState[ActorTaskState["kUnknown"] = 0] = "kUnknown";
    ActorTaskState[ActorTaskState["kIdle"] = 1] = "kIdle";
    ActorTaskState[ActorTaskState["kActing"] = 2] = "kActing";
    ActorTaskState[ActorTaskState["kPaused"] = 3] = "kPaused";
    ActorTaskState[ActorTaskState["kStopped"] = 4] = "kStopped";
})(ActorTaskState || (ActorTaskState = {}));
export const ActorTaskPauseReasonSpec = { $: mojo.internal.Enum() };
export var ActorTaskPauseReason;
(function (ActorTaskPauseReason) {
    ActorTaskPauseReason[ActorTaskPauseReason["MIN_VALUE"] = 0] = "MIN_VALUE";
    ActorTaskPauseReason[ActorTaskPauseReason["MAX_VALUE"] = 1] = "MAX_VALUE";
    ActorTaskPauseReason[ActorTaskPauseReason["kPausedByModel"] = 0] = "kPausedByModel";
    ActorTaskPauseReason[ActorTaskPauseReason["kPausedByUser"] = 1] = "kPausedByUser";
})(ActorTaskPauseReason || (ActorTaskPauseReason = {}));
export const ActorTaskStopReasonSpec = { $: mojo.internal.Enum() };
export var ActorTaskStopReason;
(function (ActorTaskStopReason) {
    ActorTaskStopReason[ActorTaskStopReason["MIN_VALUE"] = 0] = "MIN_VALUE";
    ActorTaskStopReason[ActorTaskStopReason["MAX_VALUE"] = 4] = "MAX_VALUE";
    ActorTaskStopReason[ActorTaskStopReason["kTaskComplete"] = 0] = "kTaskComplete";
    ActorTaskStopReason[ActorTaskStopReason["kStoppedByUser"] = 1] = "kStoppedByUser";
    ActorTaskStopReason[ActorTaskStopReason["kModelError"] = 2] = "kModelError";
    ActorTaskStopReason[ActorTaskStopReason["kUserStartedNewChat"] = 3] = "kUserStartedNewChat";
    ActorTaskStopReason[ActorTaskStopReason["kUserLoadedPreviousChat"] = 4] = "kUserLoadedPreviousChat";
})(ActorTaskStopReason || (ActorTaskStopReason = {}));
export const ActorTaskInterruptReasonSpec = { $: mojo.internal.Enum() };
export var ActorTaskInterruptReason;
(function (ActorTaskInterruptReason) {
    ActorTaskInterruptReason[ActorTaskInterruptReason["MIN_VALUE"] = 0] = "MIN_VALUE";
    ActorTaskInterruptReason[ActorTaskInterruptReason["MAX_VALUE"] = 7] = "MAX_VALUE";
    ActorTaskInterruptReason[ActorTaskInterruptReason["kUnknownReason"] = 0] = "kUnknownReason";
    ActorTaskInterruptReason[ActorTaskInterruptReason["kTaskComplete"] = 1] = "kTaskComplete";
    ActorTaskInterruptReason[ActorTaskInterruptReason["kWaitingUserInput"] = 2] = "kWaitingUserInput";
    ActorTaskInterruptReason[ActorTaskInterruptReason["kWaitingUserClarification"] = 3] = "kWaitingUserClarification";
    ActorTaskInterruptReason[ActorTaskInterruptReason["kWaitingUserConfirmation"] = 4] = "kWaitingUserConfirmation";
    ActorTaskInterruptReason[ActorTaskInterruptReason["kWaitingUserTakeOver"] = 5] = "kWaitingUserTakeOver";
    ActorTaskInterruptReason[ActorTaskInterruptReason["kWaitingIrrelevantUserInput"] = 6] = "kWaitingIrrelevantUserInput";
    ActorTaskInterruptReason[ActorTaskInterruptReason["kWaitingUnsafeCounterAbuseVerdict"] = 7] = "kWaitingUnsafeCounterAbuseVerdict";
})(ActorTaskInterruptReason || (ActorTaskInterruptReason = {}));
export const CaptureScreenshotErrorReasonSpec = { $: mojo.internal.Enum() };
export var CaptureScreenshotErrorReason;
(function (CaptureScreenshotErrorReason) {
    CaptureScreenshotErrorReason[CaptureScreenshotErrorReason["MIN_VALUE"] = 0] = "MIN_VALUE";
    CaptureScreenshotErrorReason[CaptureScreenshotErrorReason["MAX_VALUE"] = 2] = "MAX_VALUE";
    CaptureScreenshotErrorReason[CaptureScreenshotErrorReason["kUnknown"] = 0] = "kUnknown";
    CaptureScreenshotErrorReason[CaptureScreenshotErrorReason["kScreenCaptureRequestThrottled"] = 1] = "kScreenCaptureRequestThrottled";
    CaptureScreenshotErrorReason[CaptureScreenshotErrorReason["kUserCancelledScreenPickerDialog"] = 2] = "kUserCancelledScreenPickerDialog";
})(CaptureScreenshotErrorReason || (CaptureScreenshotErrorReason = {}));
export const SbThreatTypeSpec = { $: mojo.internal.Enum() };
export var SbThreatType;
(function (SbThreatType) {
    SbThreatType[SbThreatType["MIN_VALUE"] = 0] = "MIN_VALUE";
    SbThreatType[SbThreatType["MAX_VALUE"] = 3] = "MAX_VALUE";
    SbThreatType[SbThreatType["kUnspecified"] = 0] = "kUnspecified";
    SbThreatType[SbThreatType["kSocialEngineering"] = 1] = "kSocialEngineering";
    SbThreatType[SbThreatType["kMalware"] = 2] = "kMalware";
    SbThreatType[SbThreatType["kUnwantedSoftware"] = 3] = "kUnwantedSoftware";
})(SbThreatType || (SbThreatType = {}));
export const PlatformSpec = { $: mojo.internal.Enum() };
export var Platform;
(function (Platform) {
    Platform[Platform["MIN_VALUE"] = 0] = "MIN_VALUE";
    Platform[Platform["MAX_VALUE"] = 5] = "MAX_VALUE";
    Platform[Platform["kUnknown"] = 0] = "kUnknown";
    Platform[Platform["kMacOS"] = 1] = "kMacOS";
    Platform[Platform["kWindows"] = 2] = "kWindows";
    Platform[Platform["kLinux"] = 3] = "kLinux";
    Platform[Platform["kChromeOS"] = 4] = "kChromeOS";
    Platform[Platform["kAndroid"] = 5] = "kAndroid";
})(Platform || (Platform = {}));
export const FormFactorSpec = { $: mojo.internal.Enum() };
export var FormFactor;
(function (FormFactor) {
    FormFactor[FormFactor["MIN_VALUE"] = 0] = "MIN_VALUE";
    FormFactor[FormFactor["MAX_VALUE"] = 3] = "MAX_VALUE";
    FormFactor[FormFactor["kUnknown"] = 0] = "kUnknown";
    FormFactor[FormFactor["kDesktop"] = 1] = "kDesktop";
    FormFactor[FormFactor["kPhone"] = 2] = "kPhone";
    FormFactor[FormFactor["kTablet"] = 3] = "kTablet";
})(FormFactor || (FormFactor = {}));
export const ScreenshotImageFormatSpec = { $: mojo.internal.Enum() };
export var ScreenshotImageFormat;
(function (ScreenshotImageFormat) {
    ScreenshotImageFormat[ScreenshotImageFormat["MIN_VALUE"] = 0] = "MIN_VALUE";
    ScreenshotImageFormat[ScreenshotImageFormat["MAX_VALUE"] = 2] = "MAX_VALUE";
    ScreenshotImageFormat[ScreenshotImageFormat["kJpeg"] = 0] = "kJpeg";
    ScreenshotImageFormat[ScreenshotImageFormat["kPng"] = 1] = "kPng";
    ScreenshotImageFormat[ScreenshotImageFormat["kWebp"] = 2] = "kWebp";
})(ScreenshotImageFormat || (ScreenshotImageFormat = {}));
export const ScreenshotCompressionQualitySpec = { $: mojo.internal.Enum() };
export var ScreenshotCompressionQuality;
(function (ScreenshotCompressionQuality) {
    ScreenshotCompressionQuality[ScreenshotCompressionQuality["MIN_VALUE"] = 0] = "MIN_VALUE";
    ScreenshotCompressionQuality[ScreenshotCompressionQuality["MAX_VALUE"] = 3] = "MAX_VALUE";
    ScreenshotCompressionQuality[ScreenshotCompressionQuality["kNone"] = 0] = "kNone";
    ScreenshotCompressionQuality[ScreenshotCompressionQuality["kLow"] = 1] = "kLow";
    ScreenshotCompressionQuality[ScreenshotCompressionQuality["kMedium"] = 2] = "kMedium";
    ScreenshotCompressionQuality[ScreenshotCompressionQuality["kHigh"] = 3] = "kHigh";
})(ScreenshotCompressionQuality || (ScreenshotCompressionQuality = {}));
export const ScrollToErrorReasonSpec = { $: mojo.internal.Enum() };
export var ScrollToErrorReason;
(function (ScrollToErrorReason) {
    ScrollToErrorReason[ScrollToErrorReason["MIN_VALUE"] = 0] = "MIN_VALUE";
    ScrollToErrorReason[ScrollToErrorReason["MAX_VALUE"] = 8] = "MAX_VALUE";
    ScrollToErrorReason[ScrollToErrorReason["kNotSupported"] = 0] = "kNotSupported";
    ScrollToErrorReason[ScrollToErrorReason["kNewerScrollToCall"] = 1] = "kNewerScrollToCall";
    ScrollToErrorReason[ScrollToErrorReason["kNoFocusedTab"] = 2] = "kNoFocusedTab";
    ScrollToErrorReason[ScrollToErrorReason["kNoMatchFound"] = 3] = "kNoMatchFound";
    ScrollToErrorReason[ScrollToErrorReason["kFocusedTabChangedOrNavigated"] = 4] = "kFocusedTabChangedOrNavigated";
    ScrollToErrorReason[ScrollToErrorReason["kNoMatchingDocument"] = 5] = "kNoMatchingDocument";
    ScrollToErrorReason[ScrollToErrorReason["kSearchRangeInvalid"] = 6] = "kSearchRangeInvalid";
    ScrollToErrorReason[ScrollToErrorReason["kTabContextPermissionDisabled"] = 7] = "kTabContextPermissionDisabled";
    ScrollToErrorReason[ScrollToErrorReason["kDroppedByWebClient"] = 8] = "kDroppedByWebClient";
})(ScrollToErrorReason || (ScrollToErrorReason = {}));
export const SkillSourceSpec = { $: mojo.internal.Enum() };
export var SkillSource;
(function (SkillSource) {
    SkillSource[SkillSource["MIN_VALUE"] = 0] = "MIN_VALUE";
    SkillSource[SkillSource["MAX_VALUE"] = 3] = "MAX_VALUE";
    SkillSource[SkillSource["kUnknown"] = 0] = "kUnknown";
    SkillSource[SkillSource["kFirstParty"] = 1] = "kFirstParty";
    SkillSource[SkillSource["kUserCreated"] = 2] = "kUserCreated";
    SkillSource[SkillSource["kDerivedFromFirstParty"] = 3] = "kDerivedFromFirstParty";
})(SkillSource || (SkillSource = {}));
export const SkillsWebClientEventSpec = { $: mojo.internal.Enum() };
export var SkillsWebClientEvent;
(function (SkillsWebClientEvent) {
    SkillsWebClientEvent[SkillsWebClientEvent["MIN_VALUE"] = 0] = "MIN_VALUE";
    SkillsWebClientEvent[SkillsWebClientEvent["MAX_VALUE"] = 22] = "MAX_VALUE";
    SkillsWebClientEvent[SkillsWebClientEvent["kUnknown"] = 0] = "kUnknown";
    SkillsWebClientEvent[SkillsWebClientEvent["kUsedFirstPartySkill"] = 1] = "kUsedFirstPartySkill";
    SkillsWebClientEvent[SkillsWebClientEvent["kUsedUserCreatedSkill"] = 2] = "kUsedUserCreatedSkill";
    SkillsWebClientEvent[SkillsWebClientEvent["kUsedDerivedFirstPartySkill"] = 3] = "kUsedDerivedFirstPartySkill";
    SkillsWebClientEvent[SkillsWebClientEvent["kOpenedMenu"] = 4] = "kOpenedMenu";
    SkillsWebClientEvent[SkillsWebClientEvent["kClickedManageFromMenu"] = 5] = "kClickedManageFromMenu";
    SkillsWebClientEvent[SkillsWebClientEvent["kClickedAddFromMenu"] = 6] = "kClickedAddFromMenu";
    SkillsWebClientEvent[SkillsWebClientEvent["kClickedEditFromMenu"] = 7] = "kClickedEditFromMenu";
    SkillsWebClientEvent[SkillsWebClientEvent["kClickedAddOn1pSkill"] = 8] = "kClickedAddOn1pSkill";
    SkillsWebClientEvent[SkillsWebClientEvent["kClickedSaveAsSkillHoverChip"] = 9] = "kClickedSaveAsSkillHoverChip";
    SkillsWebClientEvent[SkillsWebClientEvent["kClickedEditSkillHoverChip"] = 10] = "kClickedEditSkillHoverChip";
    SkillsWebClientEvent[SkillsWebClientEvent["kClickedBrowseSkillFromPlusMenu"] = 11] = "kClickedBrowseSkillFromPlusMenu";
    SkillsWebClientEvent[SkillsWebClientEvent["kClickedSkillFromPlusMenu"] = 12] = "kClickedSkillFromPlusMenu";
    SkillsWebClientEvent[SkillsWebClientEvent["kClickedManageSkillFromPlusMenu"] = 13] = "kClickedManageSkillFromPlusMenu";
    SkillsWebClientEvent[SkillsWebClientEvent["kClickedMoreFromMenu"] = 14] = "kClickedMoreFromMenu";
    SkillsWebClientEvent[SkillsWebClientEvent["kClickedManageSkillFromMenu"] = 15] = "kClickedManageSkillFromMenu";
    SkillsWebClientEvent[SkillsWebClientEvent["kClickedSkillFromMenu"] = 16] = "kClickedSkillFromMenu";
    SkillsWebClientEvent[SkillsWebClientEvent["kClickedBrowseSkillsFromMenu"] = 17] = "kClickedBrowseSkillsFromMenu";
    SkillsWebClientEvent[SkillsWebClientEvent["kSkillBuilderClickedPromoChip"] = 20] = "kSkillBuilderClickedPromoChip";
    SkillsWebClientEvent[SkillsWebClientEvent["kSkillBuilderPromptGenerated"] = 21] = "kSkillBuilderPromptGenerated";
    SkillsWebClientEvent[SkillsWebClientEvent["kSkillBuilderClickedSaveAsSkill"] = 22] = "kSkillBuilderClickedSaveAsSkill";
})(SkillsWebClientEvent || (SkillsWebClientEvent = {}));
export const PinTriggerSpec = { $: mojo.internal.Enum() };
export var PinTrigger;
(function (PinTrigger) {
    PinTrigger[PinTrigger["MIN_VALUE"] = 0] = "MIN_VALUE";
    PinTrigger[PinTrigger["MAX_VALUE"] = 3] = "MAX_VALUE";
    PinTrigger[PinTrigger["kWebClientUnknown"] = 0] = "kWebClientUnknown";
    PinTrigger[PinTrigger["kCandidatesToggle"] = 1] = "kCandidatesToggle";
    PinTrigger[PinTrigger["kAtMention"] = 2] = "kAtMention";
    PinTrigger[PinTrigger["kActuation"] = 3] = "kActuation";
})(PinTrigger || (PinTrigger = {}));
export const UnpinTriggerSpec = { $: mojo.internal.Enum() };
export var UnpinTrigger;
(function (UnpinTrigger) {
    UnpinTrigger[UnpinTrigger["MIN_VALUE"] = 0] = "MIN_VALUE";
    UnpinTrigger[UnpinTrigger["MAX_VALUE"] = 3] = "MAX_VALUE";
    UnpinTrigger[UnpinTrigger["kWebClientUnknown"] = 0] = "kWebClientUnknown";
    UnpinTrigger[UnpinTrigger["kCandidatesToggle"] = 1] = "kCandidatesToggle";
    UnpinTrigger[UnpinTrigger["kChip"] = 2] = "kChip";
    UnpinTrigger[UnpinTrigger["kActuation"] = 3] = "kActuation";
})(UnpinTrigger || (UnpinTrigger = {}));
export const CancelActionsResultSpec = { $: mojo.internal.Enum() };
export var CancelActionsResult;
(function (CancelActionsResult) {
    CancelActionsResult[CancelActionsResult["MIN_VALUE"] = 0] = "MIN_VALUE";
    CancelActionsResult[CancelActionsResult["MAX_VALUE"] = 3] = "MAX_VALUE";
    CancelActionsResult[CancelActionsResult["kUnknown"] = 0] = "kUnknown";
    CancelActionsResult[CancelActionsResult["kSuccess"] = 1] = "kSuccess";
    CancelActionsResult[CancelActionsResult["kTaskNotFound"] = 2] = "kTaskNotFound";
    CancelActionsResult[CancelActionsResult["kFailed"] = 3] = "kFailed";
})(CancelActionsResult || (CancelActionsResult = {}));
export const SwitchConversationErrorReasonSpec = { $: mojo.internal.Enum() };
export var SwitchConversationErrorReason;
(function (SwitchConversationErrorReason) {
    SwitchConversationErrorReason[SwitchConversationErrorReason["MIN_VALUE"] = 0] = "MIN_VALUE";
    SwitchConversationErrorReason[SwitchConversationErrorReason["MAX_VALUE"] = 0] = "MAX_VALUE";
    SwitchConversationErrorReason[SwitchConversationErrorReason["kUnknown"] = 0] = "kUnknown";
})(SwitchConversationErrorReason || (SwitchConversationErrorReason = {}));
export const RegisterConversationErrorReasonSpec = { $: mojo.internal.Enum() };
export var RegisterConversationErrorReason;
(function (RegisterConversationErrorReason) {
    RegisterConversationErrorReason[RegisterConversationErrorReason["MIN_VALUE"] = 0] = "MIN_VALUE";
    RegisterConversationErrorReason[RegisterConversationErrorReason["MAX_VALUE"] = 1] = "MAX_VALUE";
    RegisterConversationErrorReason[RegisterConversationErrorReason["kUnknown"] = 0] = "kUnknown";
    RegisterConversationErrorReason[RegisterConversationErrorReason["kInstanceAlreadyHasConversationId"] = 1] = "kInstanceAlreadyHasConversationId";
})(RegisterConversationErrorReason || (RegisterConversationErrorReason = {}));
export const PanelStateKindSpec = { $: mojo.internal.Enum() };
export var PanelStateKind;
(function (PanelStateKind) {
    PanelStateKind[PanelStateKind["MIN_VALUE"] = 0] = "MIN_VALUE";
    PanelStateKind[PanelStateKind["MAX_VALUE"] = 2] = "MAX_VALUE";
    PanelStateKind[PanelStateKind["kHidden"] = 0] = "kHidden";
    PanelStateKind[PanelStateKind["kDetached"] = 1] = "kDetached";
    PanelStateKind[PanelStateKind["kAttached"] = 2] = "kAttached";
})(PanelStateKind || (PanelStateKind = {}));
export const FreOverrideSpec = { $: mojo.internal.Enum() };
export var FreOverride;
(function (FreOverride) {
    FreOverride[FreOverride["MIN_VALUE"] = 0] = "MIN_VALUE";
    FreOverride[FreOverride["MAX_VALUE"] = 3] = "MAX_VALUE";
    FreOverride[FreOverride["kUnspecified"] = 0] = "kUnspecified";
    FreOverride[FreOverride["kTrustFirstText"] = 1] = "kTrustFirstText";
    FreOverride[FreOverride["kTrustFirstClick"] = 2] = "kTrustFirstClick";
    FreOverride[FreOverride["kTrustFirstInline"] = 3] = "kTrustFirstInline";
})(FreOverride || (FreOverride = {}));
export const InvocationSourceSpec = { $: mojo.internal.Enum() };
export var InvocationSource;
(function (InvocationSource) {
    InvocationSource[InvocationSource["MIN_VALUE"] = 0] = "MIN_VALUE";
    InvocationSource[InvocationSource["MAX_VALUE"] = 40] = "MAX_VALUE";
    InvocationSource[InvocationSource["kOsButton"] = 0] = "kOsButton";
    InvocationSource[InvocationSource["kOsButtonMenu"] = 1] = "kOsButtonMenu";
    InvocationSource[InvocationSource["kOsHotkey"] = 2] = "kOsHotkey";
    InvocationSource[InvocationSource["kTopChromeButton"] = 3] = "kTopChromeButton";
    InvocationSource[InvocationSource["kFre"] = 4] = "kFre";
    InvocationSource[InvocationSource["kProfilePicker"] = 5] = "kProfilePicker";
    InvocationSource[InvocationSource["kNudge"] = 6] = "kNudge";
    InvocationSource[InvocationSource["kThreeDotsMenu"] = 7] = "kThreeDotsMenu";
    InvocationSource[InvocationSource["kUnsupported"] = 8] = "kUnsupported";
    InvocationSource[InvocationSource["kWhatsNew"] = 9] = "kWhatsNew";
    InvocationSource[InvocationSource["kAfterSignIn"] = 10] = "kAfterSignIn";
    InvocationSource[InvocationSource["kSharedTab"] = 11] = "kSharedTab";
    InvocationSource[InvocationSource["kActorTaskIcon"] = 12] = "kActorTaskIcon";
    InvocationSource[InvocationSource["kSharedImage"] = 13] = "kSharedImage";
    InvocationSource[InvocationSource["kHandoffButton"] = 14] = "kHandoffButton";
    InvocationSource[InvocationSource["kSkills"] = 15] = "kSkills";
    InvocationSource[InvocationSource["kAutoOpenedByContextualCue"] = 16] = "kAutoOpenedByContextualCue";
    InvocationSource[InvocationSource["kPdfSummarizeButton"] = 17] = "kPdfSummarizeButton";
    InvocationSource[InvocationSource["kNavigationCapture"] = 18] = "kNavigationCapture";
    InvocationSource[InvocationSource["kAutoOpenedForPdf"] = 19] = "kAutoOpenedForPdf";
    InvocationSource[InvocationSource["kCaptureRegionHotkey"] = 20] = "kCaptureRegionHotkey";
    InvocationSource[InvocationSource["kIph"] = 21] = "kIph";
    InvocationSource[InvocationSource["kAnchoredContextualCue"] = 22] = "kAnchoredContextualCue";
    InvocationSource[InvocationSource["kWebContentsContextMenu"] = 23] = "kWebContentsContextMenu";
    InvocationSource[InvocationSource["kTextSelectionNudge"] = 24] = "kTextSelectionNudge";
    InvocationSource[InvocationSource["kTextSelectionWidget"] = 25] = "kTextSelectionWidget";
    InvocationSource[InvocationSource["kZeroStateAutoSummarize"] = 26] = "kZeroStateAutoSummarize";
    InvocationSource[InvocationSource["kUniversalCart"] = 27] = "kUniversalCart";
    InvocationSource[InvocationSource["kExperimentalTriggering"] = 28] = "kExperimentalTriggering";
    InvocationSource[InvocationSource["kPasswordChange"] = 29] = "kPasswordChange";
    InvocationSource[InvocationSource["kAutofill"] = 30] = "kAutofill";
    InvocationSource[InvocationSource["kToolbarButton"] = 31] = "kToolbarButton";
    InvocationSource[InvocationSource["kIndigoPageAction"] = 32] = "kIndigoPageAction";
    InvocationSource[InvocationSource["kWebDragDrop"] = 33] = "kWebDragDrop";
    InvocationSource[InvocationSource["kPromotionPage"] = 34] = "kPromotionPage";
    InvocationSource[InvocationSource["kDaisyChainOnNewTab"] = 35] = "kDaisyChainOnNewTab";
    InvocationSource[InvocationSource["kDaisyChainOnFollowLink"] = 36] = "kDaisyChainOnFollowLink";
    InvocationSource[InvocationSource["kConversationSwitch"] = 37] = "kConversationSwitch";
    InvocationSource[InvocationSource["kDetachAttachButton"] = 38] = "kDetachAttachButton";
    InvocationSource[InvocationSource["kTabRestore"] = 39] = "kTabRestore";
    InvocationSource[InvocationSource["kReshowInactive"] = 40] = "kReshowInactive";
})(InvocationSource || (InvocationSource = {}));
export const ActuationTargetSpec = { $: mojo.internal.Enum() };
export var ActuationTarget;
(function (ActuationTarget) {
    ActuationTarget[ActuationTarget["MIN_VALUE"] = 0] = "MIN_VALUE";
    ActuationTarget[ActuationTarget["MAX_VALUE"] = 4] = "MAX_VALUE";
    ActuationTarget[ActuationTarget["kUnknown"] = 0] = "kUnknown";
    ActuationTarget[ActuationTarget["kAgentDecides"] = 1] = "kAgentDecides";
    ActuationTarget[ActuationTarget["kCurrentTab"] = 2] = "kCurrentTab";
    ActuationTarget[ActuationTarget["kNewTab"] = 3] = "kNewTab";
    ActuationTarget[ActuationTarget["kTargetSurface"] = 4] = "kTargetSurface";
})(ActuationTarget || (ActuationTarget = {}));
export const WebClientModeSpec = { $: mojo.internal.Enum() };
export var WebClientMode;
(function (WebClientMode) {
    WebClientMode[WebClientMode["MIN_VALUE"] = 0] = "MIN_VALUE";
    WebClientMode[WebClientMode["MAX_VALUE"] = 2] = "MAX_VALUE";
    WebClientMode[WebClientMode["kUnknown"] = 2] = "kUnknown";
    WebClientMode[WebClientMode["kText"] = 0] = "kText";
    WebClientMode[WebClientMode["kAudio"] = 1] = "kAudio";
})(WebClientMode || (WebClientMode = {}));
export const MicrophoneStatusSpec = { $: mojo.internal.Enum() };
export var MicrophoneStatus;
(function (MicrophoneStatus) {
    MicrophoneStatus[MicrophoneStatus["MIN_VALUE"] = 0] = "MIN_VALUE";
    MicrophoneStatus[MicrophoneStatus["MAX_VALUE"] = 2] = "MAX_VALUE";
    MicrophoneStatus[MicrophoneStatus["kNotListening"] = 0] = "kNotListening";
    MicrophoneStatus[MicrophoneStatus["kListening"] = 1] = "kListening";
    MicrophoneStatus[MicrophoneStatus["kUnknown"] = 2] = "kUnknown";
})(MicrophoneStatus || (MicrophoneStatus = {}));
export const WebClientModelSpec = { $: mojo.internal.Enum() };
export var WebClientModel;
(function (WebClientModel) {
    WebClientModel[WebClientModel["MIN_VALUE"] = 0] = "MIN_VALUE";
    WebClientModel[WebClientModel["MAX_VALUE"] = 1] = "MAX_VALUE";
    WebClientModel[WebClientModel["kDefault"] = 0] = "kDefault";
    WebClientModel[WebClientModel["kActor"] = 1] = "kActor";
})(WebClientModel || (WebClientModel = {}));
export const WebUseCounterSpec = { $: mojo.internal.Enum() };
export var WebUseCounter;
(function (WebUseCounter) {
    WebUseCounter[WebUseCounter["MIN_VALUE"] = 0] = "MIN_VALUE";
    WebUseCounter[WebUseCounter["MAX_VALUE"] = 6] = "MAX_VALUE";
    WebUseCounter[WebUseCounter["kDefault"] = 0] = "kDefault";
    WebUseCounter[WebUseCounter["kSubmitPromptWithAutoMode"] = 1] = "kSubmitPromptWithAutoMode";
    WebUseCounter[WebUseCounter["kTaskInterruptedForUserConfirmation"] = 2] = "kTaskInterruptedForUserConfirmation";
    WebUseCounter[WebUseCounter["kTaskInterruptedForUserClarification"] = 3] = "kTaskInterruptedForUserClarification";
    WebUseCounter[WebUseCounter["kSelectionToggledViaSharedMenu"] = 4] = "kSelectionToggledViaSharedMenu";
    WebUseCounter[WebUseCounter["kSelectionToggledViaHotKey"] = 5] = "kSelectionToggledViaHotKey";
    WebUseCounter[WebUseCounter["kSubmitPromptWithTextSelectionCue"] = 6] = "kSubmitPromptWithTextSelectionCue";
})(WebUseCounter || (WebUseCounter = {}));
export const ClientErrorDialogTypeSpec = { $: mojo.internal.Enum() };
export var ClientErrorDialogType;
(function (ClientErrorDialogType) {
    ClientErrorDialogType[ClientErrorDialogType["MIN_VALUE"] = 0] = "MIN_VALUE";
    ClientErrorDialogType[ClientErrorDialogType["MAX_VALUE"] = 5] = "MAX_VALUE";
    ClientErrorDialogType[ClientErrorDialogType["kUnknown"] = 0] = "kUnknown";
    ClientErrorDialogType[ClientErrorDialogType["kDisabledByOrganization"] = 1] = "kDisabledByOrganization";
    ClientErrorDialogType[ClientErrorDialogType["kGenericAvailability"] = 2] = "kGenericAvailability";
    ClientErrorDialogType[ClientErrorDialogType["kIneligibleAccount"] = 3] = "kIneligibleAccount";
    ClientErrorDialogType[ClientErrorDialogType["kSignout"] = 4] = "kSignout";
    ClientErrorDialogType[ClientErrorDialogType["kUnsupportedLocation"] = 5] = "kUnsupportedLocation";
})(ClientErrorDialogType || (ClientErrorDialogType = {}));
export const ResponseStopCauseSpec = { $: mojo.internal.Enum() };
export var ResponseStopCause;
(function (ResponseStopCause) {
    ResponseStopCause[ResponseStopCause["MIN_VALUE"] = 0] = "MIN_VALUE";
    ResponseStopCause[ResponseStopCause["MAX_VALUE"] = 2] = "MAX_VALUE";
    ResponseStopCause[ResponseStopCause["kUnknown"] = 0] = "kUnknown";
    ResponseStopCause[ResponseStopCause["kUser"] = 1] = "kUser";
    ResponseStopCause[ResponseStopCause["kOther"] = 2] = "kOther";
})(ResponseStopCause || (ResponseStopCause = {}));
export const AdditionalContextSourceSpec = { $: mojo.internal.Enum() };
export var AdditionalContextSource;
(function (AdditionalContextSource) {
    AdditionalContextSource[AdditionalContextSource["MIN_VALUE"] = 0] = "MIN_VALUE";
    AdditionalContextSource[AdditionalContextSource["MAX_VALUE"] = 5] = "MAX_VALUE";
    AdditionalContextSource[AdditionalContextSource["kUnknown"] = 2] = "kUnknown";
    AdditionalContextSource[AdditionalContextSource["kShareContextMenu"] = 0] = "kShareContextMenu";
    AdditionalContextSource[AdditionalContextSource["kRegionSelection"] = 1] = "kRegionSelection";
    AdditionalContextSource[AdditionalContextSource["kTextSelection"] = 3] = "kTextSelection";
    AdditionalContextSource[AdditionalContextSource["kWebDragDrop"] = 4] = "kWebDragDrop";
    AdditionalContextSource[AdditionalContextSource["kExperimentalTriggering"] = 5] = "kExperimentalTriggering";
})(AdditionalContextSource || (AdditionalContextSource = {}));
export const ExperimentalTriggeringUpdateTypeSpec = { $: mojo.internal.Enum() };
export var ExperimentalTriggeringUpdateType;
(function (ExperimentalTriggeringUpdateType) {
    ExperimentalTriggeringUpdateType[ExperimentalTriggeringUpdateType["MIN_VALUE"] = 0] = "MIN_VALUE";
    ExperimentalTriggeringUpdateType[ExperimentalTriggeringUpdateType["MAX_VALUE"] = 6] = "MAX_VALUE";
    ExperimentalTriggeringUpdateType[ExperimentalTriggeringUpdateType["kUnknown"] = 0] = "kUnknown";
    ExperimentalTriggeringUpdateType[ExperimentalTriggeringUpdateType["kWorklog"] = 1] = "kWorklog";
    ExperimentalTriggeringUpdateType[ExperimentalTriggeringUpdateType["kPaused"] = 2] = "kPaused";
    ExperimentalTriggeringUpdateType[ExperimentalTriggeringUpdateType["kTerminalCompletion"] = 3] = "kTerminalCompletion";
    ExperimentalTriggeringUpdateType[ExperimentalTriggeringUpdateType["kTerminalStopped"] = 4] = "kTerminalStopped";
    ExperimentalTriggeringUpdateType[ExperimentalTriggeringUpdateType["kTerminalFailed"] = 5] = "kTerminalFailed";
    ExperimentalTriggeringUpdateType[ExperimentalTriggeringUpdateType["kYieldToUser"] = 6] = "kYieldToUser";
})(ExperimentalTriggeringUpdateType || (ExperimentalTriggeringUpdateType = {}));
export const SubscriberObservationTypeSpec = { $: mojo.internal.Enum() };
export var SubscriberObservationType;
(function (SubscriberObservationType) {
    SubscriberObservationType[SubscriberObservationType["MIN_VALUE"] = 0] = "MIN_VALUE";
    SubscriberObservationType[SubscriberObservationType["MAX_VALUE"] = 2] = "MAX_VALUE";
    SubscriberObservationType[SubscriberObservationType["kUpdate"] = 0] = "kUpdate";
    SubscriberObservationType[SubscriberObservationType["kComplete"] = 1] = "kComplete";
    SubscriberObservationType[SubscriberObservationType["kError"] = 2] = "kError";
})(SubscriberObservationType || (SubscriberObservationType = {}));
export const LightweightPageFeatureSpec = { $: mojo.internal.Enum() };
export var LightweightPageFeature;
(function (LightweightPageFeature) {
    LightweightPageFeature[LightweightPageFeature["MIN_VALUE"] = 0] = "MIN_VALUE";
    LightweightPageFeature[LightweightPageFeature["MAX_VALUE"] = 1] = "MAX_VALUE";
    LightweightPageFeature[LightweightPageFeature["kUnknown"] = 0] = "kUnknown";
    LightweightPageFeature[LightweightPageFeature["kYtAskButtonPresent"] = 1] = "kYtAskButtonPresent";
})(LightweightPageFeature || (LightweightPageFeature = {}));
export const CaptureRegionErrorReasonSpec = { $: mojo.internal.Enum() };
export var CaptureRegionErrorReason;
(function (CaptureRegionErrorReason) {
    CaptureRegionErrorReason[CaptureRegionErrorReason["MIN_VALUE"] = 0] = "MIN_VALUE";
    CaptureRegionErrorReason[CaptureRegionErrorReason["MAX_VALUE"] = 1] = "MAX_VALUE";
    CaptureRegionErrorReason[CaptureRegionErrorReason["kUnknown"] = 0] = "kUnknown";
    CaptureRegionErrorReason[CaptureRegionErrorReason["kNoFocusableTab"] = 1] = "kNoFocusableTab";
})(CaptureRegionErrorReason || (CaptureRegionErrorReason = {}));
export const SettingsPageFieldSpec = { $: mojo.internal.Enum() };
export var SettingsPageField;
(function (SettingsPageField) {
    SettingsPageField[SettingsPageField["MIN_VALUE"] = 0] = "MIN_VALUE";
    SettingsPageField[SettingsPageField["MAX_VALUE"] = 2] = "MAX_VALUE";
    SettingsPageField[SettingsPageField["kNone"] = 0] = "kNone";
    SettingsPageField[SettingsPageField["kOsHotkey"] = 1] = "kOsHotkey";
    SettingsPageField[SettingsPageField["kOsEntrypointToggle"] = 2] = "kOsEntrypointToggle";
})(SettingsPageField || (SettingsPageField = {}));
export const HostCapabilitySpec = { $: mojo.internal.Enum() };
export var HostCapability;
(function (HostCapability) {
    HostCapability[HostCapability["MIN_VALUE"] = 0] = "MIN_VALUE";
    HostCapability[HostCapability["MAX_VALUE"] = 13] = "MAX_VALUE";
    HostCapability[HostCapability["kScrollToPdf"] = 0] = "kScrollToPdf";
    HostCapability[HostCapability["kResetSizeAndLocationOnOpen"] = 1] = "kResetSizeAndLocationOnOpen";
    HostCapability[HostCapability["kGetModelQualityClientId"] = 2] = "kGetModelQualityClientId";
    HostCapability[HostCapability["kMultiInstance"] = 3] = "kMultiInstance";
    HostCapability[HostCapability["kTrustFirstOnboardingArm1"] = 4] = "kTrustFirstOnboardingArm1";
    HostCapability[HostCapability["kTrustFirstOnboardingArm2"] = 5] = "kTrustFirstOnboardingArm2";
    HostCapability[HostCapability["kShareAdditionalImageContext"] = 6] = "kShareAdditionalImageContext";
    HostCapability[HostCapability["kPdfZeroState"] = 7] = "kPdfZeroState";
    HostCapability[HostCapability["kInvoke"] = 8] = "kInvoke";
    HostCapability[HostCapability["kNoLiveMode"] = 9] = "kNoLiveMode";
    HostCapability[HostCapability["kAutoLoginSignInWithGoogle"] = 10] = "kAutoLoginSignInWithGoogle";
    HostCapability[HostCapability["kShareImageViaInvoke"] = 11] = "kShareImageViaInvoke";
    HostCapability[HostCapability["kImgWebDragDrop"] = 12] = "kImgWebDragDrop";
    HostCapability[HostCapability["kNoWebUiLoader"] = 13] = "kNoWebUiLoader";
})(HostCapability || (HostCapability = {}));
export const ClientCapabilitiesSpec = { $: mojo.internal.Enum() };
export var ClientCapabilities;
(function (ClientCapabilities) {
    ClientCapabilities[ClientCapabilities["MIN_VALUE"] = 0] = "MIN_VALUE";
    ClientCapabilities[ClientCapabilities["MAX_VALUE"] = 0] = "MAX_VALUE";
    ClientCapabilities[ClientCapabilities["kIgnoresTabDataFavicons"] = 0] = "kIgnoresTabDataFavicons";
})(ClientCapabilities || (ClientCapabilities = {}));
export class PreloadPagePendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.PreloadPage', scope);
    }
}
export class PreloadPageRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(PreloadPagePendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    setProfileReadyState(readyState) {
        this.proxy.sendMessage(1998538919, PreloadPage_SetProfileReadyState_ParamsSpec.$, null, [
            readyState
        ], false);
    }
}
;
/**
 * An object which receives request messages for the PreloadPage
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class PreloadPageReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(PreloadPageRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(1998538919, PreloadPage_SetProfileReadyState_ParamsSpec.$, null, impl.setProfileReadyState.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class PreloadPage {
    static get $interfaceName() {
        return "glic.mojom.PreloadPage";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new PreloadPageRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the PreloadPage
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class PreloadPageCallbackRouter {
    helper_internal_;
    $;
    router_;
    setProfileReadyState;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(PreloadPageRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.setProfileReadyState =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1998538919, PreloadPage_SetProfileReadyState_ParamsSpec.$, null, this.setProfileReadyState.createReceiverHandler(false /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class PagePendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.Page', scope);
    }
}
export class PageRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(PagePendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    intentToShow() {
        this.proxy.sendMessage(509658237, Page_IntentToShow_ParamsSpec.$, null, [], false);
    }
    setProfileReadyState(readyState) {
        this.proxy.sendMessage(1599974764, Page_SetProfileReadyState_ParamsSpec.$, null, [
            readyState
        ], false);
    }
    updatePageState(panelStateKind) {
        this.proxy.sendMessage(618650310, Page_UpdatePageState_ParamsSpec.$, null, [
            panelStateKind
        ], false);
    }
    zoom(action) {
        this.proxy.sendMessage(1786964548, Page_Zoom_ParamsSpec.$, null, [
            action
        ], false);
    }
}
;
/**
 * An object which receives request messages for the Page
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class PageReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(PageRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(509658237, Page_IntentToShow_ParamsSpec.$, null, impl.intentToShow.bind(impl), false);
        this.helper_internal_.registerHandler(1599974764, Page_SetProfileReadyState_ParamsSpec.$, null, impl.setProfileReadyState.bind(impl), false);
        this.helper_internal_.registerHandler(618650310, Page_UpdatePageState_ParamsSpec.$, null, impl.updatePageState.bind(impl), false);
        this.helper_internal_.registerHandler(1786964548, Page_Zoom_ParamsSpec.$, null, impl.zoom.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class Page {
    static get $interfaceName() {
        return "glic.mojom.Page";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new PageRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the Page
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class PageCallbackRouter {
    helper_internal_;
    $;
    router_;
    intentToShow;
    setProfileReadyState;
    updatePageState;
    zoom;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(PageRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.intentToShow =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(509658237, Page_IntentToShow_ParamsSpec.$, null, this.intentToShow.createReceiverHandler(false /* expectsResponse */), false);
        this.setProfileReadyState =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1599974764, Page_SetProfileReadyState_ParamsSpec.$, null, this.setProfileReadyState.createReceiverHandler(false /* expectsResponse */), false);
        this.updatePageState =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(618650310, Page_UpdatePageState_ParamsSpec.$, null, this.updatePageState.createReceiverHandler(false /* expectsResponse */), false);
        this.zoom =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1786964548, Page_Zoom_ParamsSpec.$, null, this.zoom.createReceiverHandler(false /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class GlicPreloadHandlerPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.GlicPreloadHandler', scope);
    }
}
export class GlicPreloadHandlerRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(GlicPreloadHandlerPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    prepareForClient() {
        return this.proxy.sendMessage(1717785118, GlicPreloadHandler_PrepareForClient_ParamsSpec.$, GlicPreloadHandler_PrepareForClient_ResponseParamsSpec.$, [], false);
    }
}
;
/**
 * An object which receives request messages for the GlicPreloadHandler
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class GlicPreloadHandlerReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(GlicPreloadHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(1717785118, GlicPreloadHandler_PrepareForClient_ParamsSpec.$, GlicPreloadHandler_PrepareForClient_ResponseParamsSpec.$, impl.prepareForClient.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class GlicPreloadHandler {
    static get $interfaceName() {
        return "glic.mojom.GlicPreloadHandler";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new GlicPreloadHandlerRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the GlicPreloadHandler
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class GlicPreloadHandlerCallbackRouter {
    helper_internal_;
    $;
    router_;
    prepareForClient;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(GlicPreloadHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.prepareForClient =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1717785118, GlicPreloadHandler_PrepareForClient_ParamsSpec.$, GlicPreloadHandler_PrepareForClient_ResponseParamsSpec.$, this.prepareForClient.createReceiverHandler(true /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class GlicPreloadHandlerFactoryPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.GlicPreloadHandlerFactory', scope);
    }
}
export class GlicPreloadHandlerFactoryRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(GlicPreloadHandlerFactoryPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    createPreloadHandler(receiver, page) {
        this.proxy.sendMessage(469059058, GlicPreloadHandlerFactory_CreatePreloadHandler_ParamsSpec.$, null, [
            receiver,
            page
        ], false);
    }
}
;
/**
 * An object which receives request messages for the GlicPreloadHandlerFactory
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class GlicPreloadHandlerFactoryReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(GlicPreloadHandlerFactoryRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(469059058, GlicPreloadHandlerFactory_CreatePreloadHandler_ParamsSpec.$, null, impl.createPreloadHandler.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class GlicPreloadHandlerFactory {
    static get $interfaceName() {
        return "glic.mojom.GlicPreloadHandlerFactory";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new GlicPreloadHandlerFactoryRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the GlicPreloadHandlerFactory
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class GlicPreloadHandlerFactoryCallbackRouter {
    helper_internal_;
    $;
    router_;
    createPreloadHandler;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(GlicPreloadHandlerFactoryRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.createPreloadHandler =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(469059058, GlicPreloadHandlerFactory_CreatePreloadHandler_ParamsSpec.$, null, this.createPreloadHandler.createReceiverHandler(false /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class PageHandlerFactoryPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.PageHandlerFactory', scope);
    }
}
export class PageHandlerFactoryRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(PageHandlerFactoryPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    createPageHandler(receiver, page) {
        return this.proxy.sendMessage(108481000, PageHandlerFactory_CreatePageHandler_ParamsSpec.$, PageHandlerFactory_CreatePageHandler_ResponseParamsSpec.$, [
            receiver,
            page
        ], false);
    }
}
;
/**
 * An object which receives request messages for the PageHandlerFactory
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class PageHandlerFactoryReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(PageHandlerFactoryRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(108481000, PageHandlerFactory_CreatePageHandler_ParamsSpec.$, PageHandlerFactory_CreatePageHandler_ResponseParamsSpec.$, impl.createPageHandler.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class PageHandlerFactory {
    static get $interfaceName() {
        return "glic.mojom.PageHandlerFactory";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new PageHandlerFactoryRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the PageHandlerFactory
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class PageHandlerFactoryCallbackRouter {
    helper_internal_;
    $;
    router_;
    createPageHandler;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(PageHandlerFactoryRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.createPageHandler =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(108481000, PageHandlerFactory_CreatePageHandler_ParamsSpec.$, PageHandlerFactory_CreatePageHandler_ResponseParamsSpec.$, this.createPageHandler.createReceiverHandler(true /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class PageHandlerPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.PageHandler', scope);
    }
}
export class PageHandlerRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(PageHandlerPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    createWebClient(webClientReceiver) {
        this.proxy.sendMessage(1021481800, PageHandler_CreateWebClient_ParamsSpec.$, null, [
            webClientReceiver
        ], false);
    }
    prepareForClient() {
        return this.proxy.sendMessage(2066630691, PageHandler_PrepareForClient_ParamsSpec.$, PageHandler_PrepareForClient_ResponseParamsSpec.$, [], false);
    }
    webviewCommitted(url) {
        this.proxy.sendMessage(358279562, PageHandler_WebviewCommitted_ParamsSpec.$, null, [
            url
        ], false);
    }
    onZoomLevelChange(zoomFactor) {
        this.proxy.sendMessage(833579114, PageHandler_OnZoomLevelChange_ParamsSpec.$, null, [
            zoomFactor
        ], false);
    }
    closePanel() {
        return this.proxy.sendMessage(1441031772, PageHandler_ClosePanel_ParamsSpec.$, PageHandler_ClosePanel_ResponseParamsSpec.$, [], false);
    }
    openHelpCenterTopicAndClosePanel(topic) {
        this.proxy.sendMessage(96813383, PageHandler_OpenHelpCenterTopicAndClosePanel_ParamsSpec.$, null, [
            topic
        ], false);
    }
    openProfilePickerAndClosePanel() {
        this.proxy.sendMessage(1520207430, PageHandler_OpenProfilePickerAndClosePanel_ParamsSpec.$, null, [], false);
    }
    openDisabledByAdminLinkAndClosePanel() {
        this.proxy.sendMessage(457779360, PageHandler_OpenDisabledByAdminLinkAndClosePanel_ParamsSpec.$, null, [], false);
    }
    signInAndClosePanel() {
        this.proxy.sendMessage(711483490, PageHandler_SignInAndClosePanel_ParamsSpec.$, null, [], false);
    }
    resizeWidget(size, duration) {
        return this.proxy.sendMessage(423628025, PageHandler_ResizeWidget_ParamsSpec.$, PageHandler_ResizeWidget_ResponseParamsSpec.$, [
            size,
            duration
        ], false);
    }
    enableDragResize(enabled) {
        this.proxy.sendMessage(1772645340, PageHandler_EnableDragResize_ParamsSpec.$, null, [
            enabled
        ], false);
    }
    webUiStateChanged(newState) {
        this.proxy.sendMessage(899528004, PageHandler_WebUiStateChanged_ParamsSpec.$, null, [
            newState
        ], false);
    }
}
;
/**
 * An object which receives request messages for the PageHandler
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class PageHandlerReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(PageHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(1021481800, PageHandler_CreateWebClient_ParamsSpec.$, null, impl.createWebClient.bind(impl), false);
        this.helper_internal_.registerHandler(2066630691, PageHandler_PrepareForClient_ParamsSpec.$, PageHandler_PrepareForClient_ResponseParamsSpec.$, impl.prepareForClient.bind(impl), false);
        this.helper_internal_.registerHandler(358279562, PageHandler_WebviewCommitted_ParamsSpec.$, null, impl.webviewCommitted.bind(impl), false);
        this.helper_internal_.registerHandler(833579114, PageHandler_OnZoomLevelChange_ParamsSpec.$, null, impl.onZoomLevelChange.bind(impl), false);
        this.helper_internal_.registerHandler(1441031772, PageHandler_ClosePanel_ParamsSpec.$, PageHandler_ClosePanel_ResponseParamsSpec.$, impl.closePanel.bind(impl), false);
        this.helper_internal_.registerHandler(96813383, PageHandler_OpenHelpCenterTopicAndClosePanel_ParamsSpec.$, null, impl.openHelpCenterTopicAndClosePanel.bind(impl), false);
        this.helper_internal_.registerHandler(1520207430, PageHandler_OpenProfilePickerAndClosePanel_ParamsSpec.$, null, impl.openProfilePickerAndClosePanel.bind(impl), false);
        this.helper_internal_.registerHandler(457779360, PageHandler_OpenDisabledByAdminLinkAndClosePanel_ParamsSpec.$, null, impl.openDisabledByAdminLinkAndClosePanel.bind(impl), false);
        this.helper_internal_.registerHandler(711483490, PageHandler_SignInAndClosePanel_ParamsSpec.$, null, impl.signInAndClosePanel.bind(impl), false);
        this.helper_internal_.registerHandler(423628025, PageHandler_ResizeWidget_ParamsSpec.$, PageHandler_ResizeWidget_ResponseParamsSpec.$, impl.resizeWidget.bind(impl), false);
        this.helper_internal_.registerHandler(1772645340, PageHandler_EnableDragResize_ParamsSpec.$, null, impl.enableDragResize.bind(impl), false);
        this.helper_internal_.registerHandler(899528004, PageHandler_WebUiStateChanged_ParamsSpec.$, null, impl.webUiStateChanged.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class PageHandler {
    static get $interfaceName() {
        return "glic.mojom.PageHandler";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new PageHandlerRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the PageHandler
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class PageHandlerCallbackRouter {
    helper_internal_;
    $;
    router_;
    createWebClient;
    prepareForClient;
    webviewCommitted;
    onZoomLevelChange;
    closePanel;
    openHelpCenterTopicAndClosePanel;
    openProfilePickerAndClosePanel;
    openDisabledByAdminLinkAndClosePanel;
    signInAndClosePanel;
    resizeWidget;
    enableDragResize;
    webUiStateChanged;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(PageHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.createWebClient =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1021481800, PageHandler_CreateWebClient_ParamsSpec.$, null, this.createWebClient.createReceiverHandler(false /* expectsResponse */), false);
        this.prepareForClient =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(2066630691, PageHandler_PrepareForClient_ParamsSpec.$, PageHandler_PrepareForClient_ResponseParamsSpec.$, this.prepareForClient.createReceiverHandler(true /* expectsResponse */), false);
        this.webviewCommitted =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(358279562, PageHandler_WebviewCommitted_ParamsSpec.$, null, this.webviewCommitted.createReceiverHandler(false /* expectsResponse */), false);
        this.onZoomLevelChange =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(833579114, PageHandler_OnZoomLevelChange_ParamsSpec.$, null, this.onZoomLevelChange.createReceiverHandler(false /* expectsResponse */), false);
        this.closePanel =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1441031772, PageHandler_ClosePanel_ParamsSpec.$, PageHandler_ClosePanel_ResponseParamsSpec.$, this.closePanel.createReceiverHandler(true /* expectsResponse */), false);
        this.openHelpCenterTopicAndClosePanel =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(96813383, PageHandler_OpenHelpCenterTopicAndClosePanel_ParamsSpec.$, null, this.openHelpCenterTopicAndClosePanel.createReceiverHandler(false /* expectsResponse */), false);
        this.openProfilePickerAndClosePanel =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1520207430, PageHandler_OpenProfilePickerAndClosePanel_ParamsSpec.$, null, this.openProfilePickerAndClosePanel.createReceiverHandler(false /* expectsResponse */), false);
        this.openDisabledByAdminLinkAndClosePanel =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(457779360, PageHandler_OpenDisabledByAdminLinkAndClosePanel_ParamsSpec.$, null, this.openDisabledByAdminLinkAndClosePanel.createReceiverHandler(false /* expectsResponse */), false);
        this.signInAndClosePanel =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(711483490, PageHandler_SignInAndClosePanel_ParamsSpec.$, null, this.signInAndClosePanel.createReceiverHandler(false /* expectsResponse */), false);
        this.resizeWidget =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(423628025, PageHandler_ResizeWidget_ParamsSpec.$, PageHandler_ResizeWidget_ResponseParamsSpec.$, this.resizeWidget.createReceiverHandler(true /* expectsResponse */), false);
        this.enableDragResize =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1772645340, PageHandler_EnableDragResize_ParamsSpec.$, null, this.enableDragResize.createReceiverHandler(false /* expectsResponse */), false);
        this.webUiStateChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(899528004, PageHandler_WebUiStateChanged_ParamsSpec.$, null, this.webUiStateChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class PinCandidatesObserverPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.PinCandidatesObserver', scope);
    }
}
export class PinCandidatesObserverRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(PinCandidatesObserverPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    onPinCandidatesChanged(candidates) {
        this.proxy.sendMessage(1785834742, PinCandidatesObserver_OnPinCandidatesChanged_ParamsSpec.$, null, [
            candidates
        ], false);
    }
}
;
/**
 * An object which receives request messages for the PinCandidatesObserver
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class PinCandidatesObserverReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(PinCandidatesObserverRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(1785834742, PinCandidatesObserver_OnPinCandidatesChanged_ParamsSpec.$, null, impl.onPinCandidatesChanged.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class PinCandidatesObserver {
    static get $interfaceName() {
        return "glic.mojom.PinCandidatesObserver";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new PinCandidatesObserverRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the PinCandidatesObserver
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class PinCandidatesObserverCallbackRouter {
    helper_internal_;
    $;
    router_;
    onPinCandidatesChanged;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(PinCandidatesObserverRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.onPinCandidatesChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1785834742, PinCandidatesObserver_OnPinCandidatesChanged_ParamsSpec.$, null, this.onPinCandidatesChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class ActorClientPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.ActorClient', scope);
    }
}
export class ActorClientRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(ActorClientPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    requestToShowCredentialSelectionDialog(request) {
        return this.proxy.sendMessage(1114528243, ActorClient_RequestToShowCredentialSelectionDialog_ParamsSpec.$, ActorClient_RequestToShowCredentialSelectionDialog_ResponseParamsSpec.$, [
            request
        ], false);
    }
    requestToShowAutofillSuggestionsDialog(request) {
        return this.proxy.sendMessage(1902583012, ActorClient_RequestToShowAutofillSuggestionsDialog_ParamsSpec.$, ActorClient_RequestToShowAutofillSuggestionsDialog_ResponseParamsSpec.$, [
            request
        ], false);
    }
    requestToShowUserConfirmationDialog(request) {
        return this.proxy.sendMessage(271976921, ActorClient_RequestToShowUserConfirmationDialog_ParamsSpec.$, ActorClient_RequestToShowUserConfirmationDialog_ResponseParamsSpec.$, [
            request
        ], false);
    }
    requestToConfirmNavigation(request) {
        return this.proxy.sendMessage(85614597, ActorClient_RequestToConfirmNavigation_ParamsSpec.$, ActorClient_RequestToConfirmNavigation_ResponseParamsSpec.$, [
            request
        ], false);
    }
    notifyActorTaskStateChanged(taskId, state) {
        this.proxy.sendMessage(1232596239, ActorClient_NotifyActorTaskStateChanged_ParamsSpec.$, null, [
            taskId,
            state
        ], false);
    }
    requestToShowGmailOtpOptInDialog(taskId) {
        return this.proxy.sendMessage(1780525677, ActorClient_RequestToShowGmailOtpOptInDialog_ParamsSpec.$, ActorClient_RequestToShowGmailOtpOptInDialog_ResponseParamsSpec.$, [
            taskId
        ], false);
    }
}
;
/**
 * An object which receives request messages for the ActorClient
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class ActorClientReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(ActorClientRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(1114528243, ActorClient_RequestToShowCredentialSelectionDialog_ParamsSpec.$, ActorClient_RequestToShowCredentialSelectionDialog_ResponseParamsSpec.$, impl.requestToShowCredentialSelectionDialog.bind(impl), false);
        this.helper_internal_.registerHandler(1902583012, ActorClient_RequestToShowAutofillSuggestionsDialog_ParamsSpec.$, ActorClient_RequestToShowAutofillSuggestionsDialog_ResponseParamsSpec.$, impl.requestToShowAutofillSuggestionsDialog.bind(impl), false);
        this.helper_internal_.registerHandler(271976921, ActorClient_RequestToShowUserConfirmationDialog_ParamsSpec.$, ActorClient_RequestToShowUserConfirmationDialog_ResponseParamsSpec.$, impl.requestToShowUserConfirmationDialog.bind(impl), false);
        this.helper_internal_.registerHandler(85614597, ActorClient_RequestToConfirmNavigation_ParamsSpec.$, ActorClient_RequestToConfirmNavigation_ResponseParamsSpec.$, impl.requestToConfirmNavigation.bind(impl), false);
        this.helper_internal_.registerHandler(1232596239, ActorClient_NotifyActorTaskStateChanged_ParamsSpec.$, null, impl.notifyActorTaskStateChanged.bind(impl), false);
        this.helper_internal_.registerHandler(1780525677, ActorClient_RequestToShowGmailOtpOptInDialog_ParamsSpec.$, ActorClient_RequestToShowGmailOtpOptInDialog_ResponseParamsSpec.$, impl.requestToShowGmailOtpOptInDialog.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class ActorClient {
    static get $interfaceName() {
        return "glic.mojom.ActorClient";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new ActorClientRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the ActorClient
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class ActorClientCallbackRouter {
    helper_internal_;
    $;
    router_;
    requestToShowCredentialSelectionDialog;
    requestToShowAutofillSuggestionsDialog;
    requestToShowUserConfirmationDialog;
    requestToConfirmNavigation;
    notifyActorTaskStateChanged;
    requestToShowGmailOtpOptInDialog;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(ActorClientRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.requestToShowCredentialSelectionDialog =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1114528243, ActorClient_RequestToShowCredentialSelectionDialog_ParamsSpec.$, ActorClient_RequestToShowCredentialSelectionDialog_ResponseParamsSpec.$, this.requestToShowCredentialSelectionDialog.createReceiverHandler(true /* expectsResponse */), false);
        this.requestToShowAutofillSuggestionsDialog =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1902583012, ActorClient_RequestToShowAutofillSuggestionsDialog_ParamsSpec.$, ActorClient_RequestToShowAutofillSuggestionsDialog_ResponseParamsSpec.$, this.requestToShowAutofillSuggestionsDialog.createReceiverHandler(true /* expectsResponse */), false);
        this.requestToShowUserConfirmationDialog =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(271976921, ActorClient_RequestToShowUserConfirmationDialog_ParamsSpec.$, ActorClient_RequestToShowUserConfirmationDialog_ResponseParamsSpec.$, this.requestToShowUserConfirmationDialog.createReceiverHandler(true /* expectsResponse */), false);
        this.requestToConfirmNavigation =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(85614597, ActorClient_RequestToConfirmNavigation_ParamsSpec.$, ActorClient_RequestToConfirmNavigation_ResponseParamsSpec.$, this.requestToConfirmNavigation.createReceiverHandler(true /* expectsResponse */), false);
        this.notifyActorTaskStateChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1232596239, ActorClient_NotifyActorTaskStateChanged_ParamsSpec.$, null, this.notifyActorTaskStateChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.requestToShowGmailOtpOptInDialog =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1780525677, ActorClient_RequestToShowGmailOtpOptInDialog_ParamsSpec.$, ActorClient_RequestToShowGmailOtpOptInDialog_ResponseParamsSpec.$, this.requestToShowGmailOtpOptInDialog.createReceiverHandler(true /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class ActorHandlerPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.ActorHandler', scope);
    }
}
export class ActorHandlerRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(ActorHandlerPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    autofillSuggestionDialogOnFormPresented(taskId, params) {
        this.proxy.sendMessage(1418128483, ActorHandler_AutofillSuggestionDialogOnFormPresented_ParamsSpec.$, null, [
            taskId,
            params
        ], false);
    }
    autofillSuggestionDialogOnFormPreviewChanged(taskId, params) {
        this.proxy.sendMessage(1362439628, ActorHandler_AutofillSuggestionDialogOnFormPreviewChanged_ParamsSpec.$, null, [
            taskId,
            params
        ], false);
    }
    autofillSuggestionDialogOnFormConfirmed(taskId, params) {
        this.proxy.sendMessage(981466128, ActorHandler_AutofillSuggestionDialogOnFormConfirmed_ParamsSpec.$, null, [
            taskId,
            params
        ], false);
    }
    getContextForActorFromTab(tabId, options) {
        return this.proxy.sendMessage(2117024768, ActorHandler_GetContextForActorFromTab_ParamsSpec.$, ActorHandler_GetContextForActorFromTab_ResponseParamsSpec.$, [
            tabId,
            options
        ], false);
    }
    createTask(taskOptions) {
        return this.proxy.sendMessage(1028719351, ActorHandler_CreateTask_ParamsSpec.$, ActorHandler_CreateTask_ResponseParamsSpec.$, [
            taskOptions
        ], true);
    }
    performActions(actionsProto) {
        return this.proxy.sendMessage(839261674, ActorHandler_PerformActions_ParamsSpec.$, ActorHandler_PerformActions_ResponseParamsSpec.$, [
            actionsProto
        ], true);
    }
    cancelActions(taskId) {
        return this.proxy.sendMessage(1383367712, ActorHandler_CancelActions_ParamsSpec.$, ActorHandler_CancelActions_ResponseParamsSpec.$, [
            taskId
        ], false);
    }
    stopActorTask(taskId, stopReason) {
        this.proxy.sendMessage(1786081407, ActorHandler_StopActorTask_ParamsSpec.$, null, [
            taskId,
            stopReason
        ], false);
    }
    pauseActorTask(taskId, pauseReason, tabId) {
        this.proxy.sendMessage(343232299, ActorHandler_PauseActorTask_ParamsSpec.$, null, [
            taskId,
            pauseReason,
            tabId
        ], false);
    }
    resumeActorTask(taskId, contextOptions) {
        return this.proxy.sendMessage(811740437, ActorHandler_ResumeActorTask_ParamsSpec.$, ActorHandler_ResumeActorTask_ResponseParamsSpec.$, [
            taskId,
            contextOptions
        ], false);
    }
    interruptActorTask(taskId, interruptReason) {
        this.proxy.sendMessage(1087083299, ActorHandler_InterruptActorTask_ParamsSpec.$, null, [
            taskId,
            interruptReason
        ], false);
    }
    uninterruptActorTask(taskId) {
        this.proxy.sendMessage(1954859543, ActorHandler_UninterruptActorTask_ParamsSpec.$, null, [
            taskId
        ], false);
    }
    createActorTab(taskId, openInBackground, initiatorTabId, initiatorWindowId) {
        return this.proxy.sendMessage(32050986, ActorHandler_CreateActorTab_ParamsSpec.$, ActorHandler_CreateActorTab_ResponseParamsSpec.$, [
            taskId,
            openInBackground,
            initiatorTabId,
            initiatorWindowId
        ], false);
    }
    logBeginAsyncEvent(eventAsyncId, taskId, event, details) {
        this.proxy.sendMessage(252828842, ActorHandler_LogBeginAsyncEvent_ParamsSpec.$, null, [
            eventAsyncId,
            taskId,
            event,
            details
        ], false);
    }
    logEndAsyncEvent(eventAsyncId, details) {
        this.proxy.sendMessage(430413181, ActorHandler_LogEndAsyncEvent_ParamsSpec.$, null, [
            eventAsyncId,
            details
        ], false);
    }
    logInstantEvent(taskId, event, details) {
        this.proxy.sendMessage(1961596589, ActorHandler_LogInstantEvent_ParamsSpec.$, null, [
            taskId,
            event,
            details
        ], false);
    }
    journalClear() {
        this.proxy.sendMessage(898122477, ActorHandler_JournalClear_ParamsSpec.$, null, [], false);
    }
    journalSnapshot(clearJournal) {
        return this.proxy.sendMessage(2018479259, ActorHandler_JournalSnapshot_ParamsSpec.$, ActorHandler_JournalSnapshot_ResponseParamsSpec.$, [
            clearJournal
        ], false);
    }
    journalStart(maxBytes, captureScreenshots) {
        this.proxy.sendMessage(1599281463, ActorHandler_JournalStart_ParamsSpec.$, null, [
            maxBytes,
            captureScreenshots
        ], false);
    }
    journalStop() {
        this.proxy.sendMessage(2107479179, ActorHandler_JournalStop_ParamsSpec.$, null, [], false);
    }
    journalRecordFeedback(positive, reason) {
        this.proxy.sendMessage(1884963516, ActorHandler_JournalRecordFeedback_ParamsSpec.$, null, [
            positive,
            reason
        ], false);
    }
}
;
/**
 * An object which receives request messages for the ActorHandler
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class ActorHandlerReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(ActorHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(1418128483, ActorHandler_AutofillSuggestionDialogOnFormPresented_ParamsSpec.$, null, impl.autofillSuggestionDialogOnFormPresented.bind(impl), false);
        this.helper_internal_.registerHandler(1362439628, ActorHandler_AutofillSuggestionDialogOnFormPreviewChanged_ParamsSpec.$, null, impl.autofillSuggestionDialogOnFormPreviewChanged.bind(impl), false);
        this.helper_internal_.registerHandler(981466128, ActorHandler_AutofillSuggestionDialogOnFormConfirmed_ParamsSpec.$, null, impl.autofillSuggestionDialogOnFormConfirmed.bind(impl), false);
        this.helper_internal_.registerHandler(2117024768, ActorHandler_GetContextForActorFromTab_ParamsSpec.$, ActorHandler_GetContextForActorFromTab_ResponseParamsSpec.$, impl.getContextForActorFromTab.bind(impl), false);
        this.helper_internal_.registerHandler(1028719351, ActorHandler_CreateTask_ParamsSpec.$, ActorHandler_CreateTask_ResponseParamsSpec.$, impl.createTask.bind(impl), true);
        this.helper_internal_.registerHandler(839261674, ActorHandler_PerformActions_ParamsSpec.$, ActorHandler_PerformActions_ResponseParamsSpec.$, impl.performActions.bind(impl), true);
        this.helper_internal_.registerHandler(1383367712, ActorHandler_CancelActions_ParamsSpec.$, ActorHandler_CancelActions_ResponseParamsSpec.$, impl.cancelActions.bind(impl), false);
        this.helper_internal_.registerHandler(1786081407, ActorHandler_StopActorTask_ParamsSpec.$, null, impl.stopActorTask.bind(impl), false);
        this.helper_internal_.registerHandler(343232299, ActorHandler_PauseActorTask_ParamsSpec.$, null, impl.pauseActorTask.bind(impl), false);
        this.helper_internal_.registerHandler(811740437, ActorHandler_ResumeActorTask_ParamsSpec.$, ActorHandler_ResumeActorTask_ResponseParamsSpec.$, impl.resumeActorTask.bind(impl), false);
        this.helper_internal_.registerHandler(1087083299, ActorHandler_InterruptActorTask_ParamsSpec.$, null, impl.interruptActorTask.bind(impl), false);
        this.helper_internal_.registerHandler(1954859543, ActorHandler_UninterruptActorTask_ParamsSpec.$, null, impl.uninterruptActorTask.bind(impl), false);
        this.helper_internal_.registerHandler(32050986, ActorHandler_CreateActorTab_ParamsSpec.$, ActorHandler_CreateActorTab_ResponseParamsSpec.$, impl.createActorTab.bind(impl), false);
        this.helper_internal_.registerHandler(252828842, ActorHandler_LogBeginAsyncEvent_ParamsSpec.$, null, impl.logBeginAsyncEvent.bind(impl), false);
        this.helper_internal_.registerHandler(430413181, ActorHandler_LogEndAsyncEvent_ParamsSpec.$, null, impl.logEndAsyncEvent.bind(impl), false);
        this.helper_internal_.registerHandler(1961596589, ActorHandler_LogInstantEvent_ParamsSpec.$, null, impl.logInstantEvent.bind(impl), false);
        this.helper_internal_.registerHandler(898122477, ActorHandler_JournalClear_ParamsSpec.$, null, impl.journalClear.bind(impl), false);
        this.helper_internal_.registerHandler(2018479259, ActorHandler_JournalSnapshot_ParamsSpec.$, ActorHandler_JournalSnapshot_ResponseParamsSpec.$, impl.journalSnapshot.bind(impl), false);
        this.helper_internal_.registerHandler(1599281463, ActorHandler_JournalStart_ParamsSpec.$, null, impl.journalStart.bind(impl), false);
        this.helper_internal_.registerHandler(2107479179, ActorHandler_JournalStop_ParamsSpec.$, null, impl.journalStop.bind(impl), false);
        this.helper_internal_.registerHandler(1884963516, ActorHandler_JournalRecordFeedback_ParamsSpec.$, null, impl.journalRecordFeedback.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class ActorHandler {
    static get $interfaceName() {
        return "glic.mojom.ActorHandler";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new ActorHandlerRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the ActorHandler
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class ActorHandlerCallbackRouter {
    helper_internal_;
    $;
    router_;
    autofillSuggestionDialogOnFormPresented;
    autofillSuggestionDialogOnFormPreviewChanged;
    autofillSuggestionDialogOnFormConfirmed;
    getContextForActorFromTab;
    createTask;
    performActions;
    cancelActions;
    stopActorTask;
    pauseActorTask;
    resumeActorTask;
    interruptActorTask;
    uninterruptActorTask;
    createActorTab;
    logBeginAsyncEvent;
    logEndAsyncEvent;
    logInstantEvent;
    journalClear;
    journalSnapshot;
    journalStart;
    journalStop;
    journalRecordFeedback;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(ActorHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.autofillSuggestionDialogOnFormPresented =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1418128483, ActorHandler_AutofillSuggestionDialogOnFormPresented_ParamsSpec.$, null, this.autofillSuggestionDialogOnFormPresented.createReceiverHandler(false /* expectsResponse */), false);
        this.autofillSuggestionDialogOnFormPreviewChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1362439628, ActorHandler_AutofillSuggestionDialogOnFormPreviewChanged_ParamsSpec.$, null, this.autofillSuggestionDialogOnFormPreviewChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.autofillSuggestionDialogOnFormConfirmed =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(981466128, ActorHandler_AutofillSuggestionDialogOnFormConfirmed_ParamsSpec.$, null, this.autofillSuggestionDialogOnFormConfirmed.createReceiverHandler(false /* expectsResponse */), false);
        this.getContextForActorFromTab =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(2117024768, ActorHandler_GetContextForActorFromTab_ParamsSpec.$, ActorHandler_GetContextForActorFromTab_ResponseParamsSpec.$, this.getContextForActorFromTab.createReceiverHandler(true /* expectsResponse */), false);
        this.createTask =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1028719351, ActorHandler_CreateTask_ParamsSpec.$, ActorHandler_CreateTask_ResponseParamsSpec.$, this.createTask.createReceiverHandler(true /* expectsResponse */), true);
        this.performActions =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(839261674, ActorHandler_PerformActions_ParamsSpec.$, ActorHandler_PerformActions_ResponseParamsSpec.$, this.performActions.createReceiverHandler(true /* expectsResponse */), true);
        this.cancelActions =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1383367712, ActorHandler_CancelActions_ParamsSpec.$, ActorHandler_CancelActions_ResponseParamsSpec.$, this.cancelActions.createReceiverHandler(true /* expectsResponse */), false);
        this.stopActorTask =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1786081407, ActorHandler_StopActorTask_ParamsSpec.$, null, this.stopActorTask.createReceiverHandler(false /* expectsResponse */), false);
        this.pauseActorTask =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(343232299, ActorHandler_PauseActorTask_ParamsSpec.$, null, this.pauseActorTask.createReceiverHandler(false /* expectsResponse */), false);
        this.resumeActorTask =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(811740437, ActorHandler_ResumeActorTask_ParamsSpec.$, ActorHandler_ResumeActorTask_ResponseParamsSpec.$, this.resumeActorTask.createReceiverHandler(true /* expectsResponse */), false);
        this.interruptActorTask =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1087083299, ActorHandler_InterruptActorTask_ParamsSpec.$, null, this.interruptActorTask.createReceiverHandler(false /* expectsResponse */), false);
        this.uninterruptActorTask =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1954859543, ActorHandler_UninterruptActorTask_ParamsSpec.$, null, this.uninterruptActorTask.createReceiverHandler(false /* expectsResponse */), false);
        this.createActorTab =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(32050986, ActorHandler_CreateActorTab_ParamsSpec.$, ActorHandler_CreateActorTab_ResponseParamsSpec.$, this.createActorTab.createReceiverHandler(true /* expectsResponse */), false);
        this.logBeginAsyncEvent =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(252828842, ActorHandler_LogBeginAsyncEvent_ParamsSpec.$, null, this.logBeginAsyncEvent.createReceiverHandler(false /* expectsResponse */), false);
        this.logEndAsyncEvent =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(430413181, ActorHandler_LogEndAsyncEvent_ParamsSpec.$, null, this.logEndAsyncEvent.createReceiverHandler(false /* expectsResponse */), false);
        this.logInstantEvent =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1961596589, ActorHandler_LogInstantEvent_ParamsSpec.$, null, this.logInstantEvent.createReceiverHandler(false /* expectsResponse */), false);
        this.journalClear =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(898122477, ActorHandler_JournalClear_ParamsSpec.$, null, this.journalClear.createReceiverHandler(false /* expectsResponse */), false);
        this.journalSnapshot =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(2018479259, ActorHandler_JournalSnapshot_ParamsSpec.$, ActorHandler_JournalSnapshot_ResponseParamsSpec.$, this.journalSnapshot.createReceiverHandler(true /* expectsResponse */), false);
        this.journalStart =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1599281463, ActorHandler_JournalStart_ParamsSpec.$, null, this.journalStart.createReceiverHandler(false /* expectsResponse */), false);
        this.journalStop =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(2107479179, ActorHandler_JournalStop_ParamsSpec.$, null, this.journalStop.createReceiverHandler(false /* expectsResponse */), false);
        this.journalRecordFeedback =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1884963516, ActorHandler_JournalRecordFeedback_ParamsSpec.$, null, this.journalRecordFeedback.createReceiverHandler(false /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class AnnotationHandlerPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.AnnotationHandler', scope);
    }
}
export class AnnotationHandlerRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(AnnotationHandlerPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    scrollTo(params) {
        return this.proxy.sendMessage(1136407673, AnnotationHandler_ScrollTo_ParamsSpec.$, AnnotationHandler_ScrollTo_ResponseParamsSpec.$, [
            params
        ], false);
    }
    dropScrollToHighlight() {
        this.proxy.sendMessage(642534100, AnnotationHandler_DropScrollToHighlight_ParamsSpec.$, null, [], false);
    }
}
;
/**
 * An object which receives request messages for the AnnotationHandler
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class AnnotationHandlerReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(AnnotationHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(1136407673, AnnotationHandler_ScrollTo_ParamsSpec.$, AnnotationHandler_ScrollTo_ResponseParamsSpec.$, impl.scrollTo.bind(impl), false);
        this.helper_internal_.registerHandler(642534100, AnnotationHandler_DropScrollToHighlight_ParamsSpec.$, null, impl.dropScrollToHighlight.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class AnnotationHandler {
    static get $interfaceName() {
        return "glic.mojom.AnnotationHandler";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new AnnotationHandlerRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the AnnotationHandler
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class AnnotationHandlerCallbackRouter {
    helper_internal_;
    $;
    router_;
    scrollTo;
    dropScrollToHighlight;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(AnnotationHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.scrollTo =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1136407673, AnnotationHandler_ScrollTo_ParamsSpec.$, AnnotationHandler_ScrollTo_ResponseParamsSpec.$, this.scrollTo.createReceiverHandler(true /* expectsResponse */), false);
        this.dropScrollToHighlight =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(642534100, AnnotationHandler_DropScrollToHighlight_ParamsSpec.$, null, this.dropScrollToHighlight.createReceiverHandler(false /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class WebClientHandlerPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.WebClientHandler', scope);
    }
}
export class WebClientHandlerRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(WebClientHandlerPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    webClientCreated(webClient) {
        return this.proxy.sendMessage(106486919, WebClientHandler_WebClientCreated_ParamsSpec.$, WebClientHandler_WebClientCreated_ResponseParamsSpec.$, [
            webClient
        ], false);
    }
    webClientInitialized() {
        this.proxy.sendMessage(561546663, WebClientHandler_WebClientInitialized_ParamsSpec.$, null, [], false);
    }
    webClientInitializeFailed() {
        this.proxy.sendMessage(556550481, WebClientHandler_WebClientInitializeFailed_ParamsSpec.$, null, [], false);
    }
    createActorHandler(receiver, client) {
        this.proxy.sendMessage(1769805911, WebClientHandler_CreateActorHandler_ParamsSpec.$, null, [
            receiver,
            client
        ], false);
    }
    createAnnotationHandler(receiver) {
        this.proxy.sendMessage(1731928039, WebClientHandler_CreateAnnotationHandler_ParamsSpec.$, null, [
            receiver
        ], false);
    }
    createTab(url, openInBackground, windowId) {
        return this.proxy.sendMessage(558189961, WebClientHandler_CreateTab_ParamsSpec.$, WebClientHandler_CreateTab_ResponseParamsSpec.$, [
            url,
            openInBackground,
            windowId
        ], false);
    }
    activateTabWithUrl(exactUrl, options) {
        return this.proxy.sendMessage(339336073, WebClientHandler_ActivateTabWithUrl_ParamsSpec.$, WebClientHandler_ActivateTabWithUrl_ResponseParamsSpec.$, [
            exactUrl,
            options
        ], false);
    }
    openLinkInPopup(url, popupWidth, popupHeight) {
        this.proxy.sendMessage(946700243, WebClientHandler_OpenLinkInPopup_ParamsSpec.$, null, [
            url,
            popupWidth,
            popupHeight
        ], false);
    }
    openGlicSettingsPage(options) {
        this.proxy.sendMessage(332391428, WebClientHandler_OpenGlicSettingsPage_ParamsSpec.$, null, [
            options
        ], false);
    }
    openPasswordManagerSettingsPage() {
        this.proxy.sendMessage(1232056995, WebClientHandler_OpenPasswordManagerSettingsPage_ParamsSpec.$, null, [], false);
    }
    closePanel() {
        this.proxy.sendMessage(1666818437, WebClientHandler_ClosePanel_ParamsSpec.$, null, [], false);
    }
    closePanelAndShutdown() {
        this.proxy.sendMessage(836044725, WebClientHandler_ClosePanelAndShutdown_ParamsSpec.$, null, [], false);
    }
    attachPanel() {
        this.proxy.sendMessage(1801080728, WebClientHandler_AttachPanel_ParamsSpec.$, null, [], false);
    }
    detachPanel() {
        this.proxy.sendMessage(727144315, WebClientHandler_DetachPanel_ParamsSpec.$, null, [], false);
    }
    onModeChange(newMode) {
        this.proxy.sendMessage(1729894711, WebClientHandler_OnModeChange_ParamsSpec.$, null, [
            newMode
        ], false);
    }
    onMicrophoneStatusChange(status) {
        this.proxy.sendMessage(1358391408, WebClientHandler_OnMicrophoneStatusChange_ParamsSpec.$, null, [
            status
        ], false);
    }
    showProfilePicker() {
        this.proxy.sendMessage(560270987, WebClientHandler_ShowProfilePicker_ParamsSpec.$, null, [], false);
    }
    getModelQualityClientId() {
        return this.proxy.sendMessage(1029960311, WebClientHandler_GetModelQualityClientId_ParamsSpec.$, WebClientHandler_GetModelQualityClientId_ResponseParamsSpec.$, [], false);
    }
    getContextFromFocusedTab(options) {
        return this.proxy.sendMessage(57279601, WebClientHandler_GetContextFromFocusedTab_ParamsSpec.$, WebClientHandler_GetContextFromFocusedTab_ResponseParamsSpec.$, [
            options
        ], false);
    }
    getContextFromTab(tabId, options) {
        return this.proxy.sendMessage(346163627, WebClientHandler_GetContextFromTab_ParamsSpec.$, WebClientHandler_GetContextFromTab_ResponseParamsSpec.$, [
            tabId,
            options
        ], false);
    }
    getImageBytesFromTab(tabId, documentId, domNodeId) {
        return this.proxy.sendMessage(1724226891, WebClientHandler_GetImageBytesFromTab_ParamsSpec.$, WebClientHandler_GetImageBytesFromTab_ResponseParamsSpec.$, [
            tabId,
            documentId,
            domNodeId
        ], false);
    }
    setMaximumNumberOfPinnedTabs(requestedMax) {
        return this.proxy.sendMessage(1370676490, WebClientHandler_SetMaximumNumberOfPinnedTabs_ParamsSpec.$, WebClientHandler_SetMaximumNumberOfPinnedTabs_ResponseParamsSpec.$, [
            requestedMax
        ], false);
    }
    pinTabs(tabIds, options) {
        return this.proxy.sendMessage(1753595325, WebClientHandler_PinTabs_ParamsSpec.$, WebClientHandler_PinTabs_ResponseParamsSpec.$, [
            tabIds,
            options
        ], false);
    }
    unpinTabs(tabIds, options) {
        return this.proxy.sendMessage(2110939387, WebClientHandler_UnpinTabs_ParamsSpec.$, WebClientHandler_UnpinTabs_ResponseParamsSpec.$, [
            tabIds,
            options
        ], false);
    }
    unpinAllTabs(options) {
        this.proxy.sendMessage(717572423, WebClientHandler_UnpinAllTabs_ParamsSpec.$, null, [
            options
        ], false);
    }
    createSkill(request) {
        return this.proxy.sendMessage(684569550, WebClientHandler_CreateSkill_ParamsSpec.$, WebClientHandler_CreateSkill_ResponseParamsSpec.$, [
            request
        ], false);
    }
    updateSkill(request) {
        return this.proxy.sendMessage(663232987, WebClientHandler_UpdateSkill_ParamsSpec.$, WebClientHandler_UpdateSkill_ResponseParamsSpec.$, [
            request
        ], false);
    }
    showManageSkillsUi() {
        this.proxy.sendMessage(719580250, WebClientHandler_ShowManageSkillsUi_ParamsSpec.$, null, [], false);
    }
    showBrowseSkillsUi() {
        this.proxy.sendMessage(1374301660, WebClientHandler_ShowBrowseSkillsUi_ParamsSpec.$, null, [], false);
    }
    getSkill(id) {
        return this.proxy.sendMessage(1238363080, WebClientHandler_GetSkill_ParamsSpec.$, WebClientHandler_GetSkill_ResponseParamsSpec.$, [
            id
        ], false);
    }
    recordSkillsWebClientEvent(event) {
        this.proxy.sendMessage(1172168420, WebClientHandler_RecordSkillsWebClientEvent_ParamsSpec.$, null, [
            event
        ], false);
    }
    subscribeToPinCandidates(options, observer) {
        this.proxy.sendMessage(1351422624, WebClientHandler_SubscribeToPinCandidates_ParamsSpec.$, null, [
            options,
            observer
        ], false);
    }
    activateTab(taskId) {
        this.proxy.sendMessage(1774177834, WebClientHandler_ActivateTab_ParamsSpec.$, null, [
            taskId
        ], false);
    }
    resizeWidget(size, duration) {
        return this.proxy.sendMessage(1987167831, WebClientHandler_ResizeWidget_ParamsSpec.$, WebClientHandler_ResizeWidget_ResponseParamsSpec.$, [
            size,
            duration
        ], false);
    }
    captureScreenshot() {
        return this.proxy.sendMessage(2135207830, WebClientHandler_CaptureScreenshot_ParamsSpec.$, WebClientHandler_CaptureScreenshot_ResponseParamsSpec.$, [], false);
    }
    captureRegion(observer, params) {
        this.proxy.sendMessage(148266767, WebClientHandler_CaptureRegion_ParamsSpec.$, null, [
            observer,
            params
        ], false);
    }
    deleteCapturedRegion(tabId, id) {
        this.proxy.sendMessage(2143412567, WebClientHandler_DeleteCapturedRegion_ParamsSpec.$, null, [
            tabId,
            id
        ], false);
    }
    setAudioDucking(enable) {
        return this.proxy.sendMessage(872854718, WebClientHandler_SetAudioDucking_ParamsSpec.$, WebClientHandler_SetAudioDucking_ResponseParamsSpec.$, [
            enable
        ], false);
    }
    setMinimumPanelSize(size) {
        this.proxy.sendMessage(445363034, WebClientHandler_SetMinimumPanelSize_ParamsSpec.$, null, [
            size
        ], false);
    }
    setMicrophonePermissionState(enabled) {
        return this.proxy.sendMessage(1199847993, WebClientHandler_SetMicrophonePermissionState_ParamsSpec.$, WebClientHandler_SetMicrophonePermissionState_ResponseParamsSpec.$, [
            enabled
        ], false);
    }
    setLocationPermissionState(enabled) {
        return this.proxy.sendMessage(1953980588, WebClientHandler_SetLocationPermissionState_ParamsSpec.$, WebClientHandler_SetLocationPermissionState_ResponseParamsSpec.$, [
            enabled
        ], false);
    }
    setTabContextPermissionState(enabled) {
        return this.proxy.sendMessage(965463360, WebClientHandler_SetTabContextPermissionState_ParamsSpec.$, WebClientHandler_SetTabContextPermissionState_ResponseParamsSpec.$, [
            enabled
        ], false);
    }
    setClosedCaptioningSetting(enabled) {
        return this.proxy.sendMessage(1731311302, WebClientHandler_SetClosedCaptioningSetting_ParamsSpec.$, WebClientHandler_SetClosedCaptioningSetting_ResponseParamsSpec.$, [
            enabled
        ], false);
    }
    setActuationOnWebSetting(enabled) {
        return this.proxy.sendMessage(1158980576, WebClientHandler_SetActuationOnWebSetting_ParamsSpec.$, WebClientHandler_SetActuationOnWebSetting_ResponseParamsSpec.$, [
            enabled
        ], false);
    }
    shouldAllowMediaPermissionRequest() {
        return this.proxy.sendMessage(2057455435, WebClientHandler_ShouldAllowMediaPermissionRequest_ParamsSpec.$, WebClientHandler_ShouldAllowMediaPermissionRequest_ResponseParamsSpec.$, [], false);
    }
    shouldAllowGeolocationPermissionRequest() {
        return this.proxy.sendMessage(763099835, WebClientHandler_ShouldAllowGeolocationPermissionRequest_ParamsSpec.$, WebClientHandler_ShouldAllowGeolocationPermissionRequest_ResponseParamsSpec.$, [], false);
    }
    setContextAccessIndicator(enabled) {
        this.proxy.sendMessage(983663116, WebClientHandler_SetContextAccessIndicator_ParamsSpec.$, null, [
            enabled
        ], false);
    }
    getUserProfileInfo() {
        return this.proxy.sendMessage(598656396, WebClientHandler_GetUserProfileInfo_ParamsSpec.$, WebClientHandler_GetUserProfileInfo_ResponseParamsSpec.$, [], false);
    }
    syncCookies() {
        return this.proxy.sendMessage(1676524242, WebClientHandler_SyncCookies_ParamsSpec.$, WebClientHandler_SyncCookies_ResponseParamsSpec.$, [], false);
    }
    clientErrorDialogStateChanged(shownDialogType) {
        this.proxy.sendMessage(927315115, WebClientHandler_ClientErrorDialogStateChanged_ParamsSpec.$, null, [
            shownDialogType
        ], false);
    }
    reportClientTransientError(statusCode) {
        this.proxy.sendMessage(2111037009, WebClientHandler_ReportClientTransientError_ParamsSpec.$, null, [
            statusCode
        ], false);
    }
    processCounterAbuseVerdict(tabId, verdict) {
        this.proxy.sendMessage(283439119, WebClientHandler_ProcessCounterAbuseVerdict_ParamsSpec.$, null, [
            tabId,
            verdict
        ], false);
    }
    onOptinImpression() {
        this.proxy.sendMessage(1884151285, WebClientHandler_OnOptinImpression_ParamsSpec.$, null, [], false);
    }
    onUserInputSubmitted(mode) {
        this.proxy.sendMessage(728401416, WebClientHandler_OnUserInputSubmitted_ParamsSpec.$, null, [
            mode
        ], false);
    }
    onContextUploadStarted() {
        this.proxy.sendMessage(1586099115, WebClientHandler_OnContextUploadStarted_ParamsSpec.$, null, [], false);
    }
    onContextUploadCompleted() {
        this.proxy.sendMessage(132243139, WebClientHandler_OnContextUploadCompleted_ParamsSpec.$, null, [], false);
    }
    onReaction(reactionType) {
        this.proxy.sendMessage(122574203, WebClientHandler_OnReaction_ParamsSpec.$, null, [
            reactionType
        ], false);
    }
    onResponseStarted() {
        this.proxy.sendMessage(997391891, WebClientHandler_OnResponseStarted_ParamsSpec.$, null, [], false);
    }
    onResponseStopped(details) {
        this.proxy.sendMessage(955202480, WebClientHandler_OnResponseStopped_ParamsSpec.$, null, [
            details
        ], false);
    }
    onSessionTerminated() {
        this.proxy.sendMessage(1664371214, WebClientHandler_OnSessionTerminated_ParamsSpec.$, null, [], false);
    }
    onTurnCompleted(model, duration) {
        this.proxy.sendMessage(1161618851, WebClientHandler_OnTurnCompleted_ParamsSpec.$, null, [
            model,
            duration
        ], false);
    }
    onResponseRated(positive) {
        this.proxy.sendMessage(611961536, WebClientHandler_OnResponseRated_ParamsSpec.$, null, [
            positive
        ], false);
    }
    onClosedCaptionsShown() {
        this.proxy.sendMessage(1155128012, WebClientHandler_OnClosedCaptionsShown_ParamsSpec.$, null, [], false);
    }
    onActionSubmitted(isRetry) {
        this.proxy.sendMessage(2027217613, WebClientHandler_OnActionSubmitted_ParamsSpec.$, null, [
            isRetry
        ], false);
    }
    setSyntheticExperimentState(trialName, groupName) {
        this.proxy.sendMessage(222263975, WebClientHandler_SetSyntheticExperimentState_ParamsSpec.$, null, [
            trialName,
            groupName
        ], false);
    }
    openOsPermissionSettingsMenu(type) {
        this.proxy.sendMessage(1400925128, WebClientHandler_OpenOsPermissionSettingsMenu_ParamsSpec.$, null, [
            type
        ], false);
    }
    getOsMicrophonePermissionStatus() {
        return this.proxy.sendMessage(2028311296, WebClientHandler_GetOsMicrophonePermissionStatus_ParamsSpec.$, WebClientHandler_GetOsMicrophonePermissionStatus_ResponseParamsSpec.$, [], false);
    }
    getZeroStateSuggestionsAndSubscribe(isLive, options) {
        return this.proxy.sendMessage(1889803748, WebClientHandler_GetZeroStateSuggestionsAndSubscribe_ParamsSpec.$, WebClientHandler_GetZeroStateSuggestionsAndSubscribe_ResponseParamsSpec.$, [
            isLive,
            options
        ], false);
    }
    getZeroStateSuggestionsForFocusedTab(isFirstRun) {
        return this.proxy.sendMessage(701937413, WebClientHandler_GetZeroStateSuggestionsForFocusedTab_ParamsSpec.$, WebClientHandler_GetZeroStateSuggestionsForFocusedTab_ResponseParamsSpec.$, [
            isFirstRun
        ], false);
    }
    maybeRefreshUserStatus() {
        this.proxy.sendMessage(1393740664, WebClientHandler_MaybeRefreshUserStatus_ParamsSpec.$, null, [], false);
    }
    isDebuggerAttached() {
        return this.proxy.sendMessage(1730783633, WebClientHandler_IsDebuggerAttached_ParamsSpec.$, WebClientHandler_IsDebuggerAttached_ResponseParamsSpec.$, [], false);
    }
    subscribeToPageMetadata(tabId, names) {
        return this.proxy.sendMessage(702698064, WebClientHandler_SubscribeToPageMetadata_ParamsSpec.$, WebClientHandler_SubscribeToPageMetadata_ResponseParamsSpec.$, [
            tabId,
            names
        ], false);
    }
    switchConversation(info) {
        return this.proxy.sendMessage(1917501125, WebClientHandler_SwitchConversation_ParamsSpec.$, WebClientHandler_SwitchConversation_ResponseParamsSpec.$, [
            info
        ], false);
    }
    registerConversation(info) {
        return this.proxy.sendMessage(330344986, WebClientHandler_RegisterConversation_ParamsSpec.$, WebClientHandler_RegisterConversation_ResponseParamsSpec.$, [
            info
        ], false);
    }
    setOnboardingCompleted() {
        this.proxy.sendMessage(1347874252, WebClientHandler_SetOnboardingCompleted_ParamsSpec.$, null, [], false);
    }
    subscribeToTabData(tabId, receiver) {
        this.proxy.sendMessage(355715185, WebClientHandler_SubscribeToTabData_ParamsSpec.$, null, [
            tabId,
            receiver
        ], false);
    }
    subscribeToTabFavicon(tabId, receiver) {
        this.proxy.sendMessage(1314078339, WebClientHandler_SubscribeToTabFavicon_ParamsSpec.$, null, [
            tabId,
            receiver
        ], false);
    }
}
;
/**
 * An object which receives request messages for the WebClientHandler
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class WebClientHandlerReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(WebClientHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(106486919, WebClientHandler_WebClientCreated_ParamsSpec.$, WebClientHandler_WebClientCreated_ResponseParamsSpec.$, impl.webClientCreated.bind(impl), false);
        this.helper_internal_.registerHandler(561546663, WebClientHandler_WebClientInitialized_ParamsSpec.$, null, impl.webClientInitialized.bind(impl), false);
        this.helper_internal_.registerHandler(556550481, WebClientHandler_WebClientInitializeFailed_ParamsSpec.$, null, impl.webClientInitializeFailed.bind(impl), false);
        this.helper_internal_.registerHandler(1769805911, WebClientHandler_CreateActorHandler_ParamsSpec.$, null, impl.createActorHandler.bind(impl), false);
        this.helper_internal_.registerHandler(1731928039, WebClientHandler_CreateAnnotationHandler_ParamsSpec.$, null, impl.createAnnotationHandler.bind(impl), false);
        this.helper_internal_.registerHandler(558189961, WebClientHandler_CreateTab_ParamsSpec.$, WebClientHandler_CreateTab_ResponseParamsSpec.$, impl.createTab.bind(impl), false);
        this.helper_internal_.registerHandler(339336073, WebClientHandler_ActivateTabWithUrl_ParamsSpec.$, WebClientHandler_ActivateTabWithUrl_ResponseParamsSpec.$, impl.activateTabWithUrl.bind(impl), false);
        this.helper_internal_.registerHandler(946700243, WebClientHandler_OpenLinkInPopup_ParamsSpec.$, null, impl.openLinkInPopup.bind(impl), false);
        this.helper_internal_.registerHandler(332391428, WebClientHandler_OpenGlicSettingsPage_ParamsSpec.$, null, impl.openGlicSettingsPage.bind(impl), false);
        this.helper_internal_.registerHandler(1232056995, WebClientHandler_OpenPasswordManagerSettingsPage_ParamsSpec.$, null, impl.openPasswordManagerSettingsPage.bind(impl), false);
        this.helper_internal_.registerHandler(1666818437, WebClientHandler_ClosePanel_ParamsSpec.$, null, impl.closePanel.bind(impl), false);
        this.helper_internal_.registerHandler(836044725, WebClientHandler_ClosePanelAndShutdown_ParamsSpec.$, null, impl.closePanelAndShutdown.bind(impl), false);
        this.helper_internal_.registerHandler(1801080728, WebClientHandler_AttachPanel_ParamsSpec.$, null, impl.attachPanel.bind(impl), false);
        this.helper_internal_.registerHandler(727144315, WebClientHandler_DetachPanel_ParamsSpec.$, null, impl.detachPanel.bind(impl), false);
        this.helper_internal_.registerHandler(1729894711, WebClientHandler_OnModeChange_ParamsSpec.$, null, impl.onModeChange.bind(impl), false);
        this.helper_internal_.registerHandler(1358391408, WebClientHandler_OnMicrophoneStatusChange_ParamsSpec.$, null, impl.onMicrophoneStatusChange.bind(impl), false);
        this.helper_internal_.registerHandler(560270987, WebClientHandler_ShowProfilePicker_ParamsSpec.$, null, impl.showProfilePicker.bind(impl), false);
        this.helper_internal_.registerHandler(1029960311, WebClientHandler_GetModelQualityClientId_ParamsSpec.$, WebClientHandler_GetModelQualityClientId_ResponseParamsSpec.$, impl.getModelQualityClientId.bind(impl), false);
        this.helper_internal_.registerHandler(57279601, WebClientHandler_GetContextFromFocusedTab_ParamsSpec.$, WebClientHandler_GetContextFromFocusedTab_ResponseParamsSpec.$, impl.getContextFromFocusedTab.bind(impl), false);
        this.helper_internal_.registerHandler(346163627, WebClientHandler_GetContextFromTab_ParamsSpec.$, WebClientHandler_GetContextFromTab_ResponseParamsSpec.$, impl.getContextFromTab.bind(impl), false);
        this.helper_internal_.registerHandler(1724226891, WebClientHandler_GetImageBytesFromTab_ParamsSpec.$, WebClientHandler_GetImageBytesFromTab_ResponseParamsSpec.$, impl.getImageBytesFromTab.bind(impl), false);
        this.helper_internal_.registerHandler(1370676490, WebClientHandler_SetMaximumNumberOfPinnedTabs_ParamsSpec.$, WebClientHandler_SetMaximumNumberOfPinnedTabs_ResponseParamsSpec.$, impl.setMaximumNumberOfPinnedTabs.bind(impl), false);
        this.helper_internal_.registerHandler(1753595325, WebClientHandler_PinTabs_ParamsSpec.$, WebClientHandler_PinTabs_ResponseParamsSpec.$, impl.pinTabs.bind(impl), false);
        this.helper_internal_.registerHandler(2110939387, WebClientHandler_UnpinTabs_ParamsSpec.$, WebClientHandler_UnpinTabs_ResponseParamsSpec.$, impl.unpinTabs.bind(impl), false);
        this.helper_internal_.registerHandler(717572423, WebClientHandler_UnpinAllTabs_ParamsSpec.$, null, impl.unpinAllTabs.bind(impl), false);
        this.helper_internal_.registerHandler(684569550, WebClientHandler_CreateSkill_ParamsSpec.$, WebClientHandler_CreateSkill_ResponseParamsSpec.$, impl.createSkill.bind(impl), false);
        this.helper_internal_.registerHandler(663232987, WebClientHandler_UpdateSkill_ParamsSpec.$, WebClientHandler_UpdateSkill_ResponseParamsSpec.$, impl.updateSkill.bind(impl), false);
        this.helper_internal_.registerHandler(719580250, WebClientHandler_ShowManageSkillsUi_ParamsSpec.$, null, impl.showManageSkillsUi.bind(impl), false);
        this.helper_internal_.registerHandler(1374301660, WebClientHandler_ShowBrowseSkillsUi_ParamsSpec.$, null, impl.showBrowseSkillsUi.bind(impl), false);
        this.helper_internal_.registerHandler(1238363080, WebClientHandler_GetSkill_ParamsSpec.$, WebClientHandler_GetSkill_ResponseParamsSpec.$, impl.getSkill.bind(impl), false);
        this.helper_internal_.registerHandler(1172168420, WebClientHandler_RecordSkillsWebClientEvent_ParamsSpec.$, null, impl.recordSkillsWebClientEvent.bind(impl), false);
        this.helper_internal_.registerHandler(1351422624, WebClientHandler_SubscribeToPinCandidates_ParamsSpec.$, null, impl.subscribeToPinCandidates.bind(impl), false);
        this.helper_internal_.registerHandler(1774177834, WebClientHandler_ActivateTab_ParamsSpec.$, null, impl.activateTab.bind(impl), false);
        this.helper_internal_.registerHandler(1987167831, WebClientHandler_ResizeWidget_ParamsSpec.$, WebClientHandler_ResizeWidget_ResponseParamsSpec.$, impl.resizeWidget.bind(impl), false);
        this.helper_internal_.registerHandler(2135207830, WebClientHandler_CaptureScreenshot_ParamsSpec.$, WebClientHandler_CaptureScreenshot_ResponseParamsSpec.$, impl.captureScreenshot.bind(impl), false);
        this.helper_internal_.registerHandler(148266767, WebClientHandler_CaptureRegion_ParamsSpec.$, null, impl.captureRegion.bind(impl), false);
        this.helper_internal_.registerHandler(2143412567, WebClientHandler_DeleteCapturedRegion_ParamsSpec.$, null, impl.deleteCapturedRegion.bind(impl), false);
        this.helper_internal_.registerHandler(872854718, WebClientHandler_SetAudioDucking_ParamsSpec.$, WebClientHandler_SetAudioDucking_ResponseParamsSpec.$, impl.setAudioDucking.bind(impl), false);
        this.helper_internal_.registerHandler(445363034, WebClientHandler_SetMinimumPanelSize_ParamsSpec.$, null, impl.setMinimumPanelSize.bind(impl), false);
        this.helper_internal_.registerHandler(1199847993, WebClientHandler_SetMicrophonePermissionState_ParamsSpec.$, WebClientHandler_SetMicrophonePermissionState_ResponseParamsSpec.$, impl.setMicrophonePermissionState.bind(impl), false);
        this.helper_internal_.registerHandler(1953980588, WebClientHandler_SetLocationPermissionState_ParamsSpec.$, WebClientHandler_SetLocationPermissionState_ResponseParamsSpec.$, impl.setLocationPermissionState.bind(impl), false);
        this.helper_internal_.registerHandler(965463360, WebClientHandler_SetTabContextPermissionState_ParamsSpec.$, WebClientHandler_SetTabContextPermissionState_ResponseParamsSpec.$, impl.setTabContextPermissionState.bind(impl), false);
        this.helper_internal_.registerHandler(1731311302, WebClientHandler_SetClosedCaptioningSetting_ParamsSpec.$, WebClientHandler_SetClosedCaptioningSetting_ResponseParamsSpec.$, impl.setClosedCaptioningSetting.bind(impl), false);
        this.helper_internal_.registerHandler(1158980576, WebClientHandler_SetActuationOnWebSetting_ParamsSpec.$, WebClientHandler_SetActuationOnWebSetting_ResponseParamsSpec.$, impl.setActuationOnWebSetting.bind(impl), false);
        this.helper_internal_.registerHandler(2057455435, WebClientHandler_ShouldAllowMediaPermissionRequest_ParamsSpec.$, WebClientHandler_ShouldAllowMediaPermissionRequest_ResponseParamsSpec.$, impl.shouldAllowMediaPermissionRequest.bind(impl), false);
        this.helper_internal_.registerHandler(763099835, WebClientHandler_ShouldAllowGeolocationPermissionRequest_ParamsSpec.$, WebClientHandler_ShouldAllowGeolocationPermissionRequest_ResponseParamsSpec.$, impl.shouldAllowGeolocationPermissionRequest.bind(impl), false);
        this.helper_internal_.registerHandler(983663116, WebClientHandler_SetContextAccessIndicator_ParamsSpec.$, null, impl.setContextAccessIndicator.bind(impl), false);
        this.helper_internal_.registerHandler(598656396, WebClientHandler_GetUserProfileInfo_ParamsSpec.$, WebClientHandler_GetUserProfileInfo_ResponseParamsSpec.$, impl.getUserProfileInfo.bind(impl), false);
        this.helper_internal_.registerHandler(1676524242, WebClientHandler_SyncCookies_ParamsSpec.$, WebClientHandler_SyncCookies_ResponseParamsSpec.$, impl.syncCookies.bind(impl), false);
        this.helper_internal_.registerHandler(927315115, WebClientHandler_ClientErrorDialogStateChanged_ParamsSpec.$, null, impl.clientErrorDialogStateChanged.bind(impl), false);
        this.helper_internal_.registerHandler(2111037009, WebClientHandler_ReportClientTransientError_ParamsSpec.$, null, impl.reportClientTransientError.bind(impl), false);
        this.helper_internal_.registerHandler(283439119, WebClientHandler_ProcessCounterAbuseVerdict_ParamsSpec.$, null, impl.processCounterAbuseVerdict.bind(impl), false);
        this.helper_internal_.registerHandler(1884151285, WebClientHandler_OnOptinImpression_ParamsSpec.$, null, impl.onOptinImpression.bind(impl), false);
        this.helper_internal_.registerHandler(728401416, WebClientHandler_OnUserInputSubmitted_ParamsSpec.$, null, impl.onUserInputSubmitted.bind(impl), false);
        this.helper_internal_.registerHandler(1586099115, WebClientHandler_OnContextUploadStarted_ParamsSpec.$, null, impl.onContextUploadStarted.bind(impl), false);
        this.helper_internal_.registerHandler(132243139, WebClientHandler_OnContextUploadCompleted_ParamsSpec.$, null, impl.onContextUploadCompleted.bind(impl), false);
        this.helper_internal_.registerHandler(122574203, WebClientHandler_OnReaction_ParamsSpec.$, null, impl.onReaction.bind(impl), false);
        this.helper_internal_.registerHandler(997391891, WebClientHandler_OnResponseStarted_ParamsSpec.$, null, impl.onResponseStarted.bind(impl), false);
        this.helper_internal_.registerHandler(955202480, WebClientHandler_OnResponseStopped_ParamsSpec.$, null, impl.onResponseStopped.bind(impl), false);
        this.helper_internal_.registerHandler(1664371214, WebClientHandler_OnSessionTerminated_ParamsSpec.$, null, impl.onSessionTerminated.bind(impl), false);
        this.helper_internal_.registerHandler(1161618851, WebClientHandler_OnTurnCompleted_ParamsSpec.$, null, impl.onTurnCompleted.bind(impl), false);
        this.helper_internal_.registerHandler(611961536, WebClientHandler_OnResponseRated_ParamsSpec.$, null, impl.onResponseRated.bind(impl), false);
        this.helper_internal_.registerHandler(1155128012, WebClientHandler_OnClosedCaptionsShown_ParamsSpec.$, null, impl.onClosedCaptionsShown.bind(impl), false);
        this.helper_internal_.registerHandler(2027217613, WebClientHandler_OnActionSubmitted_ParamsSpec.$, null, impl.onActionSubmitted.bind(impl), false);
        this.helper_internal_.registerHandler(222263975, WebClientHandler_SetSyntheticExperimentState_ParamsSpec.$, null, impl.setSyntheticExperimentState.bind(impl), false);
        this.helper_internal_.registerHandler(1400925128, WebClientHandler_OpenOsPermissionSettingsMenu_ParamsSpec.$, null, impl.openOsPermissionSettingsMenu.bind(impl), false);
        this.helper_internal_.registerHandler(2028311296, WebClientHandler_GetOsMicrophonePermissionStatus_ParamsSpec.$, WebClientHandler_GetOsMicrophonePermissionStatus_ResponseParamsSpec.$, impl.getOsMicrophonePermissionStatus.bind(impl), false);
        this.helper_internal_.registerHandler(1889803748, WebClientHandler_GetZeroStateSuggestionsAndSubscribe_ParamsSpec.$, WebClientHandler_GetZeroStateSuggestionsAndSubscribe_ResponseParamsSpec.$, impl.getZeroStateSuggestionsAndSubscribe.bind(impl), false);
        this.helper_internal_.registerHandler(701937413, WebClientHandler_GetZeroStateSuggestionsForFocusedTab_ParamsSpec.$, WebClientHandler_GetZeroStateSuggestionsForFocusedTab_ResponseParamsSpec.$, impl.getZeroStateSuggestionsForFocusedTab.bind(impl), false);
        this.helper_internal_.registerHandler(1393740664, WebClientHandler_MaybeRefreshUserStatus_ParamsSpec.$, null, impl.maybeRefreshUserStatus.bind(impl), false);
        this.helper_internal_.registerHandler(1730783633, WebClientHandler_IsDebuggerAttached_ParamsSpec.$, WebClientHandler_IsDebuggerAttached_ResponseParamsSpec.$, impl.isDebuggerAttached.bind(impl), false);
        this.helper_internal_.registerHandler(702698064, WebClientHandler_SubscribeToPageMetadata_ParamsSpec.$, WebClientHandler_SubscribeToPageMetadata_ResponseParamsSpec.$, impl.subscribeToPageMetadata.bind(impl), false);
        this.helper_internal_.registerHandler(1917501125, WebClientHandler_SwitchConversation_ParamsSpec.$, WebClientHandler_SwitchConversation_ResponseParamsSpec.$, impl.switchConversation.bind(impl), false);
        this.helper_internal_.registerHandler(330344986, WebClientHandler_RegisterConversation_ParamsSpec.$, WebClientHandler_RegisterConversation_ResponseParamsSpec.$, impl.registerConversation.bind(impl), false);
        this.helper_internal_.registerHandler(1347874252, WebClientHandler_SetOnboardingCompleted_ParamsSpec.$, null, impl.setOnboardingCompleted.bind(impl), false);
        this.helper_internal_.registerHandler(355715185, WebClientHandler_SubscribeToTabData_ParamsSpec.$, null, impl.subscribeToTabData.bind(impl), false);
        this.helper_internal_.registerHandler(1314078339, WebClientHandler_SubscribeToTabFavicon_ParamsSpec.$, null, impl.subscribeToTabFavicon.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class WebClientHandler {
    static get $interfaceName() {
        return "glic.mojom.WebClientHandler";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new WebClientHandlerRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the WebClientHandler
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class WebClientHandlerCallbackRouter {
    helper_internal_;
    $;
    router_;
    webClientCreated;
    webClientInitialized;
    webClientInitializeFailed;
    createActorHandler;
    createAnnotationHandler;
    createTab;
    activateTabWithUrl;
    openLinkInPopup;
    openGlicSettingsPage;
    openPasswordManagerSettingsPage;
    closePanel;
    closePanelAndShutdown;
    attachPanel;
    detachPanel;
    onModeChange;
    onMicrophoneStatusChange;
    showProfilePicker;
    getModelQualityClientId;
    getContextFromFocusedTab;
    getContextFromTab;
    getImageBytesFromTab;
    setMaximumNumberOfPinnedTabs;
    pinTabs;
    unpinTabs;
    unpinAllTabs;
    createSkill;
    updateSkill;
    showManageSkillsUi;
    showBrowseSkillsUi;
    getSkill;
    recordSkillsWebClientEvent;
    subscribeToPinCandidates;
    activateTab;
    resizeWidget;
    captureScreenshot;
    captureRegion;
    deleteCapturedRegion;
    setAudioDucking;
    setMinimumPanelSize;
    setMicrophonePermissionState;
    setLocationPermissionState;
    setTabContextPermissionState;
    setClosedCaptioningSetting;
    setActuationOnWebSetting;
    shouldAllowMediaPermissionRequest;
    shouldAllowGeolocationPermissionRequest;
    setContextAccessIndicator;
    getUserProfileInfo;
    syncCookies;
    clientErrorDialogStateChanged;
    reportClientTransientError;
    processCounterAbuseVerdict;
    onOptinImpression;
    onUserInputSubmitted;
    onContextUploadStarted;
    onContextUploadCompleted;
    onReaction;
    onResponseStarted;
    onResponseStopped;
    onSessionTerminated;
    onTurnCompleted;
    onResponseRated;
    onClosedCaptionsShown;
    onActionSubmitted;
    setSyntheticExperimentState;
    openOsPermissionSettingsMenu;
    getOsMicrophonePermissionStatus;
    getZeroStateSuggestionsAndSubscribe;
    getZeroStateSuggestionsForFocusedTab;
    maybeRefreshUserStatus;
    isDebuggerAttached;
    subscribeToPageMetadata;
    switchConversation;
    registerConversation;
    setOnboardingCompleted;
    subscribeToTabData;
    subscribeToTabFavicon;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(WebClientHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.webClientCreated =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(106486919, WebClientHandler_WebClientCreated_ParamsSpec.$, WebClientHandler_WebClientCreated_ResponseParamsSpec.$, this.webClientCreated.createReceiverHandler(true /* expectsResponse */), false);
        this.webClientInitialized =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(561546663, WebClientHandler_WebClientInitialized_ParamsSpec.$, null, this.webClientInitialized.createReceiverHandler(false /* expectsResponse */), false);
        this.webClientInitializeFailed =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(556550481, WebClientHandler_WebClientInitializeFailed_ParamsSpec.$, null, this.webClientInitializeFailed.createReceiverHandler(false /* expectsResponse */), false);
        this.createActorHandler =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1769805911, WebClientHandler_CreateActorHandler_ParamsSpec.$, null, this.createActorHandler.createReceiverHandler(false /* expectsResponse */), false);
        this.createAnnotationHandler =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1731928039, WebClientHandler_CreateAnnotationHandler_ParamsSpec.$, null, this.createAnnotationHandler.createReceiverHandler(false /* expectsResponse */), false);
        this.createTab =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(558189961, WebClientHandler_CreateTab_ParamsSpec.$, WebClientHandler_CreateTab_ResponseParamsSpec.$, this.createTab.createReceiverHandler(true /* expectsResponse */), false);
        this.activateTabWithUrl =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(339336073, WebClientHandler_ActivateTabWithUrl_ParamsSpec.$, WebClientHandler_ActivateTabWithUrl_ResponseParamsSpec.$, this.activateTabWithUrl.createReceiverHandler(true /* expectsResponse */), false);
        this.openLinkInPopup =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(946700243, WebClientHandler_OpenLinkInPopup_ParamsSpec.$, null, this.openLinkInPopup.createReceiverHandler(false /* expectsResponse */), false);
        this.openGlicSettingsPage =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(332391428, WebClientHandler_OpenGlicSettingsPage_ParamsSpec.$, null, this.openGlicSettingsPage.createReceiverHandler(false /* expectsResponse */), false);
        this.openPasswordManagerSettingsPage =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1232056995, WebClientHandler_OpenPasswordManagerSettingsPage_ParamsSpec.$, null, this.openPasswordManagerSettingsPage.createReceiverHandler(false /* expectsResponse */), false);
        this.closePanel =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1666818437, WebClientHandler_ClosePanel_ParamsSpec.$, null, this.closePanel.createReceiverHandler(false /* expectsResponse */), false);
        this.closePanelAndShutdown =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(836044725, WebClientHandler_ClosePanelAndShutdown_ParamsSpec.$, null, this.closePanelAndShutdown.createReceiverHandler(false /* expectsResponse */), false);
        this.attachPanel =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1801080728, WebClientHandler_AttachPanel_ParamsSpec.$, null, this.attachPanel.createReceiverHandler(false /* expectsResponse */), false);
        this.detachPanel =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(727144315, WebClientHandler_DetachPanel_ParamsSpec.$, null, this.detachPanel.createReceiverHandler(false /* expectsResponse */), false);
        this.onModeChange =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1729894711, WebClientHandler_OnModeChange_ParamsSpec.$, null, this.onModeChange.createReceiverHandler(false /* expectsResponse */), false);
        this.onMicrophoneStatusChange =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1358391408, WebClientHandler_OnMicrophoneStatusChange_ParamsSpec.$, null, this.onMicrophoneStatusChange.createReceiverHandler(false /* expectsResponse */), false);
        this.showProfilePicker =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(560270987, WebClientHandler_ShowProfilePicker_ParamsSpec.$, null, this.showProfilePicker.createReceiverHandler(false /* expectsResponse */), false);
        this.getModelQualityClientId =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1029960311, WebClientHandler_GetModelQualityClientId_ParamsSpec.$, WebClientHandler_GetModelQualityClientId_ResponseParamsSpec.$, this.getModelQualityClientId.createReceiverHandler(true /* expectsResponse */), false);
        this.getContextFromFocusedTab =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(57279601, WebClientHandler_GetContextFromFocusedTab_ParamsSpec.$, WebClientHandler_GetContextFromFocusedTab_ResponseParamsSpec.$, this.getContextFromFocusedTab.createReceiverHandler(true /* expectsResponse */), false);
        this.getContextFromTab =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(346163627, WebClientHandler_GetContextFromTab_ParamsSpec.$, WebClientHandler_GetContextFromTab_ResponseParamsSpec.$, this.getContextFromTab.createReceiverHandler(true /* expectsResponse */), false);
        this.getImageBytesFromTab =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1724226891, WebClientHandler_GetImageBytesFromTab_ParamsSpec.$, WebClientHandler_GetImageBytesFromTab_ResponseParamsSpec.$, this.getImageBytesFromTab.createReceiverHandler(true /* expectsResponse */), false);
        this.setMaximumNumberOfPinnedTabs =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1370676490, WebClientHandler_SetMaximumNumberOfPinnedTabs_ParamsSpec.$, WebClientHandler_SetMaximumNumberOfPinnedTabs_ResponseParamsSpec.$, this.setMaximumNumberOfPinnedTabs.createReceiverHandler(true /* expectsResponse */), false);
        this.pinTabs =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1753595325, WebClientHandler_PinTabs_ParamsSpec.$, WebClientHandler_PinTabs_ResponseParamsSpec.$, this.pinTabs.createReceiverHandler(true /* expectsResponse */), false);
        this.unpinTabs =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(2110939387, WebClientHandler_UnpinTabs_ParamsSpec.$, WebClientHandler_UnpinTabs_ResponseParamsSpec.$, this.unpinTabs.createReceiverHandler(true /* expectsResponse */), false);
        this.unpinAllTabs =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(717572423, WebClientHandler_UnpinAllTabs_ParamsSpec.$, null, this.unpinAllTabs.createReceiverHandler(false /* expectsResponse */), false);
        this.createSkill =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(684569550, WebClientHandler_CreateSkill_ParamsSpec.$, WebClientHandler_CreateSkill_ResponseParamsSpec.$, this.createSkill.createReceiverHandler(true /* expectsResponse */), false);
        this.updateSkill =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(663232987, WebClientHandler_UpdateSkill_ParamsSpec.$, WebClientHandler_UpdateSkill_ResponseParamsSpec.$, this.updateSkill.createReceiverHandler(true /* expectsResponse */), false);
        this.showManageSkillsUi =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(719580250, WebClientHandler_ShowManageSkillsUi_ParamsSpec.$, null, this.showManageSkillsUi.createReceiverHandler(false /* expectsResponse */), false);
        this.showBrowseSkillsUi =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1374301660, WebClientHandler_ShowBrowseSkillsUi_ParamsSpec.$, null, this.showBrowseSkillsUi.createReceiverHandler(false /* expectsResponse */), false);
        this.getSkill =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1238363080, WebClientHandler_GetSkill_ParamsSpec.$, WebClientHandler_GetSkill_ResponseParamsSpec.$, this.getSkill.createReceiverHandler(true /* expectsResponse */), false);
        this.recordSkillsWebClientEvent =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1172168420, WebClientHandler_RecordSkillsWebClientEvent_ParamsSpec.$, null, this.recordSkillsWebClientEvent.createReceiverHandler(false /* expectsResponse */), false);
        this.subscribeToPinCandidates =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1351422624, WebClientHandler_SubscribeToPinCandidates_ParamsSpec.$, null, this.subscribeToPinCandidates.createReceiverHandler(false /* expectsResponse */), false);
        this.activateTab =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1774177834, WebClientHandler_ActivateTab_ParamsSpec.$, null, this.activateTab.createReceiverHandler(false /* expectsResponse */), false);
        this.resizeWidget =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1987167831, WebClientHandler_ResizeWidget_ParamsSpec.$, WebClientHandler_ResizeWidget_ResponseParamsSpec.$, this.resizeWidget.createReceiverHandler(true /* expectsResponse */), false);
        this.captureScreenshot =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(2135207830, WebClientHandler_CaptureScreenshot_ParamsSpec.$, WebClientHandler_CaptureScreenshot_ResponseParamsSpec.$, this.captureScreenshot.createReceiverHandler(true /* expectsResponse */), false);
        this.captureRegion =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(148266767, WebClientHandler_CaptureRegion_ParamsSpec.$, null, this.captureRegion.createReceiverHandler(false /* expectsResponse */), false);
        this.deleteCapturedRegion =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(2143412567, WebClientHandler_DeleteCapturedRegion_ParamsSpec.$, null, this.deleteCapturedRegion.createReceiverHandler(false /* expectsResponse */), false);
        this.setAudioDucking =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(872854718, WebClientHandler_SetAudioDucking_ParamsSpec.$, WebClientHandler_SetAudioDucking_ResponseParamsSpec.$, this.setAudioDucking.createReceiverHandler(true /* expectsResponse */), false);
        this.setMinimumPanelSize =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(445363034, WebClientHandler_SetMinimumPanelSize_ParamsSpec.$, null, this.setMinimumPanelSize.createReceiverHandler(false /* expectsResponse */), false);
        this.setMicrophonePermissionState =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1199847993, WebClientHandler_SetMicrophonePermissionState_ParamsSpec.$, WebClientHandler_SetMicrophonePermissionState_ResponseParamsSpec.$, this.setMicrophonePermissionState.createReceiverHandler(true /* expectsResponse */), false);
        this.setLocationPermissionState =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1953980588, WebClientHandler_SetLocationPermissionState_ParamsSpec.$, WebClientHandler_SetLocationPermissionState_ResponseParamsSpec.$, this.setLocationPermissionState.createReceiverHandler(true /* expectsResponse */), false);
        this.setTabContextPermissionState =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(965463360, WebClientHandler_SetTabContextPermissionState_ParamsSpec.$, WebClientHandler_SetTabContextPermissionState_ResponseParamsSpec.$, this.setTabContextPermissionState.createReceiverHandler(true /* expectsResponse */), false);
        this.setClosedCaptioningSetting =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1731311302, WebClientHandler_SetClosedCaptioningSetting_ParamsSpec.$, WebClientHandler_SetClosedCaptioningSetting_ResponseParamsSpec.$, this.setClosedCaptioningSetting.createReceiverHandler(true /* expectsResponse */), false);
        this.setActuationOnWebSetting =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1158980576, WebClientHandler_SetActuationOnWebSetting_ParamsSpec.$, WebClientHandler_SetActuationOnWebSetting_ResponseParamsSpec.$, this.setActuationOnWebSetting.createReceiverHandler(true /* expectsResponse */), false);
        this.shouldAllowMediaPermissionRequest =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(2057455435, WebClientHandler_ShouldAllowMediaPermissionRequest_ParamsSpec.$, WebClientHandler_ShouldAllowMediaPermissionRequest_ResponseParamsSpec.$, this.shouldAllowMediaPermissionRequest.createReceiverHandler(true /* expectsResponse */), false);
        this.shouldAllowGeolocationPermissionRequest =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(763099835, WebClientHandler_ShouldAllowGeolocationPermissionRequest_ParamsSpec.$, WebClientHandler_ShouldAllowGeolocationPermissionRequest_ResponseParamsSpec.$, this.shouldAllowGeolocationPermissionRequest.createReceiverHandler(true /* expectsResponse */), false);
        this.setContextAccessIndicator =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(983663116, WebClientHandler_SetContextAccessIndicator_ParamsSpec.$, null, this.setContextAccessIndicator.createReceiverHandler(false /* expectsResponse */), false);
        this.getUserProfileInfo =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(598656396, WebClientHandler_GetUserProfileInfo_ParamsSpec.$, WebClientHandler_GetUserProfileInfo_ResponseParamsSpec.$, this.getUserProfileInfo.createReceiverHandler(true /* expectsResponse */), false);
        this.syncCookies =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1676524242, WebClientHandler_SyncCookies_ParamsSpec.$, WebClientHandler_SyncCookies_ResponseParamsSpec.$, this.syncCookies.createReceiverHandler(true /* expectsResponse */), false);
        this.clientErrorDialogStateChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(927315115, WebClientHandler_ClientErrorDialogStateChanged_ParamsSpec.$, null, this.clientErrorDialogStateChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.reportClientTransientError =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(2111037009, WebClientHandler_ReportClientTransientError_ParamsSpec.$, null, this.reportClientTransientError.createReceiverHandler(false /* expectsResponse */), false);
        this.processCounterAbuseVerdict =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(283439119, WebClientHandler_ProcessCounterAbuseVerdict_ParamsSpec.$, null, this.processCounterAbuseVerdict.createReceiverHandler(false /* expectsResponse */), false);
        this.onOptinImpression =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1884151285, WebClientHandler_OnOptinImpression_ParamsSpec.$, null, this.onOptinImpression.createReceiverHandler(false /* expectsResponse */), false);
        this.onUserInputSubmitted =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(728401416, WebClientHandler_OnUserInputSubmitted_ParamsSpec.$, null, this.onUserInputSubmitted.createReceiverHandler(false /* expectsResponse */), false);
        this.onContextUploadStarted =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1586099115, WebClientHandler_OnContextUploadStarted_ParamsSpec.$, null, this.onContextUploadStarted.createReceiverHandler(false /* expectsResponse */), false);
        this.onContextUploadCompleted =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(132243139, WebClientHandler_OnContextUploadCompleted_ParamsSpec.$, null, this.onContextUploadCompleted.createReceiverHandler(false /* expectsResponse */), false);
        this.onReaction =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(122574203, WebClientHandler_OnReaction_ParamsSpec.$, null, this.onReaction.createReceiverHandler(false /* expectsResponse */), false);
        this.onResponseStarted =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(997391891, WebClientHandler_OnResponseStarted_ParamsSpec.$, null, this.onResponseStarted.createReceiverHandler(false /* expectsResponse */), false);
        this.onResponseStopped =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(955202480, WebClientHandler_OnResponseStopped_ParamsSpec.$, null, this.onResponseStopped.createReceiverHandler(false /* expectsResponse */), false);
        this.onSessionTerminated =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1664371214, WebClientHandler_OnSessionTerminated_ParamsSpec.$, null, this.onSessionTerminated.createReceiverHandler(false /* expectsResponse */), false);
        this.onTurnCompleted =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1161618851, WebClientHandler_OnTurnCompleted_ParamsSpec.$, null, this.onTurnCompleted.createReceiverHandler(false /* expectsResponse */), false);
        this.onResponseRated =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(611961536, WebClientHandler_OnResponseRated_ParamsSpec.$, null, this.onResponseRated.createReceiverHandler(false /* expectsResponse */), false);
        this.onClosedCaptionsShown =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1155128012, WebClientHandler_OnClosedCaptionsShown_ParamsSpec.$, null, this.onClosedCaptionsShown.createReceiverHandler(false /* expectsResponse */), false);
        this.onActionSubmitted =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(2027217613, WebClientHandler_OnActionSubmitted_ParamsSpec.$, null, this.onActionSubmitted.createReceiverHandler(false /* expectsResponse */), false);
        this.setSyntheticExperimentState =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(222263975, WebClientHandler_SetSyntheticExperimentState_ParamsSpec.$, null, this.setSyntheticExperimentState.createReceiverHandler(false /* expectsResponse */), false);
        this.openOsPermissionSettingsMenu =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1400925128, WebClientHandler_OpenOsPermissionSettingsMenu_ParamsSpec.$, null, this.openOsPermissionSettingsMenu.createReceiverHandler(false /* expectsResponse */), false);
        this.getOsMicrophonePermissionStatus =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(2028311296, WebClientHandler_GetOsMicrophonePermissionStatus_ParamsSpec.$, WebClientHandler_GetOsMicrophonePermissionStatus_ResponseParamsSpec.$, this.getOsMicrophonePermissionStatus.createReceiverHandler(true /* expectsResponse */), false);
        this.getZeroStateSuggestionsAndSubscribe =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1889803748, WebClientHandler_GetZeroStateSuggestionsAndSubscribe_ParamsSpec.$, WebClientHandler_GetZeroStateSuggestionsAndSubscribe_ResponseParamsSpec.$, this.getZeroStateSuggestionsAndSubscribe.createReceiverHandler(true /* expectsResponse */), false);
        this.getZeroStateSuggestionsForFocusedTab =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(701937413, WebClientHandler_GetZeroStateSuggestionsForFocusedTab_ParamsSpec.$, WebClientHandler_GetZeroStateSuggestionsForFocusedTab_ResponseParamsSpec.$, this.getZeroStateSuggestionsForFocusedTab.createReceiverHandler(true /* expectsResponse */), false);
        this.maybeRefreshUserStatus =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1393740664, WebClientHandler_MaybeRefreshUserStatus_ParamsSpec.$, null, this.maybeRefreshUserStatus.createReceiverHandler(false /* expectsResponse */), false);
        this.isDebuggerAttached =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1730783633, WebClientHandler_IsDebuggerAttached_ParamsSpec.$, WebClientHandler_IsDebuggerAttached_ResponseParamsSpec.$, this.isDebuggerAttached.createReceiverHandler(true /* expectsResponse */), false);
        this.subscribeToPageMetadata =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(702698064, WebClientHandler_SubscribeToPageMetadata_ParamsSpec.$, WebClientHandler_SubscribeToPageMetadata_ResponseParamsSpec.$, this.subscribeToPageMetadata.createReceiverHandler(true /* expectsResponse */), false);
        this.switchConversation =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1917501125, WebClientHandler_SwitchConversation_ParamsSpec.$, WebClientHandler_SwitchConversation_ResponseParamsSpec.$, this.switchConversation.createReceiverHandler(true /* expectsResponse */), false);
        this.registerConversation =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(330344986, WebClientHandler_RegisterConversation_ParamsSpec.$, WebClientHandler_RegisterConversation_ResponseParamsSpec.$, this.registerConversation.createReceiverHandler(true /* expectsResponse */), false);
        this.setOnboardingCompleted =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1347874252, WebClientHandler_SetOnboardingCompleted_ParamsSpec.$, null, this.setOnboardingCompleted.createReceiverHandler(false /* expectsResponse */), false);
        this.subscribeToTabData =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(355715185, WebClientHandler_SubscribeToTabData_ParamsSpec.$, null, this.subscribeToTabData.createReceiverHandler(false /* expectsResponse */), false);
        this.subscribeToTabFavicon =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1314078339, WebClientHandler_SubscribeToTabFavicon_ParamsSpec.$, null, this.subscribeToTabFavicon.createReceiverHandler(false /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class TabDataHandlerPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.TabDataHandler', scope);
    }
}
export class TabDataHandlerRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(TabDataHandlerPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    onTabDataChanged(tabData) {
        this.proxy.sendMessage(272035602, TabDataHandler_OnTabDataChanged_ParamsSpec.$, null, [
            tabData
        ], false);
    }
}
;
/**
 * An object which receives request messages for the TabDataHandler
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class TabDataHandlerReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(TabDataHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(272035602, TabDataHandler_OnTabDataChanged_ParamsSpec.$, null, impl.onTabDataChanged.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class TabDataHandler {
    static get $interfaceName() {
        return "glic.mojom.TabDataHandler";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new TabDataHandlerRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the TabDataHandler
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class TabDataHandlerCallbackRouter {
    helper_internal_;
    $;
    router_;
    onTabDataChanged;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(TabDataHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.onTabDataChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(272035602, TabDataHandler_OnTabDataChanged_ParamsSpec.$, null, this.onTabDataChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class TabFaviconHandlerPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.TabFaviconHandler', scope);
    }
}
export class TabFaviconHandlerRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(TabFaviconHandlerPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    onTabFaviconChanged(favicon) {
        this.proxy.sendMessage(775195000, TabFaviconHandler_OnTabFaviconChanged_ParamsSpec.$, null, [
            favicon
        ], false);
    }
}
;
/**
 * An object which receives request messages for the TabFaviconHandler
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class TabFaviconHandlerReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(TabFaviconHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(775195000, TabFaviconHandler_OnTabFaviconChanged_ParamsSpec.$, null, impl.onTabFaviconChanged.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class TabFaviconHandler {
    static get $interfaceName() {
        return "glic.mojom.TabFaviconHandler";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new TabFaviconHandlerRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the TabFaviconHandler
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class TabFaviconHandlerCallbackRouter {
    helper_internal_;
    $;
    router_;
    onTabFaviconChanged;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(TabFaviconHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.onTabFaviconChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(775195000, TabFaviconHandler_OnTabFaviconChanged_ParamsSpec.$, null, this.onTabFaviconChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class ExperimentalTriggeringUpdatesHandlerPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.ExperimentalTriggeringUpdatesHandler', scope);
    }
}
export class ExperimentalTriggeringUpdatesHandlerRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(ExperimentalTriggeringUpdatesHandlerPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    onUpdate(update, observation) {
        this.proxy.sendMessage(478783210, ExperimentalTriggeringUpdatesHandler_OnUpdate_ParamsSpec.$, null, [
            update,
            observation
        ], false);
    }
}
;
/**
 * An object which receives request messages for the ExperimentalTriggeringUpdatesHandler
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class ExperimentalTriggeringUpdatesHandlerReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(ExperimentalTriggeringUpdatesHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(478783210, ExperimentalTriggeringUpdatesHandler_OnUpdate_ParamsSpec.$, null, impl.onUpdate.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class ExperimentalTriggeringUpdatesHandler {
    static get $interfaceName() {
        return "glic.mojom.ExperimentalTriggeringUpdatesHandler";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new ExperimentalTriggeringUpdatesHandlerRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the ExperimentalTriggeringUpdatesHandler
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class ExperimentalTriggeringUpdatesHandlerCallbackRouter {
    helper_internal_;
    $;
    router_;
    onUpdate;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(ExperimentalTriggeringUpdatesHandlerRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.onUpdate =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(478783210, ExperimentalTriggeringUpdatesHandler_OnUpdate_ParamsSpec.$, null, this.onUpdate.createReceiverHandler(false /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class WebClientPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.WebClient', scope);
    }
}
export class WebClientRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(WebClientPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    notifyPanelWillOpen(panelOpeningData) {
        return this.proxy.sendMessage(85383313, WebClient_NotifyPanelWillOpen_ParamsSpec.$, WebClient_NotifyPanelWillOpen_ResponseParamsSpec.$, [
            panelOpeningData
        ], false);
    }
    notifyPanelWasClosed() {
        return this.proxy.sendMessage(1237618169, WebClient_NotifyPanelWasClosed_ParamsSpec.$, WebClient_NotifyPanelWasClosed_ResponseParamsSpec.$, [], false);
    }
    notifyPanelStateChange(panelState) {
        this.proxy.sendMessage(2056598624, WebClient_NotifyPanelStateChange_ParamsSpec.$, null, [
            panelState
        ], false);
    }
    notifyPanelActiveChange(panelActive) {
        this.proxy.sendMessage(1429858161, WebClient_NotifyPanelActiveChange_ParamsSpec.$, null, [
            panelActive
        ], false);
    }
    notifyPanelCanAttachChange(canAttach) {
        this.proxy.sendMessage(457647019, WebClient_NotifyPanelCanAttachChange_ParamsSpec.$, null, [
            canAttach
        ], false);
    }
    notifyMicrophonePermissionStateChanged(enabled) {
        this.proxy.sendMessage(310506417, WebClient_NotifyMicrophonePermissionStateChanged_ParamsSpec.$, null, [
            enabled
        ], false);
    }
    stopMicrophone() {
        return this.proxy.sendMessage(656984345, WebClient_StopMicrophone_ParamsSpec.$, WebClient_StopMicrophone_ResponseParamsSpec.$, [], false);
    }
    notifyLocationPermissionStateChanged(enabled) {
        this.proxy.sendMessage(1901331770, WebClient_NotifyLocationPermissionStateChanged_ParamsSpec.$, null, [
            enabled
        ], false);
    }
    notifyTabContextPermissionStateChanged(enabled) {
        this.proxy.sendMessage(143517225, WebClient_NotifyTabContextPermissionStateChanged_ParamsSpec.$, null, [
            enabled
        ], false);
    }
    notifyOsLocationPermissionStateChanged(enabled) {
        this.proxy.sendMessage(1629198896, WebClient_NotifyOsLocationPermissionStateChanged_ParamsSpec.$, null, [
            enabled
        ], false);
    }
    notifyFocusedTabChanged(focusedTabData) {
        this.proxy.sendMessage(721239928, WebClient_NotifyFocusedTabChanged_ParamsSpec.$, null, [
            focusedTabData
        ], false);
    }
    notifyManualResizeChanged(resizing) {
        this.proxy.sendMessage(636086617, WebClient_NotifyManualResizeChanged_ParamsSpec.$, null, [
            resizing
        ], false);
    }
    notifyOsHotkeyStateChanged(hotkey) {
        this.proxy.sendMessage(2119373296, WebClient_NotifyOsHotkeyStateChanged_ParamsSpec.$, null, [
            hotkey
        ], false);
    }
    notifyBrowserIsOpenChanged(browserIsOpen) {
        this.proxy.sendMessage(523821150, WebClient_NotifyBrowserIsOpenChanged_ParamsSpec.$, null, [
            browserIsOpen
        ], false);
    }
    notifyInstanceActivationChanged(instanceActive) {
        this.proxy.sendMessage(909121558, WebClient_NotifyInstanceActivationChanged_ParamsSpec.$, null, [
            instanceActive
        ], false);
    }
    notifyClosedCaptioningSettingChanged(enabled) {
        this.proxy.sendMessage(1012417242, WebClient_NotifyClosedCaptioningSettingChanged_ParamsSpec.$, null, [
            enabled
        ], false);
    }
    notifyPinnedTabsChanged(tabData) {
        this.proxy.sendMessage(1878519898, WebClient_NotifyPinnedTabsChanged_ParamsSpec.$, null, [
            tabData
        ], false);
    }
    notifyPinnedTabDataChanged(tabData) {
        this.proxy.sendMessage(1182002658, WebClient_NotifyPinnedTabDataChanged_ParamsSpec.$, null, [
            tabData
        ], false);
    }
    notifySkillDeleted(skillId) {
        this.proxy.sendMessage(1935576, WebClient_NotifySkillDeleted_ParamsSpec.$, null, [
            skillId
        ], false);
    }
    notifySkillPreviewChanged(skillPreview) {
        this.proxy.sendMessage(609607186, WebClient_NotifySkillPreviewChanged_ParamsSpec.$, null, [
            skillPreview
        ], false);
    }
    notifyContextualSkillPreviewsChanged(skillPreviews) {
        this.proxy.sendMessage(626846537, WebClient_NotifyContextualSkillPreviewsChanged_ParamsSpec.$, null, [
            skillPreviews
        ], false);
    }
    notifySkillPreviewsChanged(skillPreviews) {
        this.proxy.sendMessage(920575629, WebClient_NotifySkillPreviewsChanged_ParamsSpec.$, null, [
            skillPreviews
        ], false);
    }
    notifyZeroStateSuggestionsChanged(suggestions, options) {
        this.proxy.sendMessage(432148688, WebClient_NotifyZeroStateSuggestionsChanged_ParamsSpec.$, null, [
            suggestions,
            options
        ], false);
    }
    notifyPageMetadataChanged(tabId, metadata) {
        this.proxy.sendMessage(534473619, WebClient_NotifyPageMetadataChanged_ParamsSpec.$, null, [
            tabId,
            metadata
        ], false);
    }
    notifyDefaultTabContextPermissionStateChanged(enabled) {
        this.proxy.sendMessage(1010810274, WebClient_NotifyDefaultTabContextPermissionStateChanged_ParamsSpec.$, null, [
            enabled
        ], false);
    }
    notifyAdditionalContext(context) {
        this.proxy.sendMessage(1957362333, WebClient_NotifyAdditionalContext_ParamsSpec.$, null, [
            context
        ], false);
    }
    notifyActuationOnWebSettingChanged(enabled) {
        this.proxy.sendMessage(92882330, WebClient_NotifyActuationOnWebSettingChanged_ParamsSpec.$, null, [
            enabled
        ], false);
    }
    notifyActOnWebCapabilityChanged(canActOnWeb) {
        this.proxy.sendMessage(27653646, WebClient_NotifyActOnWebCapabilityChanged_ParamsSpec.$, null, [
            canActOnWeb
        ], false);
    }
    notifyOnboardingCompletedChanged(completed) {
        this.proxy.sendMessage(178477423, WebClient_NotifyOnboardingCompletedChanged_ParamsSpec.$, null, [
            completed
        ], false);
    }
    notifyGeminiEnterpriseSettingsChanged(settings) {
        this.proxy.sendMessage(1743302956, WebClient_NotifyGeminiEnterpriseSettingsChanged_ParamsSpec.$, null, [
            settings
        ], false);
    }
    notifyActorTaskListRowClicked(taskId) {
        this.proxy.sendMessage(856284045, WebClient_NotifyActorTaskListRowClicked_ParamsSpec.$, null, [
            taskId
        ], false);
    }
    invoke(options) {
        return this.proxy.sendMessage(1049210673, WebClient_Invoke_ParamsSpec.$, WebClient_Invoke_ResponseParamsSpec.$, [
            options
        ], false);
    }
    getExperimentalTriggeringUpdates(handler) {
        return this.proxy.sendMessage(1555381735, WebClient_GetExperimentalTriggeringUpdates_ParamsSpec.$, WebClient_GetExperimentalTriggeringUpdates_ResponseParamsSpec.$, [
            handler
        ], false);
    }
}
;
/**
 * An object which receives request messages for the WebClient
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class WebClientReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(WebClientRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(85383313, WebClient_NotifyPanelWillOpen_ParamsSpec.$, WebClient_NotifyPanelWillOpen_ResponseParamsSpec.$, impl.notifyPanelWillOpen.bind(impl), false);
        this.helper_internal_.registerHandler(1237618169, WebClient_NotifyPanelWasClosed_ParamsSpec.$, WebClient_NotifyPanelWasClosed_ResponseParamsSpec.$, impl.notifyPanelWasClosed.bind(impl), false);
        this.helper_internal_.registerHandler(2056598624, WebClient_NotifyPanelStateChange_ParamsSpec.$, null, impl.notifyPanelStateChange.bind(impl), false);
        this.helper_internal_.registerHandler(1429858161, WebClient_NotifyPanelActiveChange_ParamsSpec.$, null, impl.notifyPanelActiveChange.bind(impl), false);
        this.helper_internal_.registerHandler(457647019, WebClient_NotifyPanelCanAttachChange_ParamsSpec.$, null, impl.notifyPanelCanAttachChange.bind(impl), false);
        this.helper_internal_.registerHandler(310506417, WebClient_NotifyMicrophonePermissionStateChanged_ParamsSpec.$, null, impl.notifyMicrophonePermissionStateChanged.bind(impl), false);
        this.helper_internal_.registerHandler(656984345, WebClient_StopMicrophone_ParamsSpec.$, WebClient_StopMicrophone_ResponseParamsSpec.$, impl.stopMicrophone.bind(impl), false);
        this.helper_internal_.registerHandler(1901331770, WebClient_NotifyLocationPermissionStateChanged_ParamsSpec.$, null, impl.notifyLocationPermissionStateChanged.bind(impl), false);
        this.helper_internal_.registerHandler(143517225, WebClient_NotifyTabContextPermissionStateChanged_ParamsSpec.$, null, impl.notifyTabContextPermissionStateChanged.bind(impl), false);
        this.helper_internal_.registerHandler(1629198896, WebClient_NotifyOsLocationPermissionStateChanged_ParamsSpec.$, null, impl.notifyOsLocationPermissionStateChanged.bind(impl), false);
        this.helper_internal_.registerHandler(721239928, WebClient_NotifyFocusedTabChanged_ParamsSpec.$, null, impl.notifyFocusedTabChanged.bind(impl), false);
        this.helper_internal_.registerHandler(636086617, WebClient_NotifyManualResizeChanged_ParamsSpec.$, null, impl.notifyManualResizeChanged.bind(impl), false);
        this.helper_internal_.registerHandler(2119373296, WebClient_NotifyOsHotkeyStateChanged_ParamsSpec.$, null, impl.notifyOsHotkeyStateChanged.bind(impl), false);
        this.helper_internal_.registerHandler(523821150, WebClient_NotifyBrowserIsOpenChanged_ParamsSpec.$, null, impl.notifyBrowserIsOpenChanged.bind(impl), false);
        this.helper_internal_.registerHandler(909121558, WebClient_NotifyInstanceActivationChanged_ParamsSpec.$, null, impl.notifyInstanceActivationChanged.bind(impl), false);
        this.helper_internal_.registerHandler(1012417242, WebClient_NotifyClosedCaptioningSettingChanged_ParamsSpec.$, null, impl.notifyClosedCaptioningSettingChanged.bind(impl), false);
        this.helper_internal_.registerHandler(1878519898, WebClient_NotifyPinnedTabsChanged_ParamsSpec.$, null, impl.notifyPinnedTabsChanged.bind(impl), false);
        this.helper_internal_.registerHandler(1182002658, WebClient_NotifyPinnedTabDataChanged_ParamsSpec.$, null, impl.notifyPinnedTabDataChanged.bind(impl), false);
        this.helper_internal_.registerHandler(1935576, WebClient_NotifySkillDeleted_ParamsSpec.$, null, impl.notifySkillDeleted.bind(impl), false);
        this.helper_internal_.registerHandler(609607186, WebClient_NotifySkillPreviewChanged_ParamsSpec.$, null, impl.notifySkillPreviewChanged.bind(impl), false);
        this.helper_internal_.registerHandler(626846537, WebClient_NotifyContextualSkillPreviewsChanged_ParamsSpec.$, null, impl.notifyContextualSkillPreviewsChanged.bind(impl), false);
        this.helper_internal_.registerHandler(920575629, WebClient_NotifySkillPreviewsChanged_ParamsSpec.$, null, impl.notifySkillPreviewsChanged.bind(impl), false);
        this.helper_internal_.registerHandler(432148688, WebClient_NotifyZeroStateSuggestionsChanged_ParamsSpec.$, null, impl.notifyZeroStateSuggestionsChanged.bind(impl), false);
        this.helper_internal_.registerHandler(534473619, WebClient_NotifyPageMetadataChanged_ParamsSpec.$, null, impl.notifyPageMetadataChanged.bind(impl), false);
        this.helper_internal_.registerHandler(1010810274, WebClient_NotifyDefaultTabContextPermissionStateChanged_ParamsSpec.$, null, impl.notifyDefaultTabContextPermissionStateChanged.bind(impl), false);
        this.helper_internal_.registerHandler(1957362333, WebClient_NotifyAdditionalContext_ParamsSpec.$, null, impl.notifyAdditionalContext.bind(impl), false);
        this.helper_internal_.registerHandler(92882330, WebClient_NotifyActuationOnWebSettingChanged_ParamsSpec.$, null, impl.notifyActuationOnWebSettingChanged.bind(impl), false);
        this.helper_internal_.registerHandler(27653646, WebClient_NotifyActOnWebCapabilityChanged_ParamsSpec.$, null, impl.notifyActOnWebCapabilityChanged.bind(impl), false);
        this.helper_internal_.registerHandler(178477423, WebClient_NotifyOnboardingCompletedChanged_ParamsSpec.$, null, impl.notifyOnboardingCompletedChanged.bind(impl), false);
        this.helper_internal_.registerHandler(1743302956, WebClient_NotifyGeminiEnterpriseSettingsChanged_ParamsSpec.$, null, impl.notifyGeminiEnterpriseSettingsChanged.bind(impl), false);
        this.helper_internal_.registerHandler(856284045, WebClient_NotifyActorTaskListRowClicked_ParamsSpec.$, null, impl.notifyActorTaskListRowClicked.bind(impl), false);
        this.helper_internal_.registerHandler(1049210673, WebClient_Invoke_ParamsSpec.$, WebClient_Invoke_ResponseParamsSpec.$, impl.invoke.bind(impl), false);
        this.helper_internal_.registerHandler(1555381735, WebClient_GetExperimentalTriggeringUpdates_ParamsSpec.$, WebClient_GetExperimentalTriggeringUpdates_ResponseParamsSpec.$, impl.getExperimentalTriggeringUpdates.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class WebClient {
    static get $interfaceName() {
        return "glic.mojom.WebClient";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new WebClientRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the WebClient
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class WebClientCallbackRouter {
    helper_internal_;
    $;
    router_;
    notifyPanelWillOpen;
    notifyPanelWasClosed;
    notifyPanelStateChange;
    notifyPanelActiveChange;
    notifyPanelCanAttachChange;
    notifyMicrophonePermissionStateChanged;
    stopMicrophone;
    notifyLocationPermissionStateChanged;
    notifyTabContextPermissionStateChanged;
    notifyOsLocationPermissionStateChanged;
    notifyFocusedTabChanged;
    notifyManualResizeChanged;
    notifyOsHotkeyStateChanged;
    notifyBrowserIsOpenChanged;
    notifyInstanceActivationChanged;
    notifyClosedCaptioningSettingChanged;
    notifyPinnedTabsChanged;
    notifyPinnedTabDataChanged;
    notifySkillDeleted;
    notifySkillPreviewChanged;
    notifyContextualSkillPreviewsChanged;
    notifySkillPreviewsChanged;
    notifyZeroStateSuggestionsChanged;
    notifyPageMetadataChanged;
    notifyDefaultTabContextPermissionStateChanged;
    notifyAdditionalContext;
    notifyActuationOnWebSettingChanged;
    notifyActOnWebCapabilityChanged;
    notifyOnboardingCompletedChanged;
    notifyGeminiEnterpriseSettingsChanged;
    notifyActorTaskListRowClicked;
    invoke;
    getExperimentalTriggeringUpdates;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(WebClientRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.notifyPanelWillOpen =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(85383313, WebClient_NotifyPanelWillOpen_ParamsSpec.$, WebClient_NotifyPanelWillOpen_ResponseParamsSpec.$, this.notifyPanelWillOpen.createReceiverHandler(true /* expectsResponse */), false);
        this.notifyPanelWasClosed =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1237618169, WebClient_NotifyPanelWasClosed_ParamsSpec.$, WebClient_NotifyPanelWasClosed_ResponseParamsSpec.$, this.notifyPanelWasClosed.createReceiverHandler(true /* expectsResponse */), false);
        this.notifyPanelStateChange =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(2056598624, WebClient_NotifyPanelStateChange_ParamsSpec.$, null, this.notifyPanelStateChange.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyPanelActiveChange =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1429858161, WebClient_NotifyPanelActiveChange_ParamsSpec.$, null, this.notifyPanelActiveChange.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyPanelCanAttachChange =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(457647019, WebClient_NotifyPanelCanAttachChange_ParamsSpec.$, null, this.notifyPanelCanAttachChange.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyMicrophonePermissionStateChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(310506417, WebClient_NotifyMicrophonePermissionStateChanged_ParamsSpec.$, null, this.notifyMicrophonePermissionStateChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.stopMicrophone =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(656984345, WebClient_StopMicrophone_ParamsSpec.$, WebClient_StopMicrophone_ResponseParamsSpec.$, this.stopMicrophone.createReceiverHandler(true /* expectsResponse */), false);
        this.notifyLocationPermissionStateChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1901331770, WebClient_NotifyLocationPermissionStateChanged_ParamsSpec.$, null, this.notifyLocationPermissionStateChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyTabContextPermissionStateChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(143517225, WebClient_NotifyTabContextPermissionStateChanged_ParamsSpec.$, null, this.notifyTabContextPermissionStateChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyOsLocationPermissionStateChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1629198896, WebClient_NotifyOsLocationPermissionStateChanged_ParamsSpec.$, null, this.notifyOsLocationPermissionStateChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyFocusedTabChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(721239928, WebClient_NotifyFocusedTabChanged_ParamsSpec.$, null, this.notifyFocusedTabChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyManualResizeChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(636086617, WebClient_NotifyManualResizeChanged_ParamsSpec.$, null, this.notifyManualResizeChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyOsHotkeyStateChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(2119373296, WebClient_NotifyOsHotkeyStateChanged_ParamsSpec.$, null, this.notifyOsHotkeyStateChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyBrowserIsOpenChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(523821150, WebClient_NotifyBrowserIsOpenChanged_ParamsSpec.$, null, this.notifyBrowserIsOpenChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyInstanceActivationChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(909121558, WebClient_NotifyInstanceActivationChanged_ParamsSpec.$, null, this.notifyInstanceActivationChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyClosedCaptioningSettingChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1012417242, WebClient_NotifyClosedCaptioningSettingChanged_ParamsSpec.$, null, this.notifyClosedCaptioningSettingChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyPinnedTabsChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1878519898, WebClient_NotifyPinnedTabsChanged_ParamsSpec.$, null, this.notifyPinnedTabsChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyPinnedTabDataChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1182002658, WebClient_NotifyPinnedTabDataChanged_ParamsSpec.$, null, this.notifyPinnedTabDataChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifySkillDeleted =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1935576, WebClient_NotifySkillDeleted_ParamsSpec.$, null, this.notifySkillDeleted.createReceiverHandler(false /* expectsResponse */), false);
        this.notifySkillPreviewChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(609607186, WebClient_NotifySkillPreviewChanged_ParamsSpec.$, null, this.notifySkillPreviewChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyContextualSkillPreviewsChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(626846537, WebClient_NotifyContextualSkillPreviewsChanged_ParamsSpec.$, null, this.notifyContextualSkillPreviewsChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifySkillPreviewsChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(920575629, WebClient_NotifySkillPreviewsChanged_ParamsSpec.$, null, this.notifySkillPreviewsChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyZeroStateSuggestionsChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(432148688, WebClient_NotifyZeroStateSuggestionsChanged_ParamsSpec.$, null, this.notifyZeroStateSuggestionsChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyPageMetadataChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(534473619, WebClient_NotifyPageMetadataChanged_ParamsSpec.$, null, this.notifyPageMetadataChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyDefaultTabContextPermissionStateChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1010810274, WebClient_NotifyDefaultTabContextPermissionStateChanged_ParamsSpec.$, null, this.notifyDefaultTabContextPermissionStateChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyAdditionalContext =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1957362333, WebClient_NotifyAdditionalContext_ParamsSpec.$, null, this.notifyAdditionalContext.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyActuationOnWebSettingChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(92882330, WebClient_NotifyActuationOnWebSettingChanged_ParamsSpec.$, null, this.notifyActuationOnWebSettingChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyActOnWebCapabilityChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(27653646, WebClient_NotifyActOnWebCapabilityChanged_ParamsSpec.$, null, this.notifyActOnWebCapabilityChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyOnboardingCompletedChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(178477423, WebClient_NotifyOnboardingCompletedChanged_ParamsSpec.$, null, this.notifyOnboardingCompletedChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyGeminiEnterpriseSettingsChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1743302956, WebClient_NotifyGeminiEnterpriseSettingsChanged_ParamsSpec.$, null, this.notifyGeminiEnterpriseSettingsChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyActorTaskListRowClicked =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(856284045, WebClient_NotifyActorTaskListRowClicked_ParamsSpec.$, null, this.notifyActorTaskListRowClicked.createReceiverHandler(false /* expectsResponse */), false);
        this.invoke =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1049210673, WebClient_Invoke_ParamsSpec.$, WebClient_Invoke_ResponseParamsSpec.$, this.invoke.createReceiverHandler(true /* expectsResponse */), false);
        this.getExperimentalTriggeringUpdates =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1555381735, WebClient_GetExperimentalTriggeringUpdates_ParamsSpec.$, WebClient_GetExperimentalTriggeringUpdates_ResponseParamsSpec.$, this.getExperimentalTriggeringUpdates.createReceiverHandler(true /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export class CaptureRegionObserverPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'glic.mojom.CaptureRegionObserver', scope);
    }
}
export class CaptureRegionObserverRemote {
    proxy;
    $;
    onConnectionError;
    constructor(handle) {
        this.proxy =
            new mojo.internal.interfaceSupport.InterfaceRemoteBase(CaptureRegionObserverPendingReceiver, handle);
        this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
        this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
    }
    onUpdate(result, reason) {
        this.proxy.sendMessage(797645168, CaptureRegionObserver_OnUpdate_ParamsSpec.$, null, [
            result,
            reason
        ], false);
    }
}
;
/**
 * An object which receives request messages for the CaptureRegionObserver
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class CaptureRegionObserverReceiver {
    helper_internal_;
    $;
    onConnectionError;
    constructor(impl) {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(CaptureRegionObserverRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.helper_internal_.registerHandler(797645168, CaptureRegionObserver_OnUpdate_ParamsSpec.$, null, impl.onUpdate.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class CaptureRegionObserver {
    static get $interfaceName() {
        return "glic.mojom.CaptureRegionObserver";
    }
    /**
     * Returns a remote for this interface which sends messages to the browser.
     * The browser must have an interface request binder registered for this
     * interface and accessible to the calling document's frame.
     */
    static getRemote() {
        let remote = new CaptureRegionObserverRemote;
        remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
        return remote;
    }
}
/**
 * An object which receives request messages for the CaptureRegionObserver
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class CaptureRegionObserverCallbackRouter {
    helper_internal_;
    $;
    router_;
    onUpdate;
    onConnectionError;
    constructor() {
        this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(CaptureRegionObserverRemote);
        this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
        this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
        this.onUpdate =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(797645168, CaptureRegionObserver_OnUpdate_ParamsSpec.$, null, this.onUpdate.createReceiverHandler(false /* expectsResponse */), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
    /**
     * @param id An ID returned by a prior call to addListener.
     * @return True iff the identified listener was found and removed.
     */
    removeListener(id) {
        return this.router_.removeListener(id);
    }
}
export const GeminiEnterpriseSettingsSpec = { $: {} };
export const ProfileEnablementSpec = { $: {} };
export const ConfigInfoSpec = { $: {} };
export const DefaultConversationSpec = { $: {} };
export const NewConversationSpec = { $: {} };
export const DefaultSurfaceMojoSpec = { $: {} };
export const NewTabMojoSpec = { $: {} };
export const ZssConfigSpec = { $: {} };
export const GetContextResultWithActionResultCodeSpec = { $: {} };
export const UserProfileInfoSpec = { $: {} };
export const SafeBrowsingVerdictResultSpec = { $: {} };
export const CounterAbuseVerdictSpec = { $: {} };
export const WebClientInitialStateSpec = { $: {} };
export const ScreenshotCollectionOptionsSpec = { $: {} };
export const GetTabContextOptionsSpec = { $: {} };
export const GetPinCandidatesOptionsSpec = { $: {} };
export const ScrollToParamsSpec = { $: {} };
export const ScrollToTextSelectorSpec = { $: {} };
export const ScrollToTextFragmentSelectorSpec = { $: {} };
export const ScrollToNodeSelectorSpec = { $: {} };
export const SuggestionContentSpec = { $: {} };
export const SkillPreviewSpec = { $: {} };
export const SkillSpec = { $: {} };
export const CreateSkillRequestSpec = { $: {} };
export const UpdateSkillRequestSpec = { $: {} };
export const ZeroStateSuggestionsSpec = { $: {} };
export const ZeroStateSuggestionsV2Spec = { $: {} };
export const ZeroStateSuggestionsOptionsSpec = { $: {} };
export const PinCandidateSpec = { $: {} };
export const PinTabsOptionsSpec = { $: {} };
export const UnpinTabsOptionsSpec = { $: {} };
export const CaptureRegionParamsSpec = { $: {} };
export const ActivateTabOptionsSpec = { $: {} };
export const ConversationInfoSpec = { $: {} };
export const PanelOpeningDataSpec = { $: {} };
export const PanelStateSpec = { $: {} };
export const UniversalCartPayloadSpec = { $: {} };
export const InvokeOptionsSpec = { $: {} };
export const OnResponseStoppedDetailsSpec = { $: {} };
export const OpenPanelInfoSpec = { $: {} };
export const ContextDataSpec = { $: {} };
export const ParentConversationMetadataSpec = { $: {} };
export const AdditionalContextSpec = { $: {} };
export const ExperimentalTriggeringUpdateSpec = { $: {} };
export const TabContextSpec = { $: {} };
export const WebPageDataSpec = { $: {} };
export const DocumentDataSpec = { $: {} };
export const PdfDocumentDataSpec = { $: {} };
export const TabDataSpec = { $: {} };
export const NoFocusedTabDataSpec = { $: {} };
export const AnnotatedPageDataSpec = { $: {} };
export const ImageOriginAnnotationsSpec = { $: {} };
export const JournalSpec = { $: {} };
export const PendingCapturedRegionSpec = { $: {} };
export const CaptureRegionResultSpec = { $: {} };
export const ScreenshotSpec = { $: {} };
export const ImageInfoSpec = { $: {} };
export const ImageBytesResultSpec = { $: {} };
export const OpenSettingsOptionsSpec = { $: {} };
export const PreloadPage_SetProfileReadyState_ParamsSpec = { $: {} };
export const Page_IntentToShow_ParamsSpec = { $: {} };
export const Page_SetProfileReadyState_ParamsSpec = { $: {} };
export const Page_UpdatePageState_ParamsSpec = { $: {} };
export const Page_Zoom_ParamsSpec = { $: {} };
export const GlicPreloadHandler_PrepareForClient_ParamsSpec = { $: {} };
export const GlicPreloadHandler_PrepareForClient_ResponseParamsSpec = { $: {} };
export const GlicPreloadHandlerFactory_CreatePreloadHandler_ParamsSpec = { $: {} };
export const PageHandlerFactory_CreatePageHandler_ParamsSpec = { $: {} };
export const PageHandlerFactory_CreatePageHandler_ResponseParamsSpec = { $: {} };
export const PageHandler_CreateWebClient_ParamsSpec = { $: {} };
export const PageHandler_PrepareForClient_ParamsSpec = { $: {} };
export const PageHandler_PrepareForClient_ResponseParamsSpec = { $: {} };
export const PageHandler_WebviewCommitted_ParamsSpec = { $: {} };
export const PageHandler_OnZoomLevelChange_ParamsSpec = { $: {} };
export const PageHandler_ClosePanel_ParamsSpec = { $: {} };
export const PageHandler_ClosePanel_ResponseParamsSpec = { $: {} };
export const PageHandler_OpenHelpCenterTopicAndClosePanel_ParamsSpec = { $: {} };
export const PageHandler_OpenProfilePickerAndClosePanel_ParamsSpec = { $: {} };
export const PageHandler_OpenDisabledByAdminLinkAndClosePanel_ParamsSpec = { $: {} };
export const PageHandler_SignInAndClosePanel_ParamsSpec = { $: {} };
export const PageHandler_ResizeWidget_ParamsSpec = { $: {} };
export const PageHandler_ResizeWidget_ResponseParamsSpec = { $: {} };
export const PageHandler_EnableDragResize_ParamsSpec = { $: {} };
export const PageHandler_WebUiStateChanged_ParamsSpec = { $: {} };
export const PinCandidatesObserver_OnPinCandidatesChanged_ParamsSpec = { $: {} };
export const ActorClient_RequestToShowCredentialSelectionDialog_ParamsSpec = { $: {} };
export const ActorClient_RequestToShowCredentialSelectionDialog_ResponseParamsSpec = { $: {} };
export const ActorClient_RequestToShowAutofillSuggestionsDialog_ParamsSpec = { $: {} };
export const ActorClient_RequestToShowAutofillSuggestionsDialog_ResponseParamsSpec = { $: {} };
export const ActorClient_RequestToShowUserConfirmationDialog_ParamsSpec = { $: {} };
export const ActorClient_RequestToShowUserConfirmationDialog_ResponseParamsSpec = { $: {} };
export const ActorClient_RequestToConfirmNavigation_ParamsSpec = { $: {} };
export const ActorClient_RequestToConfirmNavigation_ResponseParamsSpec = { $: {} };
export const ActorClient_NotifyActorTaskStateChanged_ParamsSpec = { $: {} };
export const ActorClient_RequestToShowGmailOtpOptInDialog_ParamsSpec = { $: {} };
export const ActorClient_RequestToShowGmailOtpOptInDialog_ResponseParamsSpec = { $: {} };
export const ActorHandler_AutofillSuggestionDialogOnFormPresented_ParamsSpec = { $: {} };
export const ActorHandler_AutofillSuggestionDialogOnFormPreviewChanged_ParamsSpec = { $: {} };
export const ActorHandler_AutofillSuggestionDialogOnFormConfirmed_ParamsSpec = { $: {} };
export const ActorHandler_GetContextForActorFromTab_ParamsSpec = { $: {} };
export const ActorHandler_GetContextForActorFromTab_ResponseParamsSpec = { $: {} };
export const ActorHandler_CreateTask_ParamsSpec = { $: {} };
export const ActorHandler_CreateTask_ResponseParamsSpec = { $: {} };
export const ActorHandler_PerformActions_ParamsSpec = { $: {} };
export const ActorHandler_PerformActions_ResponseParamsSpec = { $: {} };
export const ActorHandler_CancelActions_ParamsSpec = { $: {} };
export const ActorHandler_CancelActions_ResponseParamsSpec = { $: {} };
export const ActorHandler_StopActorTask_ParamsSpec = { $: {} };
export const ActorHandler_PauseActorTask_ParamsSpec = { $: {} };
export const ActorHandler_ResumeActorTask_ParamsSpec = { $: {} };
export const ActorHandler_ResumeActorTask_ResponseParamsSpec = { $: {} };
export const ActorHandler_InterruptActorTask_ParamsSpec = { $: {} };
export const ActorHandler_UninterruptActorTask_ParamsSpec = { $: {} };
export const ActorHandler_CreateActorTab_ParamsSpec = { $: {} };
export const ActorHandler_CreateActorTab_ResponseParamsSpec = { $: {} };
export const ActorHandler_LogBeginAsyncEvent_ParamsSpec = { $: {} };
export const ActorHandler_LogEndAsyncEvent_ParamsSpec = { $: {} };
export const ActorHandler_LogInstantEvent_ParamsSpec = { $: {} };
export const ActorHandler_JournalClear_ParamsSpec = { $: {} };
export const ActorHandler_JournalSnapshot_ParamsSpec = { $: {} };
export const ActorHandler_JournalSnapshot_ResponseParamsSpec = { $: {} };
export const ActorHandler_JournalStart_ParamsSpec = { $: {} };
export const ActorHandler_JournalStop_ParamsSpec = { $: {} };
export const ActorHandler_JournalRecordFeedback_ParamsSpec = { $: {} };
export const AnnotationHandler_ScrollTo_ParamsSpec = { $: {} };
export const AnnotationHandler_ScrollTo_ResponseParamsSpec = { $: {} };
export const AnnotationHandler_DropScrollToHighlight_ParamsSpec = { $: {} };
export const WebClientHandler_WebClientCreated_ParamsSpec = { $: {} };
export const WebClientHandler_WebClientCreated_ResponseParamsSpec = { $: {} };
export const WebClientHandler_WebClientInitialized_ParamsSpec = { $: {} };
export const WebClientHandler_WebClientInitializeFailed_ParamsSpec = { $: {} };
export const WebClientHandler_CreateActorHandler_ParamsSpec = { $: {} };
export const WebClientHandler_CreateAnnotationHandler_ParamsSpec = { $: {} };
export const WebClientHandler_CreateTab_ParamsSpec = { $: {} };
export const WebClientHandler_CreateTab_ResponseParamsSpec = { $: {} };
export const WebClientHandler_ActivateTabWithUrl_ParamsSpec = { $: {} };
export const WebClientHandler_ActivateTabWithUrl_ResponseParamsSpec = { $: {} };
export const WebClientHandler_OpenLinkInPopup_ParamsSpec = { $: {} };
export const WebClientHandler_OpenGlicSettingsPage_ParamsSpec = { $: {} };
export const WebClientHandler_OpenPasswordManagerSettingsPage_ParamsSpec = { $: {} };
export const WebClientHandler_ClosePanel_ParamsSpec = { $: {} };
export const WebClientHandler_ClosePanelAndShutdown_ParamsSpec = { $: {} };
export const WebClientHandler_AttachPanel_ParamsSpec = { $: {} };
export const WebClientHandler_DetachPanel_ParamsSpec = { $: {} };
export const WebClientHandler_OnModeChange_ParamsSpec = { $: {} };
export const WebClientHandler_OnMicrophoneStatusChange_ParamsSpec = { $: {} };
export const WebClientHandler_ShowProfilePicker_ParamsSpec = { $: {} };
export const WebClientHandler_GetModelQualityClientId_ParamsSpec = { $: {} };
export const WebClientHandler_GetModelQualityClientId_ResponseParamsSpec = { $: {} };
export const WebClientHandler_GetContextFromFocusedTab_ParamsSpec = { $: {} };
export const WebClientHandler_GetContextFromFocusedTab_ResponseParamsSpec = { $: {} };
export const WebClientHandler_GetContextFromTab_ParamsSpec = { $: {} };
export const WebClientHandler_GetContextFromTab_ResponseParamsSpec = { $: {} };
export const WebClientHandler_GetImageBytesFromTab_ParamsSpec = { $: {} };
export const WebClientHandler_GetImageBytesFromTab_ResponseParamsSpec = { $: {} };
export const WebClientHandler_SetMaximumNumberOfPinnedTabs_ParamsSpec = { $: {} };
export const WebClientHandler_SetMaximumNumberOfPinnedTabs_ResponseParamsSpec = { $: {} };
export const WebClientHandler_PinTabs_ParamsSpec = { $: {} };
export const WebClientHandler_PinTabs_ResponseParamsSpec = { $: {} };
export const WebClientHandler_UnpinTabs_ParamsSpec = { $: {} };
export const WebClientHandler_UnpinTabs_ResponseParamsSpec = { $: {} };
export const WebClientHandler_UnpinAllTabs_ParamsSpec = { $: {} };
export const WebClientHandler_CreateSkill_ParamsSpec = { $: {} };
export const WebClientHandler_CreateSkill_ResponseParamsSpec = { $: {} };
export const WebClientHandler_UpdateSkill_ParamsSpec = { $: {} };
export const WebClientHandler_UpdateSkill_ResponseParamsSpec = { $: {} };
export const WebClientHandler_ShowManageSkillsUi_ParamsSpec = { $: {} };
export const WebClientHandler_ShowBrowseSkillsUi_ParamsSpec = { $: {} };
export const WebClientHandler_GetSkill_ParamsSpec = { $: {} };
export const WebClientHandler_GetSkill_ResponseParamsSpec = { $: {} };
export const WebClientHandler_RecordSkillsWebClientEvent_ParamsSpec = { $: {} };
export const WebClientHandler_SubscribeToPinCandidates_ParamsSpec = { $: {} };
export const WebClientHandler_ActivateTab_ParamsSpec = { $: {} };
export const WebClientHandler_ResizeWidget_ParamsSpec = { $: {} };
export const WebClientHandler_ResizeWidget_ResponseParamsSpec = { $: {} };
export const WebClientHandler_CaptureScreenshot_ParamsSpec = { $: {} };
export const WebClientHandler_CaptureScreenshot_ResponseParamsSpec = { $: {} };
export const WebClientHandler_CaptureRegion_ParamsSpec = { $: {} };
export const WebClientHandler_DeleteCapturedRegion_ParamsSpec = { $: {} };
export const WebClientHandler_SetAudioDucking_ParamsSpec = { $: {} };
export const WebClientHandler_SetAudioDucking_ResponseParamsSpec = { $: {} };
export const WebClientHandler_SetMinimumPanelSize_ParamsSpec = { $: {} };
export const WebClientHandler_SetMicrophonePermissionState_ParamsSpec = { $: {} };
export const WebClientHandler_SetMicrophonePermissionState_ResponseParamsSpec = { $: {} };
export const WebClientHandler_SetLocationPermissionState_ParamsSpec = { $: {} };
export const WebClientHandler_SetLocationPermissionState_ResponseParamsSpec = { $: {} };
export const WebClientHandler_SetTabContextPermissionState_ParamsSpec = { $: {} };
export const WebClientHandler_SetTabContextPermissionState_ResponseParamsSpec = { $: {} };
export const WebClientHandler_SetClosedCaptioningSetting_ParamsSpec = { $: {} };
export const WebClientHandler_SetClosedCaptioningSetting_ResponseParamsSpec = { $: {} };
export const WebClientHandler_SetActuationOnWebSetting_ParamsSpec = { $: {} };
export const WebClientHandler_SetActuationOnWebSetting_ResponseParamsSpec = { $: {} };
export const WebClientHandler_ShouldAllowMediaPermissionRequest_ParamsSpec = { $: {} };
export const WebClientHandler_ShouldAllowMediaPermissionRequest_ResponseParamsSpec = { $: {} };
export const WebClientHandler_ShouldAllowGeolocationPermissionRequest_ParamsSpec = { $: {} };
export const WebClientHandler_ShouldAllowGeolocationPermissionRequest_ResponseParamsSpec = { $: {} };
export const WebClientHandler_SetContextAccessIndicator_ParamsSpec = { $: {} };
export const WebClientHandler_GetUserProfileInfo_ParamsSpec = { $: {} };
export const WebClientHandler_GetUserProfileInfo_ResponseParamsSpec = { $: {} };
export const WebClientHandler_SyncCookies_ParamsSpec = { $: {} };
export const WebClientHandler_SyncCookies_ResponseParamsSpec = { $: {} };
export const WebClientHandler_ClientErrorDialogStateChanged_ParamsSpec = { $: {} };
export const WebClientHandler_ReportClientTransientError_ParamsSpec = { $: {} };
export const WebClientHandler_ProcessCounterAbuseVerdict_ParamsSpec = { $: {} };
export const WebClientHandler_OnOptinImpression_ParamsSpec = { $: {} };
export const WebClientHandler_OnUserInputSubmitted_ParamsSpec = { $: {} };
export const WebClientHandler_OnContextUploadStarted_ParamsSpec = { $: {} };
export const WebClientHandler_OnContextUploadCompleted_ParamsSpec = { $: {} };
export const WebClientHandler_OnReaction_ParamsSpec = { $: {} };
export const WebClientHandler_OnResponseStarted_ParamsSpec = { $: {} };
export const WebClientHandler_OnResponseStopped_ParamsSpec = { $: {} };
export const WebClientHandler_OnSessionTerminated_ParamsSpec = { $: {} };
export const WebClientHandler_OnTurnCompleted_ParamsSpec = { $: {} };
export const WebClientHandler_OnResponseRated_ParamsSpec = { $: {} };
export const WebClientHandler_OnClosedCaptionsShown_ParamsSpec = { $: {} };
export const WebClientHandler_OnActionSubmitted_ParamsSpec = { $: {} };
export const WebClientHandler_SetSyntheticExperimentState_ParamsSpec = { $: {} };
export const WebClientHandler_OpenOsPermissionSettingsMenu_ParamsSpec = { $: {} };
export const WebClientHandler_GetOsMicrophonePermissionStatus_ParamsSpec = { $: {} };
export const WebClientHandler_GetOsMicrophonePermissionStatus_ResponseParamsSpec = { $: {} };
export const WebClientHandler_GetZeroStateSuggestionsAndSubscribe_ParamsSpec = { $: {} };
export const WebClientHandler_GetZeroStateSuggestionsAndSubscribe_ResponseParamsSpec = { $: {} };
export const WebClientHandler_GetZeroStateSuggestionsForFocusedTab_ParamsSpec = { $: {} };
export const WebClientHandler_GetZeroStateSuggestionsForFocusedTab_ResponseParamsSpec = { $: {} };
export const WebClientHandler_MaybeRefreshUserStatus_ParamsSpec = { $: {} };
export const WebClientHandler_IsDebuggerAttached_ParamsSpec = { $: {} };
export const WebClientHandler_IsDebuggerAttached_ResponseParamsSpec = { $: {} };
export const WebClientHandler_SubscribeToPageMetadata_ParamsSpec = { $: {} };
export const WebClientHandler_SubscribeToPageMetadata_ResponseParamsSpec = { $: {} };
export const WebClientHandler_SwitchConversation_ParamsSpec = { $: {} };
export const WebClientHandler_SwitchConversation_ResponseParamsSpec = { $: {} };
export const WebClientHandler_RegisterConversation_ParamsSpec = { $: {} };
export const WebClientHandler_RegisterConversation_ResponseParamsSpec = { $: {} };
export const WebClientHandler_SetOnboardingCompleted_ParamsSpec = { $: {} };
export const WebClientHandler_SubscribeToTabData_ParamsSpec = { $: {} };
export const WebClientHandler_SubscribeToTabFavicon_ParamsSpec = { $: {} };
export const TabDataHandler_OnTabDataChanged_ParamsSpec = { $: {} };
export const TabFaviconHandler_OnTabFaviconChanged_ParamsSpec = { $: {} };
export const ExperimentalTriggeringUpdatesHandler_OnUpdate_ParamsSpec = { $: {} };
export const WebClient_NotifyPanelWillOpen_ParamsSpec = { $: {} };
export const WebClient_NotifyPanelWillOpen_ResponseParamsSpec = { $: {} };
export const WebClient_NotifyPanelWasClosed_ParamsSpec = { $: {} };
export const WebClient_NotifyPanelWasClosed_ResponseParamsSpec = { $: {} };
export const WebClient_NotifyPanelStateChange_ParamsSpec = { $: {} };
export const WebClient_NotifyPanelActiveChange_ParamsSpec = { $: {} };
export const WebClient_NotifyPanelCanAttachChange_ParamsSpec = { $: {} };
export const WebClient_NotifyMicrophonePermissionStateChanged_ParamsSpec = { $: {} };
export const WebClient_StopMicrophone_ParamsSpec = { $: {} };
export const WebClient_StopMicrophone_ResponseParamsSpec = { $: {} };
export const WebClient_NotifyLocationPermissionStateChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyTabContextPermissionStateChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyOsLocationPermissionStateChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyFocusedTabChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyManualResizeChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyOsHotkeyStateChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyBrowserIsOpenChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyInstanceActivationChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyClosedCaptioningSettingChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyPinnedTabsChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyPinnedTabDataChanged_ParamsSpec = { $: {} };
export const WebClient_NotifySkillDeleted_ParamsSpec = { $: {} };
export const WebClient_NotifySkillPreviewChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyContextualSkillPreviewsChanged_ParamsSpec = { $: {} };
export const WebClient_NotifySkillPreviewsChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyZeroStateSuggestionsChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyPageMetadataChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyDefaultTabContextPermissionStateChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyAdditionalContext_ParamsSpec = { $: {} };
export const WebClient_NotifyActuationOnWebSettingChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyActOnWebCapabilityChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyOnboardingCompletedChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyGeminiEnterpriseSettingsChanged_ParamsSpec = { $: {} };
export const WebClient_NotifyActorTaskListRowClicked_ParamsSpec = { $: {} };
export const WebClient_Invoke_ParamsSpec = { $: {} };
export const WebClient_Invoke_ResponseParamsSpec = { $: {} };
export const WebClient_GetExperimentalTriggeringUpdates_ParamsSpec = { $: {} };
export const WebClient_GetExperimentalTriggeringUpdates_ResponseParamsSpec = { $: {} };
export const CaptureRegionObserver_OnUpdate_ParamsSpec = { $: {} };
export const InvokeConversationSelectionSpec = { $: {} };
export const InvokeTargetSurfaceSpec = { $: {} };
export const GetContextResultSpec = { $: {} };
export const CaptureScreenshotResultSpec = { $: {} };
export const ScrollToSelectorSpec = { $: {} };
export const InvocationPayloadSpec = { $: {} };
export const AdditionalContextPartSpec = { $: {} };
export const FocusedTabDataSpec = { $: {} };
export const CapturedRegionSpec = { $: {} };
export const GetImageBytesResultSpec = { $: {} };
export const ActorHandler_CreateTask_ResponseParam_ResultSpec = { $: {} };
export const ActorHandler_PerformActions_ResponseParam_ResultSpec = { $: {} };
mojo.internal.Struct(GeminiEnterpriseSettingsSpec.$, 'GeminiEnterpriseSettings', [
    mojo.internal.StructField('projectId', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('appId', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('location', 16, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 32],]);
mojo.internal.Struct(ProfileEnablementSpec.$, 'ProfileEnablement', [
    mojo.internal.StructField('featureEnabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('isRegularProfile', 0, 1, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('isRolledOut', 0, 2, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('primaryAccountIsCapable', 0, 3, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('primaryAccountIsFullySignedIn', 0, 4, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('allowedByChromePolicy', 0, 5, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('allowedByRemoteAdmin', 0, 6, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('allowedByRemoteOther', 0, 7, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('freIsConsented', 1, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('allowedByCountryFilter', 1, 1, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('allowedByLocaleFilter', 1, 2, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('actuationIsConsented', 1, 3, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('liveAllowed', 1, 4, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('shareImageAllowed', 1, 5, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('geminiEnterpriseSettings', 8, 0, GeminiEnterpriseSettingsSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('actuationEligibility', 4, 0, ActuationEligibilitySpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('glicApiActuationEligibility', 16, 0, ActuationEligibilitySpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 32],]);
mojo.internal.Struct(ConfigInfoSpec.$, 'ConfigInfo', [
    mojo.internal.StructField('guestUrl', 0, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('autopushGuestUrl', 8, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('stagingGuestUrl', 16, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('preprodGuestUrl', 24, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('prodGuestUrl', 32, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('webContinuityOriginatingHostUrl', 40, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 56],]);
mojo.internal.Struct(DefaultConversationSpec.$, 'DefaultConversation', [], [[0, 8],]);
mojo.internal.Struct(NewConversationSpec.$, 'NewConversation', [], [[0, 8],]);
mojo.internal.Struct(DefaultSurfaceMojoSpec.$, 'DefaultSurfaceMojo', [], [[0, 8],]);
mojo.internal.Struct(NewTabMojoSpec.$, 'NewTabMojo', [
    mojo.internal.StructField('openInForeground', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ZssConfigSpec.$, 'ZssConfig', [
    mojo.internal.StructField('additionalContent', 0, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(GetContextResultWithActionResultCodeSpec.$, 'GetContextResultWithActionResultCode', [
    mojo.internal.StructField('getContextResult', 0, 0, GetContextResultSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('action_result_$flag', 16, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "action_result_$value",
        originalFieldName: "actionResult",
    }, undefined),
    mojo.internal.StructField('action_result_$value', 20, 0, mojo.internal.Int32, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "actionResult",
    }, undefined),
], [[0, 32],]);
mojo.internal.Struct(UserProfileInfoSpec.$, 'UserProfileInfo', [
    mojo.internal.StructField('avatarIcon', 0, 0, skia_mojom_BitmapN32Spec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('displayName', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('localProfileName', 16, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('email', 24, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('givenName', 32, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('isManaged', 40, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 56],]);
mojo.internal.Struct(SafeBrowsingVerdictResultSpec.$, 'SafeBrowsingVerdictResult', [
    mojo.internal.StructField('url', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('threatType', 8, 0, SbThreatTypeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('showInterstitial', 12, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(CounterAbuseVerdictSpec.$, 'CounterAbuseVerdict', [
    mojo.internal.StructField('sbVerdictResult', 0, 0, SafeBrowsingVerdictResultSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientInitialStateSpec.$, 'WebClientInitialState', [
    mojo.internal.StructField('panelState', 0, 0, PanelStateSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('focusedTabData', 8, 0, FocusedTabDataSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('microphonePermissionEnabled', 24, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('locationPermissionEnabled', 24, 1, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('tabContextPermissionEnabled', 24, 2, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('osLocationPermissionEnabled', 24, 3, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('hotkey', 32, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('chromeVersion', 40, 0, mojoBase_mojom_VersionSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('platform', 28, 0, PlatformSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('formFactor', 48, 0, FormFactorSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('canAttach', 24, 4, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('panelIsActive', 24, 5, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('browserIsOpen', 24, 6, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('instanceIsActive', 24, 7, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableZeroStateSuggestions', 25, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableCachedGetUserProfileInfo', 25, 1, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableActInFocusedTab', 25, 2, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableScrollTo', 25, 3, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableDefaultTabContextSettingFeature', 25, 4, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('defaultTabContextSettingEnabled', 25, 5, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('closedCaptioningSettingEnabled', 25, 6, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableMaybeRefreshUserStatus', 25, 7, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableMultiTab', 26, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableGetContextActor', 26, 1, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('hostCapabilities', 56, 0, mojo.internal.Array(HostCapabilitySpec.$, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableGetPageMetadata', 26, 2, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableCaptureRegion', 26, 3, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableWebActuationSettingFeature', 26, 4, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('actuationOnWebSettingEnabled', 26, 5, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('canActOnWeb', 26, 6, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableActivateTab', 26, 7, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableGetTabById', 27, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableOpenPasswordManagerSettingsPage', 27, 1, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableTrustFirstOnboarding', 27, 2, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('onboardingCompleted', 27, 3, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableSkills', 27, 4, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableGetTabFaviconById', 27, 5, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableProcessCounterAbuseVerdict', 27, 6, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('geminiEnterpriseSettings', 64, 0, GeminiEnterpriseSettingsSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('enableGmailOtpOptIn', 27, 7, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 80],]);
mojo.internal.Struct(ScreenshotCollectionOptionsSpec.$, 'ScreenshotCollectionOptions', [
    mojo.internal.StructField('maxWidth', 0, 0, mojo.internal.Uint32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('maxHeight', 4, 0, mojo.internal.Uint32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('screenshotImageFormat', 8, 0, ScreenshotImageFormatSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('screenshotCompressionQuality', 12, 0, ScreenshotCompressionQualitySpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(GetTabContextOptionsSpec.$, 'GetTabContextOptions', [
    mojo.internal.StructField('includeInnerText', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('innerTextBytesLimit', 4, 0, mojo.internal.Uint32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('includeViewportScreenshot', 0, 1, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('includeAnnotatedPageContent', 0, 2, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('maxMetaTags', 8, 0, mojo.internal.Uint32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('includePdf', 0, 3, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('pdfSizeLimit', 12, 0, mojo.internal.Uint32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('annotatedPageContentMode', 16, 0, mojo.internal.Uint32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('screenshotCollectionOptions', 24, 0, ScreenshotCollectionOptionsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 40],]);
mojo.internal.Struct(GetPinCandidatesOptionsSpec.$, 'GetPinCandidatesOptions', [
    mojo.internal.StructField('maxCandidates', 0, 0, mojo.internal.Uint32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('query', 8, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ScrollToParamsSpec.$, 'ScrollToParams', [
    mojo.internal.StructField('selector', 0, 0, ScrollToSelectorSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('highlight', 16, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('documentId', 24, 0, mojoBase_mojom_UnguessableTokenSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('url', 32, 0, url_mojom_UrlSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 48],]);
mojo.internal.Struct(ScrollToTextSelectorSpec.$, 'ScrollToTextSelector', [
    mojo.internal.StructField('text', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('search_range_start_node_id_$flag', 8, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "search_range_start_node_id_$value",
        originalFieldName: "searchRangeStartNodeId",
    }, undefined),
    mojo.internal.StructField('search_range_start_node_id_$value', 12, 0, mojo.internal.Int32, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "searchRangeStartNodeId",
    }, undefined),
], [[0, 24],]);
mojo.internal.Struct(ScrollToTextFragmentSelectorSpec.$, 'ScrollToTextFragmentSelector', [
    mojo.internal.StructField('textStart', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('textEnd', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('search_range_start_node_id_$flag', 16, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "search_range_start_node_id_$value",
        originalFieldName: "searchRangeStartNodeId",
    }, undefined),
    mojo.internal.StructField('search_range_start_node_id_$value', 20, 0, mojo.internal.Int32, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "searchRangeStartNodeId",
    }, undefined),
], [[0, 32],]);
mojo.internal.Struct(ScrollToNodeSelectorSpec.$, 'ScrollToNodeSelector', [
    mojo.internal.StructField('nodeId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(SuggestionContentSpec.$, 'SuggestionContent', [
    mojo.internal.StructField('suggestion', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(SkillPreviewSpec.$, 'SkillPreview', [
    mojo.internal.StructField('id', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('name', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('icon', 16, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('source', 24, 0, SkillSourceSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('description', 32, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('curatedBy', 40, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('imageUrl', 48, 0, url_mojom_UrlSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 64],]);
mojo.internal.Struct(SkillSpec.$, 'Skill', [
    mojo.internal.StructField('preview', 0, 0, SkillPreviewSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('prompt', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('sourceSkillId', 16, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
], [[0, 32],]);
mojo.internal.Struct(CreateSkillRequestSpec.$, 'CreateSkillRequest', [
    mojo.internal.StructField('id', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('name', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('icon', 16, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('source', 24, 0, SkillSourceSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('prompt', 32, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('description', 40, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 56],]);
mojo.internal.Struct(UpdateSkillRequestSpec.$, 'UpdateSkillRequest', [
    mojo.internal.StructField('id', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ZeroStateSuggestionsSpec.$, 'ZeroStateSuggestions', [
    mojo.internal.StructField('suggestions', 0, 0, mojo.internal.Array(SuggestionContentSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('tabId', 8, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('tabUrl', 16, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 32],]);
mojo.internal.Struct(ZeroStateSuggestionsV2Spec.$, 'ZeroStateSuggestionsV2', [
    mojo.internal.StructField('suggestions', 0, 0, mojo.internal.Array(SuggestionContentSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('isPending', 8, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('invocationSource', 12, 0, InvocationSourceSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ZeroStateSuggestionsOptionsSpec.$, 'ZeroStateSuggestionsOptions', [
    mojo.internal.StructField('isFirstRun', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('supportedTools', 8, 0, mojo.internal.Array(mojo.internal.String, false), null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(PinCandidateSpec.$, 'PinCandidate', [
    mojo.internal.StructField('tabData', 0, 0, TabDataSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PinTabsOptionsSpec.$, 'PinTabsOptions', [
    mojo.internal.StructField('pinTrigger', 0, 0, PinTriggerSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(UnpinTabsOptionsSpec.$, 'UnpinTabsOptions', [
    mojo.internal.StructField('unpinTrigger', 0, 0, UnpinTriggerSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(CaptureRegionParamsSpec.$, 'CaptureRegionParams', [
    mojo.internal.StructField('tabId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('options', 8, 0, GetTabContextOptionsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActivateTabOptionsSpec.$, 'ActivateTabOptions', [
    mojo.internal.StructField('pattern', 0, 0, mojo.internal.String, "", false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('fallback_window_id_$flag', 8, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "fallback_window_id_$value",
        originalFieldName: "fallbackWindowId",
    }, undefined),
    mojo.internal.StructField('fallback_window_id_$value', 12, 0, mojo.internal.Int32, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "fallbackWindowId",
    }, undefined),
], [[0, 24],]);
mojo.internal.Struct(ConversationInfoSpec.$, 'ConversationInfo', [
    mojo.internal.StructField('conversationId', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('conversationTitle', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('clientData', 16, 0, mojoBase_mojom_ByteStringSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('turnId', 24, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
], [[0, 40],]);
mojo.internal.Struct(PanelOpeningDataSpec.$, 'PanelOpeningData', [
    mojo.internal.StructField('panelState', 0, 0, PanelStateSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('invocationSource', 8, 0, InvocationSourceSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('promptSuggestion', 16, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('autoSend', 12, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('skillToInvoke', 24, 0, SkillSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('recentlyActiveConversations', 32, 0, mojo.internal.Array(ConversationInfoSpec.$, false), null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('conversationInfo', 40, 0, ConversationInfoSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('freOverride', 48, 0, FreOverrideSpec.$, FreOverride.kUnspecified, false /* nullable */, 0, undefined, undefined),
], [[0, 64],]);
mojo.internal.Struct(PanelStateSpec.$, 'PanelState', [
    mojo.internal.StructField('kind', 0, 0, PanelStateKindSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('window_id_$flag', 4, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "window_id_$value",
        originalFieldName: "windowId",
    }, undefined),
    mojo.internal.StructField('window_id_$value', 8, 0, mojo.internal.Int32, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "windowId",
    }, undefined),
], [[0, 24],]);
mojo.internal.Struct(UniversalCartPayloadSpec.$, 'UniversalCartPayload', [
    mojo.internal.StructField('serializedMetadata', 0, 0, mojo.internal.Array(mojo.internal.Uint8, false), null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(InvokeOptionsSpec.$, 'InvokeOptions', [
    mojo.internal.StructField('invocationSource', 0, 0, InvocationSourceSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('prompts', 8, 0, mojo.internal.Array(mojo.internal.String, false), null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('context', 16, 0, AdditionalContextSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('autoSubmit', 4, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('featureMode', 24, 0, glic_mojom_FeatureModeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('actuationTarget', 28, 0, ActuationTargetSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('disableZeroStateSuggestions', 4, 1, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('skillId', 32, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('zssConfig', 40, 0, ZssConfigSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('payload', 48, 0, InvocationPayloadSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('actuation_tab_id_$flag', 4, 2, mojo.internal.Bool, false, false /* nullable */, 1, {
        isPrimary: true,
        linkedValueFieldName: "actuation_tab_id_$value",
        originalFieldName: "actuationTabId",
    }, undefined),
    mojo.internal.StructField('actuation_tab_id_$value', 64, 0, mojo.internal.Int32, 0, false /* nullable */, 1, {
        isPrimary: false,
        originalFieldName: "actuationTabId",
    }, undefined),
], [[0, 72], [1, 80],]);
mojo.internal.Struct(OnResponseStoppedDetailsSpec.$, 'OnResponseStoppedDetails', [
    mojo.internal.StructField('cause', 0, 0, ResponseStopCauseSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(OpenPanelInfoSpec.$, 'OpenPanelInfo', [
    mojo.internal.StructField('webClientMode', 0, 0, WebClientModeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('panelSize', 8, 0, gfx_mojom_SizeSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('resizeDuration', 16, 0, mojoBase_mojom_TimeDeltaSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('canUserResize', 4, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 32],]);
mojo.internal.Struct(ContextDataSpec.$, 'ContextData', [
    mojo.internal.StructField('mimeType', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('data', 8, 0, mojoBase_mojom_BigBufferSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('filename', 24, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
], [[0, 40],]);
mojo.internal.Struct(ParentConversationMetadataSpec.$, 'ParentConversationMetadata', [
    mojo.internal.StructField('conversationId', 0, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('conversationTitle', 8, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(AdditionalContextSpec.$, 'AdditionalContext', [
    mojo.internal.StructField('source', 0, 0, AdditionalContextSourceSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('name', 8, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('tab_id_$flag', 4, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "tab_id_$value",
        originalFieldName: "tabId",
    }, undefined),
    mojo.internal.StructField('tab_id_$value', 16, 0, mojo.internal.Int32, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "tabId",
    }, undefined),
    mojo.internal.StructField('origin', 24, 0, url_mojom_OriginSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('frameUrl', 32, 0, url_mojom_UrlSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('parts', 40, 0, mojo.internal.Array(AdditionalContextPartSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
], [[0, 56],]);
mojo.internal.Struct(ExperimentalTriggeringUpdateSpec.$, 'ExperimentalTriggeringUpdate', [
    mojo.internal.StructField('type', 0, 0, ExperimentalTriggeringUpdateTypeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('data', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(TabContextSpec.$, 'TabContext', [
    mojo.internal.StructField('tabData', 0, 0, TabDataSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('webPageData', 8, 0, WebPageDataSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('viewportScreenshot', 16, 0, ScreenshotSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('screenshotInfo', 24, 0, mojoBase_mojom_ProtoWrapperSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('pdfDocumentData', 32, 0, PdfDocumentDataSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('annotatedPageData', 40, 0, AnnotatedPageDataSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 56],]);
mojo.internal.Struct(WebPageDataSpec.$, 'WebPageData', [
    mojo.internal.StructField('mainDocument', 0, 0, DocumentDataSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(DocumentDataSpec.$, 'DocumentData', [
    mojo.internal.StructField('origin', 0, 0, url_mojom_OriginSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('innerText', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('innerTextTruncated', 16, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 32],]);
mojo.internal.Struct(PdfDocumentDataSpec.$, 'PdfDocumentData', [
    mojo.internal.StructField('origin', 0, 0, url_mojom_OriginSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('pdfData', 8, 0, mojo.internal.Array(mojo.internal.Uint8, false), null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('sizeLimitExceeded', 16, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 32],]);
mojo.internal.Struct(TabDataSpec.$, 'TabData', [
    mojo.internal.StructField('tabId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('windowId', 4, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('url', 8, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('title', 16, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('favicon', 24, 0, skia_mojom_BitmapN32Spec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('faviconUrl', 32, 0, url_mojom_UrlSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('documentMimeType', 40, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('is_observable_$flag', 48, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "is_observable_$value",
        originalFieldName: "isObservable",
    }, undefined),
    mojo.internal.StructField('is_observable_$value', 48, 1, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "isObservable",
    }, undefined),
    mojo.internal.StructField('is_media_active_$flag', 48, 2, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "is_media_active_$value",
        originalFieldName: "isMediaActive",
    }, undefined),
    mojo.internal.StructField('is_media_active_$value', 48, 3, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "isMediaActive",
    }, undefined),
    mojo.internal.StructField('is_tab_content_captured_$flag', 48, 4, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "is_tab_content_captured_$value",
        originalFieldName: "isTabContentCaptured",
    }, undefined),
    mojo.internal.StructField('is_tab_content_captured_$value', 48, 5, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "isTabContentCaptured",
    }, undefined),
    mojo.internal.StructField('is_active_in_window_$flag', 48, 6, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "is_active_in_window_$value",
        originalFieldName: "isActiveInWindow",
    }, undefined),
    mojo.internal.StructField('is_active_in_window_$value', 48, 7, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "isActiveInWindow",
    }, undefined),
    mojo.internal.StructField('is_window_active_$flag', 49, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "is_window_active_$value",
        originalFieldName: "isWindowActive",
    }, undefined),
    mojo.internal.StructField('is_window_active_$value', 49, 1, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "isWindowActive",
    }, undefined),
    mojo.internal.StructField('lightweightPageFeatures', 56, 0, mojo.internal.Array(LightweightPageFeatureSpec.$, false), null, true /* nullable */, 0, undefined, undefined),
], [[0, 72],]);
mojo.internal.Struct(NoFocusedTabDataSpec.$, 'NoFocusedTabData', [
    mojo.internal.StructField('activeTabData', 0, 0, TabDataSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('noFocusReason', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(AnnotatedPageDataSpec.$, 'AnnotatedPageData', [
    mojo.internal.StructField('annotatedPageContent', 0, 0, mojoBase_mojom_ProtoWrapperSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('metadata', 8, 0, blink_mojom_PageMetadataSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ImageOriginAnnotationsSpec.$, 'ImageOriginAnnotations', [], [[0, 8],]);
mojo.internal.Struct(JournalSpec.$, 'Journal', [
    mojo.internal.StructField('data', 0, 0, mojo.internal.Array(mojo.internal.Uint8, false), null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PendingCapturedRegionSpec.$, 'PendingCapturedRegion', [
    mojo.internal.StructField('id', 0, 0, mojoBase_mojom_UnguessableTokenSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('region', 8, 0, CapturedRegionSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 32],]);
mojo.internal.Struct(CaptureRegionResultSpec.$, 'CaptureRegionResult', [
    mojo.internal.StructField('tabId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('region', 8, 0, CapturedRegionSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 32],]);
mojo.internal.Struct(ScreenshotSpec.$, 'Screenshot', [
    mojo.internal.StructField('widthPixels', 0, 0, mojo.internal.Uint32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('heightPixels', 4, 0, mojo.internal.Uint32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('data', 8, 0, mojo.internal.Array(mojo.internal.Uint8, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('mimeType', 16, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('originAnnotations', 24, 0, ImageOriginAnnotationsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 40],]);
mojo.internal.Struct(ImageInfoSpec.$, 'ImageInfo', [
    mojo.internal.StructField('caption', 0, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('sourceOrigin', 8, 0, url_mojom_OriginSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('url', 16, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('mimeType', 24, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
], [[0, 40],]);
mojo.internal.Struct(ImageBytesResultSpec.$, 'ImageBytesResult', [
    mojo.internal.StructField('bytes', 0, 0, mojoBase_mojom_BigBufferSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('imageInfo', 16, 0, ImageInfoSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 32],]);
mojo.internal.Struct(OpenSettingsOptionsSpec.$, 'OpenSettingsOptions', [
    mojo.internal.StructField('highlightField', 0, 0, SettingsPageFieldSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PreloadPage_SetProfileReadyState_ParamsSpec.$, 'PreloadPage_SetProfileReadyState_Params', [
    mojo.internal.StructField('readyState', 0, 0, ProfileReadyStateSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(Page_IntentToShow_ParamsSpec.$, 'Page_IntentToShow_Params', [], [[0, 8],]);
mojo.internal.Struct(Page_SetProfileReadyState_ParamsSpec.$, 'Page_SetProfileReadyState_Params', [
    mojo.internal.StructField('readyState', 0, 0, ProfileReadyStateSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(Page_UpdatePageState_ParamsSpec.$, 'Page_UpdatePageState_Params', [
    mojo.internal.StructField('panelStateKind', 0, 0, PanelStateKindSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(Page_Zoom_ParamsSpec.$, 'Page_Zoom_Params', [
    mojo.internal.StructField('action', 0, 0, ZoomActionSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(GlicPreloadHandler_PrepareForClient_ParamsSpec.$, 'GlicPreloadHandler_PrepareForClient_Params', [], [[0, 8],]);
mojo.internal.Struct(GlicPreloadHandler_PrepareForClient_ResponseParamsSpec.$, 'GlicPreloadHandler_PrepareForClient_ResponseParams', [
    mojo.internal.StructField('result', 0, 0, PrepareForClientResultSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(GlicPreloadHandlerFactory_CreatePreloadHandler_ParamsSpec.$, 'GlicPreloadHandlerFactory_CreatePreloadHandler_Params', [
    mojo.internal.StructField('receiver', 0, 0, mojo.internal.InterfaceRequest(GlicPreloadHandlerPendingReceiver), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('page', 4, 0, mojo.internal.InterfaceProxy(PreloadPageRemote), null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(PageHandlerFactory_CreatePageHandler_ParamsSpec.$, 'PageHandlerFactory_CreatePageHandler_Params', [
    mojo.internal.StructField('receiver', 0, 0, mojo.internal.InterfaceRequest(PageHandlerPendingReceiver), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('page', 4, 0, mojo.internal.InterfaceProxy(PageRemote), null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(PageHandlerFactory_CreatePageHandler_ResponseParamsSpec.$, 'PageHandlerFactory_CreatePageHandler_ResponseParams', [
    mojo.internal.StructField('instanceId', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PageHandler_CreateWebClient_ParamsSpec.$, 'PageHandler_CreateWebClient_Params', [
    mojo.internal.StructField('webClientReceiver', 0, 0, mojo.internal.InterfaceRequest(WebClientHandlerPendingReceiver), null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PageHandler_PrepareForClient_ParamsSpec.$, 'PageHandler_PrepareForClient_Params', [], [[0, 8],]);
mojo.internal.Struct(PageHandler_PrepareForClient_ResponseParamsSpec.$, 'PageHandler_PrepareForClient_ResponseParams', [
    mojo.internal.StructField('result', 0, 0, PrepareForClientResultSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PageHandler_WebviewCommitted_ParamsSpec.$, 'PageHandler_WebviewCommitted_Params', [
    mojo.internal.StructField('url', 0, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PageHandler_OnZoomLevelChange_ParamsSpec.$, 'PageHandler_OnZoomLevelChange_Params', [
    mojo.internal.StructField('zoomFactor', 0, 0, mojo.internal.Double, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PageHandler_ClosePanel_ParamsSpec.$, 'PageHandler_ClosePanel_Params', [], [[0, 8],]);
mojo.internal.Struct(PageHandler_ClosePanel_ResponseParamsSpec.$, 'PageHandler_ClosePanel_ResponseParams', [], [[0, 8],]);
mojo.internal.Struct(PageHandler_OpenHelpCenterTopicAndClosePanel_ParamsSpec.$, 'PageHandler_OpenHelpCenterTopicAndClosePanel_Params', [
    mojo.internal.StructField('topic', 0, 0, HelpCenterTopicSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PageHandler_OpenProfilePickerAndClosePanel_ParamsSpec.$, 'PageHandler_OpenProfilePickerAndClosePanel_Params', [], [[0, 8],]);
mojo.internal.Struct(PageHandler_OpenDisabledByAdminLinkAndClosePanel_ParamsSpec.$, 'PageHandler_OpenDisabledByAdminLinkAndClosePanel_Params', [], [[0, 8],]);
mojo.internal.Struct(PageHandler_SignInAndClosePanel_ParamsSpec.$, 'PageHandler_SignInAndClosePanel_Params', [], [[0, 8],]);
mojo.internal.Struct(PageHandler_ResizeWidget_ParamsSpec.$, 'PageHandler_ResizeWidget_Params', [
    mojo.internal.StructField('size', 0, 0, gfx_mojom_SizeSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('duration', 8, 0, mojoBase_mojom_TimeDeltaSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(PageHandler_ResizeWidget_ResponseParamsSpec.$, 'PageHandler_ResizeWidget_ResponseParams', [], [[0, 8],]);
mojo.internal.Struct(PageHandler_EnableDragResize_ParamsSpec.$, 'PageHandler_EnableDragResize_Params', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PageHandler_WebUiStateChanged_ParamsSpec.$, 'PageHandler_WebUiStateChanged_Params', [
    mojo.internal.StructField('newState', 0, 0, WebUiStateSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PinCandidatesObserver_OnPinCandidatesChanged_ParamsSpec.$, 'PinCandidatesObserver_OnPinCandidatesChanged_Params', [
    mojo.internal.StructField('candidates', 0, 0, mojo.internal.Array(PinCandidateSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorClient_RequestToShowCredentialSelectionDialog_ParamsSpec.$, 'ActorClient_RequestToShowCredentialSelectionDialog_Params', [
    mojo.internal.StructField('request', 0, 0, actor_webui_mojom_SelectCredentialDialogRequestSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorClient_RequestToShowCredentialSelectionDialog_ResponseParamsSpec.$, 'ActorClient_RequestToShowCredentialSelectionDialog_ResponseParams', [
    mojo.internal.StructField('response', 0, 0, actor_webui_mojom_SelectCredentialDialogResponseSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorClient_RequestToShowAutofillSuggestionsDialog_ParamsSpec.$, 'ActorClient_RequestToShowAutofillSuggestionsDialog_Params', [
    mojo.internal.StructField('request', 0, 0, actor_webui_mojom_SelectAutofillSuggestionsDialogRequestSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorClient_RequestToShowAutofillSuggestionsDialog_ResponseParamsSpec.$, 'ActorClient_RequestToShowAutofillSuggestionsDialog_ResponseParams', [
    mojo.internal.StructField('response', 0, 0, actor_webui_mojom_SelectAutofillSuggestionsDialogResponseSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorClient_RequestToShowUserConfirmationDialog_ParamsSpec.$, 'ActorClient_RequestToShowUserConfirmationDialog_Params', [
    mojo.internal.StructField('request', 0, 0, actor_webui_mojom_UserConfirmationDialogRequestSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorClient_RequestToShowUserConfirmationDialog_ResponseParamsSpec.$, 'ActorClient_RequestToShowUserConfirmationDialog_ResponseParams', [
    mojo.internal.StructField('response', 0, 0, actor_webui_mojom_UserConfirmationDialogResponseSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorClient_RequestToConfirmNavigation_ParamsSpec.$, 'ActorClient_RequestToConfirmNavigation_Params', [
    mojo.internal.StructField('request', 0, 0, actor_webui_mojom_NavigationConfirmationRequestSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorClient_RequestToConfirmNavigation_ResponseParamsSpec.$, 'ActorClient_RequestToConfirmNavigation_ResponseParams', [
    mojo.internal.StructField('response', 0, 0, actor_webui_mojom_NavigationConfirmationResponseSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorClient_NotifyActorTaskStateChanged_ParamsSpec.$, 'ActorClient_NotifyActorTaskStateChanged_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('state', 4, 0, ActorTaskStateSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorClient_RequestToShowGmailOtpOptInDialog_ParamsSpec.$, 'ActorClient_RequestToShowGmailOtpOptInDialog_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorClient_RequestToShowGmailOtpOptInDialog_ResponseParamsSpec.$, 'ActorClient_RequestToShowGmailOtpOptInDialog_ResponseParams', [
    mojo.internal.StructField('result', 0, 0, actor_webui_mojom_GmailOtpOptInResultSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActorHandler_AutofillSuggestionDialogOnFormPresented_ParamsSpec.$, 'ActorHandler_AutofillSuggestionDialogOnFormPresented_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('params', 8, 0, actor_webui_mojom_AutofillSuggestionDialogOnFormPresentedParamsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActorHandler_AutofillSuggestionDialogOnFormPreviewChanged_ParamsSpec.$, 'ActorHandler_AutofillSuggestionDialogOnFormPreviewChanged_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('params', 8, 0, actor_webui_mojom_AutofillSuggestionDialogOnFormPreviewChangedParamsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActorHandler_AutofillSuggestionDialogOnFormConfirmed_ParamsSpec.$, 'ActorHandler_AutofillSuggestionDialogOnFormConfirmed_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('params', 8, 0, actor_webui_mojom_AutofillSuggestionDialogOnFormConfirmedParamsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActorHandler_GetContextForActorFromTab_ParamsSpec.$, 'ActorHandler_GetContextForActorFromTab_Params', [
    mojo.internal.StructField('tabId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('options', 8, 0, GetTabContextOptionsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActorHandler_GetContextForActorFromTab_ResponseParamsSpec.$, 'ActorHandler_GetContextForActorFromTab_ResponseParams', [
    mojo.internal.StructField('result', 0, 0, GetContextResultSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActorHandler_CreateTask_ParamsSpec.$, 'ActorHandler_CreateTask_Params', [
    mojo.internal.StructField('taskOptions', 0, 0, actor_webui_mojom_TaskOptionsSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorHandler_CreateTask_ResponseParamsSpec.$, 'ActorHandler_CreateTask_ResponseParams', [
    mojo.internal.StructField('result', 0, 0, ActorHandler_CreateTask_ResponseParam_ResultSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActorHandler_PerformActions_ParamsSpec.$, 'ActorHandler_PerformActions_Params', [
    mojo.internal.StructField('actionsProto', 0, 0, mojo.internal.Array(mojo.internal.Uint8, false), null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorHandler_PerformActions_ResponseParamsSpec.$, 'ActorHandler_PerformActions_ResponseParams', [
    mojo.internal.StructField('result', 0, 0, ActorHandler_PerformActions_ResponseParam_ResultSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActorHandler_CancelActions_ParamsSpec.$, 'ActorHandler_CancelActions_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorHandler_CancelActions_ResponseParamsSpec.$, 'ActorHandler_CancelActions_ResponseParams', [
    mojo.internal.StructField('result', 0, 0, CancelActionsResultSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorHandler_StopActorTask_ParamsSpec.$, 'ActorHandler_StopActorTask_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('stopReason', 4, 0, ActorTaskStopReasonSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorHandler_PauseActorTask_ParamsSpec.$, 'ActorHandler_PauseActorTask_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('pauseReason', 4, 0, ActorTaskPauseReasonSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('tab_id_$flag', 8, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "tab_id_$value",
        originalFieldName: "tabId",
    }, undefined),
    mojo.internal.StructField('tab_id_$value', 12, 0, mojo.internal.Int32, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "tabId",
    }, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActorHandler_ResumeActorTask_ParamsSpec.$, 'ActorHandler_ResumeActorTask_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('contextOptions', 8, 0, GetTabContextOptionsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActorHandler_ResumeActorTask_ResponseParamsSpec.$, 'ActorHandler_ResumeActorTask_ResponseParams', [
    mojo.internal.StructField('result', 0, 0, GetContextResultWithActionResultCodeSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorHandler_InterruptActorTask_ParamsSpec.$, 'ActorHandler_InterruptActorTask_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('interrupt_reason_$flag', 4, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "interrupt_reason_$value",
        originalFieldName: "interruptReason",
    }, undefined),
    mojo.internal.StructField('interrupt_reason_$value', 8, 0, ActorTaskInterruptReasonSpec.$, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "interruptReason",
    }, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActorHandler_UninterruptActorTask_ParamsSpec.$, 'ActorHandler_UninterruptActorTask_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorHandler_CreateActorTab_ParamsSpec.$, 'ActorHandler_CreateActorTab_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('openInBackground', 4, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('initiator_tab_id_$flag', 4, 1, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "initiator_tab_id_$value",
        originalFieldName: "initiatorTabId",
    }, undefined),
    mojo.internal.StructField('initiator_tab_id_$value', 8, 0, mojo.internal.Int32, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "initiatorTabId",
    }, undefined),
    mojo.internal.StructField('initiator_window_id_$flag', 4, 2, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "initiator_window_id_$value",
        originalFieldName: "initiatorWindowId",
    }, undefined),
    mojo.internal.StructField('initiator_window_id_$value', 12, 0, mojo.internal.Int32, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "initiatorWindowId",
    }, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActorHandler_CreateActorTab_ResponseParamsSpec.$, 'ActorHandler_CreateActorTab_ResponseParams', [
    mojo.internal.StructField('tabData', 0, 0, TabDataSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorHandler_LogBeginAsyncEvent_ParamsSpec.$, 'ActorHandler_LogBeginAsyncEvent_Params', [
    mojo.internal.StructField('eventAsyncId', 0, 0, mojo.internal.Uint64, BigInt(0), false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('taskId', 8, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('event', 16, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('details', 24, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 40],]);
mojo.internal.Struct(ActorHandler_LogEndAsyncEvent_ParamsSpec.$, 'ActorHandler_LogEndAsyncEvent_Params', [
    mojo.internal.StructField('eventAsyncId', 0, 0, mojo.internal.Uint64, BigInt(0), false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('details', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActorHandler_LogInstantEvent_ParamsSpec.$, 'ActorHandler_LogInstantEvent_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('event', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('details', 16, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 32],]);
mojo.internal.Struct(ActorHandler_JournalClear_ParamsSpec.$, 'ActorHandler_JournalClear_Params', [], [[0, 8],]);
mojo.internal.Struct(ActorHandler_JournalSnapshot_ParamsSpec.$, 'ActorHandler_JournalSnapshot_Params', [
    mojo.internal.StructField('clearJournal', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorHandler_JournalSnapshot_ResponseParamsSpec.$, 'ActorHandler_JournalSnapshot_ResponseParams', [
    mojo.internal.StructField('journal', 0, 0, JournalSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ActorHandler_JournalStart_ParamsSpec.$, 'ActorHandler_JournalStart_Params', [
    mojo.internal.StructField('maxBytes', 0, 0, mojo.internal.Uint64, BigInt(0), false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('captureScreenshots', 8, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ActorHandler_JournalStop_ParamsSpec.$, 'ActorHandler_JournalStop_Params', [], [[0, 8],]);
mojo.internal.Struct(ActorHandler_JournalRecordFeedback_ParamsSpec.$, 'ActorHandler_JournalRecordFeedback_Params', [
    mojo.internal.StructField('positive', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('reason', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(AnnotationHandler_ScrollTo_ParamsSpec.$, 'AnnotationHandler_ScrollTo_Params', [
    mojo.internal.StructField('params', 0, 0, ScrollToParamsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(AnnotationHandler_ScrollTo_ResponseParamsSpec.$, 'AnnotationHandler_ScrollTo_ResponseParams', [
    mojo.internal.StructField('error_reason_$flag', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "error_reason_$value",
        originalFieldName: "errorReason",
    }, undefined),
    mojo.internal.StructField('error_reason_$value', 4, 0, ScrollToErrorReasonSpec.$, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "errorReason",
    }, undefined),
], [[0, 16],]);
mojo.internal.Struct(AnnotationHandler_DropScrollToHighlight_ParamsSpec.$, 'AnnotationHandler_DropScrollToHighlight_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_WebClientCreated_ParamsSpec.$, 'WebClientHandler_WebClientCreated_Params', [
    mojo.internal.StructField('webClient', 0, 0, mojo.internal.InterfaceProxy(WebClientRemote), null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_WebClientCreated_ResponseParamsSpec.$, 'WebClientHandler_WebClientCreated_ResponseParams', [
    mojo.internal.StructField('initialState', 0, 0, WebClientInitialStateSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_WebClientInitialized_ParamsSpec.$, 'WebClientHandler_WebClientInitialized_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_WebClientInitializeFailed_ParamsSpec.$, 'WebClientHandler_WebClientInitializeFailed_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_CreateActorHandler_ParamsSpec.$, 'WebClientHandler_CreateActorHandler_Params', [
    mojo.internal.StructField('receiver', 0, 0, mojo.internal.InterfaceRequest(ActorHandlerPendingReceiver), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('client', 4, 0, mojo.internal.InterfaceProxy(ActorClientRemote), null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_CreateAnnotationHandler_ParamsSpec.$, 'WebClientHandler_CreateAnnotationHandler_Params', [
    mojo.internal.StructField('receiver', 0, 0, mojo.internal.InterfaceRequest(AnnotationHandlerPendingReceiver), null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_CreateTab_ParamsSpec.$, 'WebClientHandler_CreateTab_Params', [
    mojo.internal.StructField('url', 0, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('openInBackground', 8, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('window_id_$flag', 8, 1, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "window_id_$value",
        originalFieldName: "windowId",
    }, undefined),
    mojo.internal.StructField('window_id_$value', 12, 0, mojo.internal.Int32, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "windowId",
    }, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_CreateTab_ResponseParamsSpec.$, 'WebClientHandler_CreateTab_ResponseParams', [
    mojo.internal.StructField('tabData', 0, 0, TabDataSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_ActivateTabWithUrl_ParamsSpec.$, 'WebClientHandler_ActivateTabWithUrl_Params', [
    mojo.internal.StructField('exactUrl', 0, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('options', 8, 0, ActivateTabOptionsSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_ActivateTabWithUrl_ResponseParamsSpec.$, 'WebClientHandler_ActivateTabWithUrl_ResponseParams', [
    mojo.internal.StructField('tabData', 0, 0, TabDataSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_OpenLinkInPopup_ParamsSpec.$, 'WebClientHandler_OpenLinkInPopup_Params', [
    mojo.internal.StructField('url', 0, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('popupWidth', 8, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('popupHeight', 12, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_OpenGlicSettingsPage_ParamsSpec.$, 'WebClientHandler_OpenGlicSettingsPage_Params', [
    mojo.internal.StructField('options', 0, 0, OpenSettingsOptionsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_OpenPasswordManagerSettingsPage_ParamsSpec.$, 'WebClientHandler_OpenPasswordManagerSettingsPage_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_ClosePanel_ParamsSpec.$, 'WebClientHandler_ClosePanel_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_ClosePanelAndShutdown_ParamsSpec.$, 'WebClientHandler_ClosePanelAndShutdown_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_AttachPanel_ParamsSpec.$, 'WebClientHandler_AttachPanel_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_DetachPanel_ParamsSpec.$, 'WebClientHandler_DetachPanel_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_OnModeChange_ParamsSpec.$, 'WebClientHandler_OnModeChange_Params', [
    mojo.internal.StructField('newMode', 0, 0, WebClientModeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_OnMicrophoneStatusChange_ParamsSpec.$, 'WebClientHandler_OnMicrophoneStatusChange_Params', [
    mojo.internal.StructField('status', 0, 0, MicrophoneStatusSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_ShowProfilePicker_ParamsSpec.$, 'WebClientHandler_ShowProfilePicker_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_GetModelQualityClientId_ParamsSpec.$, 'WebClientHandler_GetModelQualityClientId_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_GetModelQualityClientId_ResponseParamsSpec.$, 'WebClientHandler_GetModelQualityClientId_ResponseParams', [
    mojo.internal.StructField('modelQualityClientId', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_GetContextFromFocusedTab_ParamsSpec.$, 'WebClientHandler_GetContextFromFocusedTab_Params', [
    mojo.internal.StructField('options', 0, 0, GetTabContextOptionsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_GetContextFromFocusedTab_ResponseParamsSpec.$, 'WebClientHandler_GetContextFromFocusedTab_ResponseParams', [
    mojo.internal.StructField('result', 0, 0, GetContextResultSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_GetContextFromTab_ParamsSpec.$, 'WebClientHandler_GetContextFromTab_Params', [
    mojo.internal.StructField('tabId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('options', 8, 0, GetTabContextOptionsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_GetContextFromTab_ResponseParamsSpec.$, 'WebClientHandler_GetContextFromTab_ResponseParams', [
    mojo.internal.StructField('result', 0, 0, GetContextResultSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_GetImageBytesFromTab_ParamsSpec.$, 'WebClientHandler_GetImageBytesFromTab_Params', [
    mojo.internal.StructField('tabId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('documentId', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('domNodeId', 4, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_GetImageBytesFromTab_ResponseParamsSpec.$, 'WebClientHandler_GetImageBytesFromTab_ResponseParams', [
    mojo.internal.StructField('result', 0, 0, GetImageBytesResultSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_SetMaximumNumberOfPinnedTabs_ParamsSpec.$, 'WebClientHandler_SetMaximumNumberOfPinnedTabs_Params', [
    mojo.internal.StructField('requestedMax', 0, 0, mojo.internal.Uint32, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SetMaximumNumberOfPinnedTabs_ResponseParamsSpec.$, 'WebClientHandler_SetMaximumNumberOfPinnedTabs_ResponseParams', [
    mojo.internal.StructField('effectiveMax', 0, 0, mojo.internal.Uint32, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_PinTabs_ParamsSpec.$, 'WebClientHandler_PinTabs_Params', [
    mojo.internal.StructField('tabIds', 0, 0, mojo.internal.Array(mojo.internal.Int32, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('options', 8, 0, PinTabsOptionsSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_PinTabs_ResponseParamsSpec.$, 'WebClientHandler_PinTabs_ResponseParams', [
    mojo.internal.StructField('pinnedAll', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_UnpinTabs_ParamsSpec.$, 'WebClientHandler_UnpinTabs_Params', [
    mojo.internal.StructField('tabIds', 0, 0, mojo.internal.Array(mojo.internal.Int32, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('options', 8, 0, UnpinTabsOptionsSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_UnpinTabs_ResponseParamsSpec.$, 'WebClientHandler_UnpinTabs_ResponseParams', [
    mojo.internal.StructField('unpinnedAll', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_UnpinAllTabs_ParamsSpec.$, 'WebClientHandler_UnpinAllTabs_Params', [
    mojo.internal.StructField('options', 0, 0, UnpinTabsOptionsSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_CreateSkill_ParamsSpec.$, 'WebClientHandler_CreateSkill_Params', [
    mojo.internal.StructField('request', 0, 0, CreateSkillRequestSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_CreateSkill_ResponseParamsSpec.$, 'WebClientHandler_CreateSkill_ResponseParams', [
    mojo.internal.StructField('modalOpened', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_UpdateSkill_ParamsSpec.$, 'WebClientHandler_UpdateSkill_Params', [
    mojo.internal.StructField('request', 0, 0, UpdateSkillRequestSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_UpdateSkill_ResponseParamsSpec.$, 'WebClientHandler_UpdateSkill_ResponseParams', [
    mojo.internal.StructField('modalOpened', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_ShowManageSkillsUi_ParamsSpec.$, 'WebClientHandler_ShowManageSkillsUi_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_ShowBrowseSkillsUi_ParamsSpec.$, 'WebClientHandler_ShowBrowseSkillsUi_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_GetSkill_ParamsSpec.$, 'WebClientHandler_GetSkill_Params', [
    mojo.internal.StructField('id', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_GetSkill_ResponseParamsSpec.$, 'WebClientHandler_GetSkill_ResponseParams', [
    mojo.internal.StructField('skill', 0, 0, SkillSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_RecordSkillsWebClientEvent_ParamsSpec.$, 'WebClientHandler_RecordSkillsWebClientEvent_Params', [
    mojo.internal.StructField('event', 0, 0, SkillsWebClientEventSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SubscribeToPinCandidates_ParamsSpec.$, 'WebClientHandler_SubscribeToPinCandidates_Params', [
    mojo.internal.StructField('options', 0, 0, GetPinCandidatesOptionsSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('observer', 8, 0, mojo.internal.InterfaceProxy(PinCandidatesObserverRemote), null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_ActivateTab_ParamsSpec.$, 'WebClientHandler_ActivateTab_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_ResizeWidget_ParamsSpec.$, 'WebClientHandler_ResizeWidget_Params', [
    mojo.internal.StructField('size', 0, 0, gfx_mojom_SizeSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('duration', 8, 0, mojoBase_mojom_TimeDeltaSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_ResizeWidget_ResponseParamsSpec.$, 'WebClientHandler_ResizeWidget_ResponseParams', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_CaptureScreenshot_ParamsSpec.$, 'WebClientHandler_CaptureScreenshot_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_CaptureScreenshot_ResponseParamsSpec.$, 'WebClientHandler_CaptureScreenshot_ResponseParams', [
    mojo.internal.StructField('result', 0, 0, CaptureScreenshotResultSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_CaptureRegion_ParamsSpec.$, 'WebClientHandler_CaptureRegion_Params', [
    mojo.internal.StructField('observer', 0, 0, mojo.internal.InterfaceProxy(CaptureRegionObserverRemote), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('params', 8, 0, CaptureRegionParamsSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_DeleteCapturedRegion_ParamsSpec.$, 'WebClientHandler_DeleteCapturedRegion_Params', [
    mojo.internal.StructField('tabId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('id', 8, 0, mojoBase_mojom_UnguessableTokenSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_SetAudioDucking_ParamsSpec.$, 'WebClientHandler_SetAudioDucking_Params', [
    mojo.internal.StructField('enable', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SetAudioDucking_ResponseParamsSpec.$, 'WebClientHandler_SetAudioDucking_ResponseParams', [
    mojo.internal.StructField('result', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SetMinimumPanelSize_ParamsSpec.$, 'WebClientHandler_SetMinimumPanelSize_Params', [
    mojo.internal.StructField('size', 0, 0, gfx_mojom_SizeSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SetMicrophonePermissionState_ParamsSpec.$, 'WebClientHandler_SetMicrophonePermissionState_Params', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SetMicrophonePermissionState_ResponseParamsSpec.$, 'WebClientHandler_SetMicrophonePermissionState_ResponseParams', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_SetLocationPermissionState_ParamsSpec.$, 'WebClientHandler_SetLocationPermissionState_Params', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SetLocationPermissionState_ResponseParamsSpec.$, 'WebClientHandler_SetLocationPermissionState_ResponseParams', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_SetTabContextPermissionState_ParamsSpec.$, 'WebClientHandler_SetTabContextPermissionState_Params', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SetTabContextPermissionState_ResponseParamsSpec.$, 'WebClientHandler_SetTabContextPermissionState_ResponseParams', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_SetClosedCaptioningSetting_ParamsSpec.$, 'WebClientHandler_SetClosedCaptioningSetting_Params', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SetClosedCaptioningSetting_ResponseParamsSpec.$, 'WebClientHandler_SetClosedCaptioningSetting_ResponseParams', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_SetActuationOnWebSetting_ParamsSpec.$, 'WebClientHandler_SetActuationOnWebSetting_Params', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SetActuationOnWebSetting_ResponseParamsSpec.$, 'WebClientHandler_SetActuationOnWebSetting_ResponseParams', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_ShouldAllowMediaPermissionRequest_ParamsSpec.$, 'WebClientHandler_ShouldAllowMediaPermissionRequest_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_ShouldAllowMediaPermissionRequest_ResponseParamsSpec.$, 'WebClientHandler_ShouldAllowMediaPermissionRequest_ResponseParams', [
    mojo.internal.StructField('isAllowed', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_ShouldAllowGeolocationPermissionRequest_ParamsSpec.$, 'WebClientHandler_ShouldAllowGeolocationPermissionRequest_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_ShouldAllowGeolocationPermissionRequest_ResponseParamsSpec.$, 'WebClientHandler_ShouldAllowGeolocationPermissionRequest_ResponseParams', [
    mojo.internal.StructField('isAllowed', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SetContextAccessIndicator_ParamsSpec.$, 'WebClientHandler_SetContextAccessIndicator_Params', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_GetUserProfileInfo_ParamsSpec.$, 'WebClientHandler_GetUserProfileInfo_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_GetUserProfileInfo_ResponseParamsSpec.$, 'WebClientHandler_GetUserProfileInfo_ResponseParams', [
    mojo.internal.StructField('profileInfo', 0, 0, UserProfileInfoSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SyncCookies_ParamsSpec.$, 'WebClientHandler_SyncCookies_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_SyncCookies_ResponseParamsSpec.$, 'WebClientHandler_SyncCookies_ResponseParams', [
    mojo.internal.StructField('success', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_ClientErrorDialogStateChanged_ParamsSpec.$, 'WebClientHandler_ClientErrorDialogStateChanged_Params', [
    mojo.internal.StructField('shown_dialog_type_$flag', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "shown_dialog_type_$value",
        originalFieldName: "shownDialogType",
    }, undefined),
    mojo.internal.StructField('shown_dialog_type_$value', 4, 0, ClientErrorDialogTypeSpec.$, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "shownDialogType",
    }, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_ReportClientTransientError_ParamsSpec.$, 'WebClientHandler_ReportClientTransientError_Params', [
    mojo.internal.StructField('statusCode', 0, 0, mojoBase_mojom_AbslStatusCodeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_ProcessCounterAbuseVerdict_ParamsSpec.$, 'WebClientHandler_ProcessCounterAbuseVerdict_Params', [
    mojo.internal.StructField('tabId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('verdict', 8, 0, CounterAbuseVerdictSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_OnOptinImpression_ParamsSpec.$, 'WebClientHandler_OnOptinImpression_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_OnUserInputSubmitted_ParamsSpec.$, 'WebClientHandler_OnUserInputSubmitted_Params', [
    mojo.internal.StructField('mode', 0, 0, WebClientModeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_OnContextUploadStarted_ParamsSpec.$, 'WebClientHandler_OnContextUploadStarted_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_OnContextUploadCompleted_ParamsSpec.$, 'WebClientHandler_OnContextUploadCompleted_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_OnReaction_ParamsSpec.$, 'WebClientHandler_OnReaction_Params', [
    mojo.internal.StructField('reactionType', 0, 0, MetricUserInputReactionTypeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_OnResponseStarted_ParamsSpec.$, 'WebClientHandler_OnResponseStarted_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_OnResponseStopped_ParamsSpec.$, 'WebClientHandler_OnResponseStopped_Params', [
    mojo.internal.StructField('details', 0, 0, OnResponseStoppedDetailsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_OnSessionTerminated_ParamsSpec.$, 'WebClientHandler_OnSessionTerminated_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_OnTurnCompleted_ParamsSpec.$, 'WebClientHandler_OnTurnCompleted_Params', [
    mojo.internal.StructField('model', 0, 0, WebClientModelSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('duration', 8, 0, mojoBase_mojom_TimeDeltaSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_OnResponseRated_ParamsSpec.$, 'WebClientHandler_OnResponseRated_Params', [
    mojo.internal.StructField('positive', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_OnClosedCaptionsShown_ParamsSpec.$, 'WebClientHandler_OnClosedCaptionsShown_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_OnActionSubmitted_ParamsSpec.$, 'WebClientHandler_OnActionSubmitted_Params', [
    mojo.internal.StructField('isRetry', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SetSyntheticExperimentState_ParamsSpec.$, 'WebClientHandler_SetSyntheticExperimentState_Params', [
    mojo.internal.StructField('trialName', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('groupName', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_OpenOsPermissionSettingsMenu_ParamsSpec.$, 'WebClientHandler_OpenOsPermissionSettingsMenu_Params', [
    mojo.internal.StructField('type', 0, 0, contentSettings_mojom_ContentSettingsTypeSpec.$, -1, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_GetOsMicrophonePermissionStatus_ParamsSpec.$, 'WebClientHandler_GetOsMicrophonePermissionStatus_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_GetOsMicrophonePermissionStatus_ResponseParamsSpec.$, 'WebClientHandler_GetOsMicrophonePermissionStatus_ResponseParams', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_GetZeroStateSuggestionsAndSubscribe_ParamsSpec.$, 'WebClientHandler_GetZeroStateSuggestionsAndSubscribe_Params', [
    mojo.internal.StructField('isLive', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('options', 8, 0, ZeroStateSuggestionsOptionsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_GetZeroStateSuggestionsAndSubscribe_ResponseParamsSpec.$, 'WebClientHandler_GetZeroStateSuggestionsAndSubscribe_ResponseParams', [
    mojo.internal.StructField('zeroStateSuggestions', 0, 0, ZeroStateSuggestionsV2Spec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_GetZeroStateSuggestionsForFocusedTab_ParamsSpec.$, 'WebClientHandler_GetZeroStateSuggestionsForFocusedTab_Params', [
    mojo.internal.StructField('is_first_run_$flag', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "is_first_run_$value",
        originalFieldName: "isFirstRun",
    }, undefined),
    mojo.internal.StructField('is_first_run_$value', 0, 1, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "isFirstRun",
    }, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_GetZeroStateSuggestionsForFocusedTab_ResponseParamsSpec.$, 'WebClientHandler_GetZeroStateSuggestionsForFocusedTab_ResponseParams', [
    mojo.internal.StructField('suggestions', 0, 0, ZeroStateSuggestionsSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_MaybeRefreshUserStatus_ParamsSpec.$, 'WebClientHandler_MaybeRefreshUserStatus_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_IsDebuggerAttached_ParamsSpec.$, 'WebClientHandler_IsDebuggerAttached_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_IsDebuggerAttached_ResponseParamsSpec.$, 'WebClientHandler_IsDebuggerAttached_ResponseParams', [
    mojo.internal.StructField('isAttachedToWebview', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SubscribeToPageMetadata_ParamsSpec.$, 'WebClientHandler_SubscribeToPageMetadata_Params', [
    mojo.internal.StructField('tabId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('names', 8, 0, mojo.internal.Array(mojo.internal.String, false), null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_SubscribeToPageMetadata_ResponseParamsSpec.$, 'WebClientHandler_SubscribeToPageMetadata_ResponseParams', [
    mojo.internal.StructField('success', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SwitchConversation_ParamsSpec.$, 'WebClientHandler_SwitchConversation_Params', [
    mojo.internal.StructField('info', 0, 0, ConversationInfoSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SwitchConversation_ResponseParamsSpec.$, 'WebClientHandler_SwitchConversation_ResponseParams', [
    mojo.internal.StructField('error_reason_$flag', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "error_reason_$value",
        originalFieldName: "errorReason",
    }, undefined),
    mojo.internal.StructField('error_reason_$value', 4, 0, SwitchConversationErrorReasonSpec.$, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "errorReason",
    }, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_RegisterConversation_ParamsSpec.$, 'WebClientHandler_RegisterConversation_Params', [
    mojo.internal.StructField('info', 0, 0, ConversationInfoSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_RegisterConversation_ResponseParamsSpec.$, 'WebClientHandler_RegisterConversation_ResponseParams', [
    mojo.internal.StructField('error_reason_$flag', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "error_reason_$value",
        originalFieldName: "errorReason",
    }, undefined),
    mojo.internal.StructField('error_reason_$value', 4, 0, RegisterConversationErrorReasonSpec.$, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "errorReason",
    }, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClientHandler_SetOnboardingCompleted_ParamsSpec.$, 'WebClientHandler_SetOnboardingCompleted_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClientHandler_SubscribeToTabData_ParamsSpec.$, 'WebClientHandler_SubscribeToTabData_Params', [
    mojo.internal.StructField('tabId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('receiver', 4, 0, mojo.internal.InterfaceProxy(TabDataHandlerRemote), null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClientHandler_SubscribeToTabFavicon_ParamsSpec.$, 'WebClientHandler_SubscribeToTabFavicon_Params', [
    mojo.internal.StructField('tabId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('receiver', 4, 0, mojo.internal.InterfaceProxy(TabFaviconHandlerRemote), null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(TabDataHandler_OnTabDataChanged_ParamsSpec.$, 'TabDataHandler_OnTabDataChanged_Params', [
    mojo.internal.StructField('tabData', 0, 0, TabDataSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(TabFaviconHandler_OnTabFaviconChanged_ParamsSpec.$, 'TabFaviconHandler_OnTabFaviconChanged_Params', [
    mojo.internal.StructField('favicon', 0, 0, skia_mojom_BitmapN32Spec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(ExperimentalTriggeringUpdatesHandler_OnUpdate_ParamsSpec.$, 'ExperimentalTriggeringUpdatesHandler_OnUpdate_Params', [
    mojo.internal.StructField('update', 0, 0, ExperimentalTriggeringUpdateSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('observation', 8, 0, SubscriberObservationTypeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClient_NotifyPanelWillOpen_ParamsSpec.$, 'WebClient_NotifyPanelWillOpen_Params', [
    mojo.internal.StructField('panelOpeningData', 0, 0, PanelOpeningDataSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyPanelWillOpen_ResponseParamsSpec.$, 'WebClient_NotifyPanelWillOpen_ResponseParams', [
    mojo.internal.StructField('openPanelInfo', 0, 0, OpenPanelInfoSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyPanelWasClosed_ParamsSpec.$, 'WebClient_NotifyPanelWasClosed_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClient_NotifyPanelWasClosed_ResponseParamsSpec.$, 'WebClient_NotifyPanelWasClosed_ResponseParams', [], [[0, 8],]);
mojo.internal.Struct(WebClient_NotifyPanelStateChange_ParamsSpec.$, 'WebClient_NotifyPanelStateChange_Params', [
    mojo.internal.StructField('panelState', 0, 0, PanelStateSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyPanelActiveChange_ParamsSpec.$, 'WebClient_NotifyPanelActiveChange_Params', [
    mojo.internal.StructField('panelActive', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyPanelCanAttachChange_ParamsSpec.$, 'WebClient_NotifyPanelCanAttachChange_Params', [
    mojo.internal.StructField('canAttach', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyMicrophonePermissionStateChanged_ParamsSpec.$, 'WebClient_NotifyMicrophonePermissionStateChanged_Params', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_StopMicrophone_ParamsSpec.$, 'WebClient_StopMicrophone_Params', [], [[0, 8],]);
mojo.internal.Struct(WebClient_StopMicrophone_ResponseParamsSpec.$, 'WebClient_StopMicrophone_ResponseParams', [], [[0, 8],]);
mojo.internal.Struct(WebClient_NotifyLocationPermissionStateChanged_ParamsSpec.$, 'WebClient_NotifyLocationPermissionStateChanged_Params', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyTabContextPermissionStateChanged_ParamsSpec.$, 'WebClient_NotifyTabContextPermissionStateChanged_Params', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyOsLocationPermissionStateChanged_ParamsSpec.$, 'WebClient_NotifyOsLocationPermissionStateChanged_Params', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyFocusedTabChanged_ParamsSpec.$, 'WebClient_NotifyFocusedTabChanged_Params', [
    mojo.internal.StructField('focusedTabData', 0, 0, FocusedTabDataSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClient_NotifyManualResizeChanged_ParamsSpec.$, 'WebClient_NotifyManualResizeChanged_Params', [
    mojo.internal.StructField('resizing', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyOsHotkeyStateChanged_ParamsSpec.$, 'WebClient_NotifyOsHotkeyStateChanged_Params', [
    mojo.internal.StructField('hotkey', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyBrowserIsOpenChanged_ParamsSpec.$, 'WebClient_NotifyBrowserIsOpenChanged_Params', [
    mojo.internal.StructField('browserIsOpen', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyInstanceActivationChanged_ParamsSpec.$, 'WebClient_NotifyInstanceActivationChanged_Params', [
    mojo.internal.StructField('instanceActive', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyClosedCaptioningSettingChanged_ParamsSpec.$, 'WebClient_NotifyClosedCaptioningSettingChanged_Params', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyPinnedTabsChanged_ParamsSpec.$, 'WebClient_NotifyPinnedTabsChanged_Params', [
    mojo.internal.StructField('tabData', 0, 0, mojo.internal.Array(TabDataSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyPinnedTabDataChanged_ParamsSpec.$, 'WebClient_NotifyPinnedTabDataChanged_Params', [
    mojo.internal.StructField('tabData', 0, 0, TabDataSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifySkillDeleted_ParamsSpec.$, 'WebClient_NotifySkillDeleted_Params', [
    mojo.internal.StructField('skillId', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifySkillPreviewChanged_ParamsSpec.$, 'WebClient_NotifySkillPreviewChanged_Params', [
    mojo.internal.StructField('skillPreview', 0, 0, SkillPreviewSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyContextualSkillPreviewsChanged_ParamsSpec.$, 'WebClient_NotifyContextualSkillPreviewsChanged_Params', [
    mojo.internal.StructField('skillPreviews', 0, 0, mojo.internal.Array(SkillPreviewSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifySkillPreviewsChanged_ParamsSpec.$, 'WebClient_NotifySkillPreviewsChanged_Params', [
    mojo.internal.StructField('skillPreviews', 0, 0, mojo.internal.Array(SkillPreviewSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyZeroStateSuggestionsChanged_ParamsSpec.$, 'WebClient_NotifyZeroStateSuggestionsChanged_Params', [
    mojo.internal.StructField('suggestions', 0, 0, ZeroStateSuggestionsV2Spec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('options', 8, 0, ZeroStateSuggestionsOptionsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClient_NotifyPageMetadataChanged_ParamsSpec.$, 'WebClient_NotifyPageMetadataChanged_Params', [
    mojo.internal.StructField('tabId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('metadata', 8, 0, blink_mojom_PageMetadataSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(WebClient_NotifyDefaultTabContextPermissionStateChanged_ParamsSpec.$, 'WebClient_NotifyDefaultTabContextPermissionStateChanged_Params', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyAdditionalContext_ParamsSpec.$, 'WebClient_NotifyAdditionalContext_Params', [
    mojo.internal.StructField('context', 0, 0, AdditionalContextSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyActuationOnWebSettingChanged_ParamsSpec.$, 'WebClient_NotifyActuationOnWebSettingChanged_Params', [
    mojo.internal.StructField('enabled', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyActOnWebCapabilityChanged_ParamsSpec.$, 'WebClient_NotifyActOnWebCapabilityChanged_Params', [
    mojo.internal.StructField('canActOnWeb', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyOnboardingCompletedChanged_ParamsSpec.$, 'WebClient_NotifyOnboardingCompletedChanged_Params', [
    mojo.internal.StructField('completed', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyGeminiEnterpriseSettingsChanged_ParamsSpec.$, 'WebClient_NotifyGeminiEnterpriseSettingsChanged_Params', [
    mojo.internal.StructField('settings', 0, 0, GeminiEnterpriseSettingsSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_NotifyActorTaskListRowClicked_ParamsSpec.$, 'WebClient_NotifyActorTaskListRowClicked_Params', [
    mojo.internal.StructField('taskId', 0, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_Invoke_ParamsSpec.$, 'WebClient_Invoke_Params', [
    mojo.internal.StructField('options', 0, 0, InvokeOptionsSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_Invoke_ResponseParamsSpec.$, 'WebClient_Invoke_ResponseParams', [], [[0, 8],]);
mojo.internal.Struct(WebClient_GetExperimentalTriggeringUpdates_ParamsSpec.$, 'WebClient_GetExperimentalTriggeringUpdates_Params', [
    mojo.internal.StructField('handler', 0, 0, mojo.internal.InterfaceProxy(ExperimentalTriggeringUpdatesHandlerRemote), null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(WebClient_GetExperimentalTriggeringUpdates_ResponseParamsSpec.$, 'WebClient_GetExperimentalTriggeringUpdates_ResponseParams', [
    mojo.internal.StructField('success', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(CaptureRegionObserver_OnUpdate_ParamsSpec.$, 'CaptureRegionObserver_OnUpdate_Params', [
    mojo.internal.StructField('result', 0, 0, CaptureRegionResultSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('reason_$flag', 8, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "reason_$value",
        originalFieldName: "reason",
    }, undefined),
    mojo.internal.StructField('reason_$value', 12, 0, CaptureRegionErrorReasonSpec.$, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "reason",
    }, undefined),
], [[0, 24],]);
mojo.internal.Union(InvokeConversationSelectionSpec.$, 'InvokeConversationSelection', {
    'defaultConversation': {
        'ordinal': 0,
        'type': DefaultConversationSpec.$,
    },
    'newConversation': {
        'ordinal': 1,
        'type': NewConversationSpec.$,
    },
    'conversationId': {
        'ordinal': 2,
        'type': mojo.internal.String,
    },
});
export var InvokeConversationSelectionFieldTags;
(function (InvokeConversationSelectionFieldTags) {
    InvokeConversationSelectionFieldTags[InvokeConversationSelectionFieldTags["DEFAULT_CONVERSATION"] = 0] = "DEFAULT_CONVERSATION";
    InvokeConversationSelectionFieldTags[InvokeConversationSelectionFieldTags["NEW_CONVERSATION"] = 1] = "NEW_CONVERSATION";
    InvokeConversationSelectionFieldTags[InvokeConversationSelectionFieldTags["CONVERSATION_ID"] = 2] = "CONVERSATION_ID";
})(InvokeConversationSelectionFieldTags || (InvokeConversationSelectionFieldTags = {}));
export function whichInvokeConversationSelection(u) {
    if (u.defaultConversation !== null && u.defaultConversation !== undefined) {
        return InvokeConversationSelectionFieldTags.DEFAULT_CONVERSATION;
    }
    if (u.newConversation !== null && u.newConversation !== undefined) {
        return InvokeConversationSelectionFieldTags.NEW_CONVERSATION;
    }
    if (u.conversationId !== null && u.conversationId !== undefined) {
        return InvokeConversationSelectionFieldTags.CONVERSATION_ID;
    }
    throw new Error("no union field has been set, this is an illegal state");
}
mojo.internal.Union(InvokeTargetSurfaceSpec.$, 'InvokeTargetSurface', {
    'defaultSurface': {
        'ordinal': 0,
        'type': DefaultSurfaceMojoSpec.$,
    },
    'newTab': {
        'ordinal': 1,
        'type': NewTabMojoSpec.$,
    },
});
export var InvokeTargetSurfaceFieldTags;
(function (InvokeTargetSurfaceFieldTags) {
    InvokeTargetSurfaceFieldTags[InvokeTargetSurfaceFieldTags["DEFAULT_SURFACE"] = 0] = "DEFAULT_SURFACE";
    InvokeTargetSurfaceFieldTags[InvokeTargetSurfaceFieldTags["NEW_TAB"] = 1] = "NEW_TAB";
})(InvokeTargetSurfaceFieldTags || (InvokeTargetSurfaceFieldTags = {}));
export function whichInvokeTargetSurface(u) {
    if (u.defaultSurface !== null && u.defaultSurface !== undefined) {
        return InvokeTargetSurfaceFieldTags.DEFAULT_SURFACE;
    }
    if (u.newTab !== null && u.newTab !== undefined) {
        return InvokeTargetSurfaceFieldTags.NEW_TAB;
    }
    throw new Error("no union field has been set, this is an illegal state");
}
mojo.internal.Union(GetContextResultSpec.$, 'GetContextResult', {
    'errorReason': {
        'ordinal': 0,
        'type': mojo.internal.String,
    },
    'tabContext': {
        'ordinal': 1,
        'type': TabContextSpec.$,
    },
});
export var GetContextResultFieldTags;
(function (GetContextResultFieldTags) {
    GetContextResultFieldTags[GetContextResultFieldTags["ERROR_REASON"] = 0] = "ERROR_REASON";
    GetContextResultFieldTags[GetContextResultFieldTags["TAB_CONTEXT"] = 1] = "TAB_CONTEXT";
})(GetContextResultFieldTags || (GetContextResultFieldTags = {}));
export function whichGetContextResult(u) {
    if (u.errorReason !== null && u.errorReason !== undefined) {
        return GetContextResultFieldTags.ERROR_REASON;
    }
    if (u.tabContext !== null && u.tabContext !== undefined) {
        return GetContextResultFieldTags.TAB_CONTEXT;
    }
    throw new Error("no union field has been set, this is an illegal state");
}
mojo.internal.Union(CaptureScreenshotResultSpec.$, 'CaptureScreenshotResult', {
    'errorReason': {
        'ordinal': 0,
        'type': CaptureScreenshotErrorReasonSpec.$,
    },
    'screenshot': {
        'ordinal': 1,
        'type': ScreenshotSpec.$,
    },
});
export var CaptureScreenshotResultFieldTags;
(function (CaptureScreenshotResultFieldTags) {
    CaptureScreenshotResultFieldTags[CaptureScreenshotResultFieldTags["ERROR_REASON"] = 0] = "ERROR_REASON";
    CaptureScreenshotResultFieldTags[CaptureScreenshotResultFieldTags["SCREENSHOT"] = 1] = "SCREENSHOT";
})(CaptureScreenshotResultFieldTags || (CaptureScreenshotResultFieldTags = {}));
export function whichCaptureScreenshotResult(u) {
    if (u.errorReason !== null && u.errorReason !== undefined) {
        return CaptureScreenshotResultFieldTags.ERROR_REASON;
    }
    if (u.screenshot !== null && u.screenshot !== undefined) {
        return CaptureScreenshotResultFieldTags.SCREENSHOT;
    }
    throw new Error("no union field has been set, this is an illegal state");
}
mojo.internal.Union(ScrollToSelectorSpec.$, 'ScrollToSelector', {
    'exactTextSelector': {
        'ordinal': 0,
        'type': ScrollToTextSelectorSpec.$,
    },
    'textFragmentSelector': {
        'ordinal': 1,
        'type': ScrollToTextFragmentSelectorSpec.$,
    },
    'nodeSelector': {
        'ordinal': 2,
        'type': ScrollToNodeSelectorSpec.$,
    },
});
export var ScrollToSelectorFieldTags;
(function (ScrollToSelectorFieldTags) {
    ScrollToSelectorFieldTags[ScrollToSelectorFieldTags["EXACT_TEXT_SELECTOR"] = 0] = "EXACT_TEXT_SELECTOR";
    ScrollToSelectorFieldTags[ScrollToSelectorFieldTags["TEXT_FRAGMENT_SELECTOR"] = 1] = "TEXT_FRAGMENT_SELECTOR";
    ScrollToSelectorFieldTags[ScrollToSelectorFieldTags["NODE_SELECTOR"] = 2] = "NODE_SELECTOR";
})(ScrollToSelectorFieldTags || (ScrollToSelectorFieldTags = {}));
export function whichScrollToSelector(u) {
    if (u.exactTextSelector !== null && u.exactTextSelector !== undefined) {
        return ScrollToSelectorFieldTags.EXACT_TEXT_SELECTOR;
    }
    if (u.textFragmentSelector !== null && u.textFragmentSelector !== undefined) {
        return ScrollToSelectorFieldTags.TEXT_FRAGMENT_SELECTOR;
    }
    if (u.nodeSelector !== null && u.nodeSelector !== undefined) {
        return ScrollToSelectorFieldTags.NODE_SELECTOR;
    }
    throw new Error("no union field has been set, this is an illegal state");
}
mojo.internal.Union(InvocationPayloadSpec.$, 'InvocationPayload', {
    'universalCart': {
        'ordinal': 0,
        'type': UniversalCartPayloadSpec.$,
    },
});
export var InvocationPayloadFieldTags;
(function (InvocationPayloadFieldTags) {
    InvocationPayloadFieldTags[InvocationPayloadFieldTags["UNIVERSAL_CART"] = 0] = "UNIVERSAL_CART";
})(InvocationPayloadFieldTags || (InvocationPayloadFieldTags = {}));
export function whichInvocationPayload(u) {
    if (u.universalCart !== null && u.universalCart !== undefined) {
        return InvocationPayloadFieldTags.UNIVERSAL_CART;
    }
    throw new Error("no union field has been set, this is an illegal state");
}
mojo.internal.Union(AdditionalContextPartSpec.$, 'AdditionalContextPart', {
    'data': {
        'ordinal': 0,
        'type': ContextDataSpec.$,
    },
    'screenshot': {
        'ordinal': 1,
        'type': ScreenshotSpec.$,
    },
    'webPageData': {
        'ordinal': 2,
        'type': WebPageDataSpec.$,
    },
    'annotatedPageData': {
        'ordinal': 3,
        'type': AnnotatedPageDataSpec.$,
    },
    'pdfDocumentData': {
        'ordinal': 4,
        'type': PdfDocumentDataSpec.$,
    },
    'tabContext': {
        'ordinal': 5,
        'type': TabContextSpec.$,
    },
    'region': {
        'ordinal': 6,
        'type': CapturedRegionSpec.$,
    },
    'pendingRegion': {
        'ordinal': 7,
        'type': PendingCapturedRegionSpec.$,
    },
    'parentConversationMetadata': {
        'ordinal': 8,
        'type': ParentConversationMetadataSpec.$,
    },
});
export var AdditionalContextPartFieldTags;
(function (AdditionalContextPartFieldTags) {
    AdditionalContextPartFieldTags[AdditionalContextPartFieldTags["DATA"] = 0] = "DATA";
    AdditionalContextPartFieldTags[AdditionalContextPartFieldTags["SCREENSHOT"] = 1] = "SCREENSHOT";
    AdditionalContextPartFieldTags[AdditionalContextPartFieldTags["WEB_PAGE_DATA"] = 2] = "WEB_PAGE_DATA";
    AdditionalContextPartFieldTags[AdditionalContextPartFieldTags["ANNOTATED_PAGE_DATA"] = 3] = "ANNOTATED_PAGE_DATA";
    AdditionalContextPartFieldTags[AdditionalContextPartFieldTags["PDF_DOCUMENT_DATA"] = 4] = "PDF_DOCUMENT_DATA";
    AdditionalContextPartFieldTags[AdditionalContextPartFieldTags["TAB_CONTEXT"] = 5] = "TAB_CONTEXT";
    AdditionalContextPartFieldTags[AdditionalContextPartFieldTags["REGION"] = 6] = "REGION";
    AdditionalContextPartFieldTags[AdditionalContextPartFieldTags["PENDING_REGION"] = 7] = "PENDING_REGION";
    AdditionalContextPartFieldTags[AdditionalContextPartFieldTags["PARENT_CONVERSATION_METADATA"] = 8] = "PARENT_CONVERSATION_METADATA";
})(AdditionalContextPartFieldTags || (AdditionalContextPartFieldTags = {}));
export function whichAdditionalContextPart(u) {
    if (u.data !== null && u.data !== undefined) {
        return AdditionalContextPartFieldTags.DATA;
    }
    if (u.screenshot !== null && u.screenshot !== undefined) {
        return AdditionalContextPartFieldTags.SCREENSHOT;
    }
    if (u.webPageData !== null && u.webPageData !== undefined) {
        return AdditionalContextPartFieldTags.WEB_PAGE_DATA;
    }
    if (u.annotatedPageData !== null && u.annotatedPageData !== undefined) {
        return AdditionalContextPartFieldTags.ANNOTATED_PAGE_DATA;
    }
    if (u.pdfDocumentData !== null && u.pdfDocumentData !== undefined) {
        return AdditionalContextPartFieldTags.PDF_DOCUMENT_DATA;
    }
    if (u.tabContext !== null && u.tabContext !== undefined) {
        return AdditionalContextPartFieldTags.TAB_CONTEXT;
    }
    if (u.region !== null && u.region !== undefined) {
        return AdditionalContextPartFieldTags.REGION;
    }
    if (u.pendingRegion !== null && u.pendingRegion !== undefined) {
        return AdditionalContextPartFieldTags.PENDING_REGION;
    }
    if (u.parentConversationMetadata !== null && u.parentConversationMetadata !== undefined) {
        return AdditionalContextPartFieldTags.PARENT_CONVERSATION_METADATA;
    }
    throw new Error("no union field has been set, this is an illegal state");
}
mojo.internal.Union(FocusedTabDataSpec.$, 'FocusedTabData', {
    'focusedTab': {
        'ordinal': 0,
        'type': TabDataSpec.$,
    },
    'noFocusedTabData': {
        'ordinal': 1,
        'type': NoFocusedTabDataSpec.$,
    },
});
export var FocusedTabDataFieldTags;
(function (FocusedTabDataFieldTags) {
    FocusedTabDataFieldTags[FocusedTabDataFieldTags["FOCUSED_TAB"] = 0] = "FOCUSED_TAB";
    FocusedTabDataFieldTags[FocusedTabDataFieldTags["NO_FOCUSED_TAB_DATA"] = 1] = "NO_FOCUSED_TAB_DATA";
})(FocusedTabDataFieldTags || (FocusedTabDataFieldTags = {}));
export function whichFocusedTabData(u) {
    if (u.focusedTab !== null && u.focusedTab !== undefined) {
        return FocusedTabDataFieldTags.FOCUSED_TAB;
    }
    if (u.noFocusedTabData !== null && u.noFocusedTabData !== undefined) {
        return FocusedTabDataFieldTags.NO_FOCUSED_TAB_DATA;
    }
    throw new Error("no union field has been set, this is an illegal state");
}
mojo.internal.Union(CapturedRegionSpec.$, 'CapturedRegion', {
    'rect': {
        'ordinal': 0,
        'type': gfx_mojom_RectSpec.$,
    },
    'polyline': {
        'ordinal': 1,
        'type': mojo.internal.Array(gfx_mojom_PointSpec.$, false),
    },
});
export var CapturedRegionFieldTags;
(function (CapturedRegionFieldTags) {
    CapturedRegionFieldTags[CapturedRegionFieldTags["RECT"] = 0] = "RECT";
    CapturedRegionFieldTags[CapturedRegionFieldTags["POLYLINE"] = 1] = "POLYLINE";
})(CapturedRegionFieldTags || (CapturedRegionFieldTags = {}));
export function whichCapturedRegion(u) {
    if (u.rect !== null && u.rect !== undefined) {
        return CapturedRegionFieldTags.RECT;
    }
    if (u.polyline !== null && u.polyline !== undefined) {
        return CapturedRegionFieldTags.POLYLINE;
    }
    throw new Error("no union field has been set, this is an illegal state");
}
mojo.internal.Union(GetImageBytesResultSpec.$, 'GetImageBytesResult', {
    'imageBytes': {
        'ordinal': 0,
        'type': ImageBytesResultSpec.$,
    },
    'errorReason': {
        'ordinal': 1,
        'type': mojo.internal.String,
    },
});
export var GetImageBytesResultFieldTags;
(function (GetImageBytesResultFieldTags) {
    GetImageBytesResultFieldTags[GetImageBytesResultFieldTags["IMAGE_BYTES"] = 0] = "IMAGE_BYTES";
    GetImageBytesResultFieldTags[GetImageBytesResultFieldTags["ERROR_REASON"] = 1] = "ERROR_REASON";
})(GetImageBytesResultFieldTags || (GetImageBytesResultFieldTags = {}));
export function whichGetImageBytesResult(u) {
    if (u.imageBytes !== null && u.imageBytes !== undefined) {
        return GetImageBytesResultFieldTags.IMAGE_BYTES;
    }
    if (u.errorReason !== null && u.errorReason !== undefined) {
        return GetImageBytesResultFieldTags.ERROR_REASON;
    }
    throw new Error("no union field has been set, this is an illegal state");
}
mojo.internal.Union(ActorHandler_CreateTask_ResponseParam_ResultSpec.$, 'ActorHandler_CreateTask_ResponseParam_Result', {
    'success': {
        'ordinal': 0,
        'type': mojo.internal.Int32,
    },
    'failure': {
        'ordinal': 1,
        'type': CreateTaskErrorReasonSpec.$,
    },
});
export var ActorHandler_CreateTask_ResponseParam_ResultFieldTags;
(function (ActorHandler_CreateTask_ResponseParam_ResultFieldTags) {
    ActorHandler_CreateTask_ResponseParam_ResultFieldTags[ActorHandler_CreateTask_ResponseParam_ResultFieldTags["SUCCESS"] = 0] = "SUCCESS";
    ActorHandler_CreateTask_ResponseParam_ResultFieldTags[ActorHandler_CreateTask_ResponseParam_ResultFieldTags["FAILURE"] = 1] = "FAILURE";
})(ActorHandler_CreateTask_ResponseParam_ResultFieldTags || (ActorHandler_CreateTask_ResponseParam_ResultFieldTags = {}));
export function whichActorHandler_CreateTask_ResponseParam_Result(u) {
    if (u.success !== null && u.success !== undefined) {
        return ActorHandler_CreateTask_ResponseParam_ResultFieldTags.SUCCESS;
    }
    if (u.failure !== null && u.failure !== undefined) {
        return ActorHandler_CreateTask_ResponseParam_ResultFieldTags.FAILURE;
    }
    throw new Error("no union field has been set, this is an illegal state");
}
mojo.internal.Union(ActorHandler_PerformActions_ResponseParam_ResultSpec.$, 'ActorHandler_PerformActions_ResponseParam_Result', {
    'success': {
        'ordinal': 0,
        'type': mojoBase_mojom_ProtoWrapperSpec.$,
    },
    'failure': {
        'ordinal': 1,
        'type': PerformActionsErrorReasonSpec.$,
    },
});
export var ActorHandler_PerformActions_ResponseParam_ResultFieldTags;
(function (ActorHandler_PerformActions_ResponseParam_ResultFieldTags) {
    ActorHandler_PerformActions_ResponseParam_ResultFieldTags[ActorHandler_PerformActions_ResponseParam_ResultFieldTags["SUCCESS"] = 0] = "SUCCESS";
    ActorHandler_PerformActions_ResponseParam_ResultFieldTags[ActorHandler_PerformActions_ResponseParam_ResultFieldTags["FAILURE"] = 1] = "FAILURE";
})(ActorHandler_PerformActions_ResponseParam_ResultFieldTags || (ActorHandler_PerformActions_ResponseParam_ResultFieldTags = {}));
export function whichActorHandler_PerformActions_ResponseParam_Result(u) {
    if (u.success !== null && u.success !== undefined) {
        return ActorHandler_PerformActions_ResponseParam_ResultFieldTags.SUCCESS;
    }
    if (u.failure !== null && u.failure !== undefined) {
        return ActorHandler_PerformActions_ResponseParam_ResultFieldTags.FAILURE;
    }
    throw new Error("no union field has been set, this is an illegal state");
}
