// ui/webui/resources/cr_components/composebox/composebox.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 { PageRemote as searchbox_mojom_PageRemote, PageHandlerPendingReceiver as searchbox_mojom_PageHandlerPendingReceiver } from '//resources/mojo/components/omnibox/browser/searchbox.mojom-webui.js';
import { UrlSpec as url_mojom_UrlSpec } from '//resources/mojo/url/mojom/url.mojom-webui.js';
export const LensOverlayDismissalSourceSpec = { $: mojo.internal.Enum() };
export var LensOverlayDismissalSource;
(function (LensOverlayDismissalSource) {
    LensOverlayDismissalSource[LensOverlayDismissalSource["MIN_VALUE"] = 0] = "MIN_VALUE";
    LensOverlayDismissalSource[LensOverlayDismissalSource["MAX_VALUE"] = 0] = "MAX_VALUE";
    LensOverlayDismissalSource[LensOverlayDismissalSource["kContextualTasksImageUploadsDisabled"] = 0] = "kContextualTasksImageUploadsDisabled";
})(LensOverlayDismissalSource || (LensOverlayDismissalSource = {}));
export class PageHandlerFactoryPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'composebox.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(page, handler, searchboxPage, searchboxHandler) {
        this.proxy.sendMessage(210124807, PageHandlerFactory_CreatePageHandler_ParamsSpec.$, null, [
            page,
            handler,
            searchboxPage,
            searchboxHandler
        ], 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(210124807, PageHandlerFactory_CreatePageHandler_ParamsSpec.$, null, impl.createPageHandler.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class PageHandlerFactory {
    static get $interfaceName() {
        return "composebox.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(210124807, PageHandlerFactory_CreatePageHandler_ParamsSpec.$, null, this.createPageHandler.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 PageHandlerPendingReceiver {
    handle;
    constructor(handle) {
        this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
    }
    bindInBrowser(scope = 'context') {
        mojo.internal.interfaceSupport.bind(this.handle, 'composebox.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();
    }
    focusChanged(focused) {
        this.proxy.sendMessage(1012903042, PageHandler_FocusChanged_ParamsSpec.$, null, [
            focused
        ], false);
    }
    startPlatformVoiceRecognition() {
        this.proxy.sendMessage(398004220, PageHandler_StartPlatformVoiceRecognition_ParamsSpec.$, null, [], false);
    }
    handleLensButtonClick() {
        this.proxy.sendMessage(179876083, PageHandler_HandleLensButtonClick_ParamsSpec.$, null, [], false);
    }
    handleFileUpload(isImage) {
        this.proxy.sendMessage(1470033631, PageHandler_HandleFileUpload_ParamsSpec.$, null, [
            isImage
        ], false);
    }
    navigateUrl(url) {
        this.proxy.sendMessage(1282613696, PageHandler_NavigateUrl_ParamsSpec.$, null, [
            url
        ], false);
    }
    closeLensOverlayFromWebUI(dismissalSource) {
        this.proxy.sendMessage(588254614, PageHandler_CloseLensOverlayFromWebUI_ParamsSpec.$, null, [
            dismissalSource
        ], false);
    }
    setSmartTabSharingActive(active) {
        this.proxy.sendMessage(1753027201, PageHandler_SetSmartTabSharingActive_ParamsSpec.$, null, [
            active
        ], false);
    }
    getSmartTabSharingActive() {
        return this.proxy.sendMessage(852552900, PageHandler_GetSmartTabSharingActive_ParamsSpec.$, PageHandler_GetSmartTabSharingActive_ResponseParamsSpec.$, [], false);
    }
    onContextMenuOpened() {
        this.proxy.sendMessage(2061466491, PageHandler_OnContextMenuOpened_ParamsSpec.$, null, [], false);
    }
    notifyComposeboxQuerySubmittedWithContext() {
        this.proxy.sendMessage(618179513, PageHandler_NotifyComposeboxQuerySubmittedWithContext_ParamsSpec.$, null, [], false);
    }
    canShowNextboxAnimation() {
        return this.proxy.sendMessage(1325560430, PageHandler_CanShowNextboxAnimation_ParamsSpec.$, PageHandler_CanShowNextboxAnimation_ResponseParamsSpec.$, [], false);
    }
    recordNextboxAnimationImpression() {
        this.proxy.sendMessage(120797843, PageHandler_RecordNextboxAnimationImpression_ParamsSpec.$, null, [], 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(1012903042, PageHandler_FocusChanged_ParamsSpec.$, null, impl.focusChanged.bind(impl), false);
        this.helper_internal_.registerHandler(398004220, PageHandler_StartPlatformVoiceRecognition_ParamsSpec.$, null, impl.startPlatformVoiceRecognition.bind(impl), false);
        this.helper_internal_.registerHandler(179876083, PageHandler_HandleLensButtonClick_ParamsSpec.$, null, impl.handleLensButtonClick.bind(impl), false);
        this.helper_internal_.registerHandler(1470033631, PageHandler_HandleFileUpload_ParamsSpec.$, null, impl.handleFileUpload.bind(impl), false);
        this.helper_internal_.registerHandler(1282613696, PageHandler_NavigateUrl_ParamsSpec.$, null, impl.navigateUrl.bind(impl), false);
        this.helper_internal_.registerHandler(588254614, PageHandler_CloseLensOverlayFromWebUI_ParamsSpec.$, null, impl.closeLensOverlayFromWebUI.bind(impl), false);
        this.helper_internal_.registerHandler(1753027201, PageHandler_SetSmartTabSharingActive_ParamsSpec.$, null, impl.setSmartTabSharingActive.bind(impl), false);
        this.helper_internal_.registerHandler(852552900, PageHandler_GetSmartTabSharingActive_ParamsSpec.$, PageHandler_GetSmartTabSharingActive_ResponseParamsSpec.$, impl.getSmartTabSharingActive.bind(impl), false);
        this.helper_internal_.registerHandler(2061466491, PageHandler_OnContextMenuOpened_ParamsSpec.$, null, impl.onContextMenuOpened.bind(impl), false);
        this.helper_internal_.registerHandler(618179513, PageHandler_NotifyComposeboxQuerySubmittedWithContext_ParamsSpec.$, null, impl.notifyComposeboxQuerySubmittedWithContext.bind(impl), false);
        this.helper_internal_.registerHandler(1325560430, PageHandler_CanShowNextboxAnimation_ParamsSpec.$, PageHandler_CanShowNextboxAnimation_ResponseParamsSpec.$, impl.canShowNextboxAnimation.bind(impl), false);
        this.helper_internal_.registerHandler(120797843, PageHandler_RecordNextboxAnimationImpression_ParamsSpec.$, null, impl.recordNextboxAnimationImpression.bind(impl), false);
        this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class PageHandler {
    static get $interfaceName() {
        return "composebox.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_;
    focusChanged;
    startPlatformVoiceRecognition;
    handleLensButtonClick;
    handleFileUpload;
    navigateUrl;
    closeLensOverlayFromWebUI;
    setSmartTabSharingActive;
    getSmartTabSharingActive;
    onContextMenuOpened;
    notifyComposeboxQuerySubmittedWithContext;
    canShowNextboxAnimation;
    recordNextboxAnimationImpression;
    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.focusChanged =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1012903042, PageHandler_FocusChanged_ParamsSpec.$, null, this.focusChanged.createReceiverHandler(false /* expectsResponse */), false);
        this.startPlatformVoiceRecognition =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(398004220, PageHandler_StartPlatformVoiceRecognition_ParamsSpec.$, null, this.startPlatformVoiceRecognition.createReceiverHandler(false /* expectsResponse */), false);
        this.handleLensButtonClick =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(179876083, PageHandler_HandleLensButtonClick_ParamsSpec.$, null, this.handleLensButtonClick.createReceiverHandler(false /* expectsResponse */), false);
        this.handleFileUpload =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1470033631, PageHandler_HandleFileUpload_ParamsSpec.$, null, this.handleFileUpload.createReceiverHandler(false /* expectsResponse */), false);
        this.navigateUrl =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1282613696, PageHandler_NavigateUrl_ParamsSpec.$, null, this.navigateUrl.createReceiverHandler(false /* expectsResponse */), false);
        this.closeLensOverlayFromWebUI =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(588254614, PageHandler_CloseLensOverlayFromWebUI_ParamsSpec.$, null, this.closeLensOverlayFromWebUI.createReceiverHandler(false /* expectsResponse */), false);
        this.setSmartTabSharingActive =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1753027201, PageHandler_SetSmartTabSharingActive_ParamsSpec.$, null, this.setSmartTabSharingActive.createReceiverHandler(false /* expectsResponse */), false);
        this.getSmartTabSharingActive =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(852552900, PageHandler_GetSmartTabSharingActive_ParamsSpec.$, PageHandler_GetSmartTabSharingActive_ResponseParamsSpec.$, this.getSmartTabSharingActive.createReceiverHandler(true /* expectsResponse */), false);
        this.onContextMenuOpened =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(2061466491, PageHandler_OnContextMenuOpened_ParamsSpec.$, null, this.onContextMenuOpened.createReceiverHandler(false /* expectsResponse */), false);
        this.notifyComposeboxQuerySubmittedWithContext =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(618179513, PageHandler_NotifyComposeboxQuerySubmittedWithContext_ParamsSpec.$, null, this.notifyComposeboxQuerySubmittedWithContext.createReceiverHandler(false /* expectsResponse */), false);
        this.canShowNextboxAnimation =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(1325560430, PageHandler_CanShowNextboxAnimation_ParamsSpec.$, PageHandler_CanShowNextboxAnimation_ResponseParamsSpec.$, this.canShowNextboxAnimation.createReceiverHandler(true /* expectsResponse */), false);
        this.recordNextboxAnimationImpression =
            new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(this.router_);
        this.helper_internal_.registerHandler(120797843, PageHandler_RecordNextboxAnimationImpression_ParamsSpec.$, null, this.recordNextboxAnimationImpression.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, 'composebox.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();
    }
}
;
/**
 * 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.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
    }
}
export class Page {
    static get $interfaceName() {
        return "composebox.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_;
    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.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 PageHandlerFactory_CreatePageHandler_ParamsSpec = { $: {} };
export const PageHandler_FocusChanged_ParamsSpec = { $: {} };
export const PageHandler_StartPlatformVoiceRecognition_ParamsSpec = { $: {} };
export const PageHandler_HandleLensButtonClick_ParamsSpec = { $: {} };
export const PageHandler_HandleFileUpload_ParamsSpec = { $: {} };
export const PageHandler_NavigateUrl_ParamsSpec = { $: {} };
export const PageHandler_CloseLensOverlayFromWebUI_ParamsSpec = { $: {} };
export const PageHandler_SetSmartTabSharingActive_ParamsSpec = { $: {} };
export const PageHandler_GetSmartTabSharingActive_ParamsSpec = { $: {} };
export const PageHandler_GetSmartTabSharingActive_ResponseParamsSpec = { $: {} };
export const PageHandler_OnContextMenuOpened_ParamsSpec = { $: {} };
export const PageHandler_NotifyComposeboxQuerySubmittedWithContext_ParamsSpec = { $: {} };
export const PageHandler_CanShowNextboxAnimation_ParamsSpec = { $: {} };
export const PageHandler_CanShowNextboxAnimation_ResponseParamsSpec = { $: {} };
export const PageHandler_RecordNextboxAnimationImpression_ParamsSpec = { $: {} };
mojo.internal.Struct(PageHandlerFactory_CreatePageHandler_ParamsSpec.$, 'PageHandlerFactory_CreatePageHandler_Params', [
    mojo.internal.StructField('page', 0, 0, mojo.internal.InterfaceProxy(PageRemote), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('handler', 8, 0, mojo.internal.InterfaceRequest(PageHandlerPendingReceiver), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('searchboxPage', 12, 0, mojo.internal.InterfaceProxy(searchbox_mojom_PageRemote), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('searchboxHandler', 20, 0, mojo.internal.InterfaceRequest(searchbox_mojom_PageHandlerPendingReceiver), null, false /* nullable */, 0, undefined, undefined),
], [[0, 32],]);
mojo.internal.Struct(PageHandler_FocusChanged_ParamsSpec.$, 'PageHandler_FocusChanged_Params', [
    mojo.internal.StructField('focused', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PageHandler_StartPlatformVoiceRecognition_ParamsSpec.$, 'PageHandler_StartPlatformVoiceRecognition_Params', [], [[0, 8],]);
mojo.internal.Struct(PageHandler_HandleLensButtonClick_ParamsSpec.$, 'PageHandler_HandleLensButtonClick_Params', [], [[0, 8],]);
mojo.internal.Struct(PageHandler_HandleFileUpload_ParamsSpec.$, 'PageHandler_HandleFileUpload_Params', [
    mojo.internal.StructField('isImage', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PageHandler_NavigateUrl_ParamsSpec.$, 'PageHandler_NavigateUrl_Params', [
    mojo.internal.StructField('url', 0, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PageHandler_CloseLensOverlayFromWebUI_ParamsSpec.$, 'PageHandler_CloseLensOverlayFromWebUI_Params', [
    mojo.internal.StructField('dismissalSource', 0, 0, LensOverlayDismissalSourceSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PageHandler_SetSmartTabSharingActive_ParamsSpec.$, 'PageHandler_SetSmartTabSharingActive_Params', [
    mojo.internal.StructField('active', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PageHandler_GetSmartTabSharingActive_ParamsSpec.$, 'PageHandler_GetSmartTabSharingActive_Params', [], [[0, 8],]);
mojo.internal.Struct(PageHandler_GetSmartTabSharingActive_ResponseParamsSpec.$, 'PageHandler_GetSmartTabSharingActive_ResponseParams', [
    mojo.internal.StructField('active', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PageHandler_OnContextMenuOpened_ParamsSpec.$, 'PageHandler_OnContextMenuOpened_Params', [], [[0, 8],]);
mojo.internal.Struct(PageHandler_NotifyComposeboxQuerySubmittedWithContext_ParamsSpec.$, 'PageHandler_NotifyComposeboxQuerySubmittedWithContext_Params', [], [[0, 8],]);
mojo.internal.Struct(PageHandler_CanShowNextboxAnimation_ParamsSpec.$, 'PageHandler_CanShowNextboxAnimation_Params', [], [[0, 8],]);
mojo.internal.Struct(PageHandler_CanShowNextboxAnimation_ResponseParamsSpec.$, 'PageHandler_CanShowNextboxAnimation_ResponseParams', [
    mojo.internal.StructField('canShow', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(PageHandler_RecordNextboxAnimationImpression_ParamsSpec.$, 'PageHandler_RecordNextboxAnimationImpression_Params', [], [[0, 8],]);
