// components/omnibox/browser/fusebox_action.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 { SuggestInventorySpec as searchbox_mojom_SuggestInventorySpec } from '//resources/mojo/components/omnibox/browser/searchbox.mojom-webui.js';
import { ModelModeSpec as composeboxQuery_mojom_ModelModeSpec, ToolModeSpec as composeboxQuery_mojom_ToolModeSpec } from '//resources/mojo/components/omnibox/composebox/composebox_query.mojom-webui.js';
export const QueryActionOverrideSpec = { $: mojo.internal.Enum() };
export var QueryActionOverride;
(function (QueryActionOverride) {
    QueryActionOverride[QueryActionOverride["MIN_VALUE"] = 0] = "MIN_VALUE";
    QueryActionOverride[QueryActionOverride["MAX_VALUE"] = 2] = "MAX_VALUE";
    QueryActionOverride[QueryActionOverride["kDefault"] = 0] = "kDefault";
    QueryActionOverride[QueryActionOverride["kPaste"] = 1] = "kPaste";
    QueryActionOverride[QueryActionOverride["kHint"] = 2] = "kHint";
})(QueryActionOverride || (QueryActionOverride = {}));
export const InputSourceSpec = { $: mojo.internal.Enum() };
export var InputSource;
(function (InputSource) {
    InputSource[InputSource["MIN_VALUE"] = 0] = "MIN_VALUE";
    InputSource[InputSource["MAX_VALUE"] = 5] = "MAX_VALUE";
    InputSource[InputSource["kInputSourceUnspecified"] = 0] = "kInputSourceUnspecified";
    InputSource[InputSource["kInputSourceGallery"] = 1] = "kInputSourceGallery";
    InputSource[InputSource["kInputSourceCamera"] = 2] = "kInputSourceCamera";
    InputSource[InputSource["kInputSourceFilePicker"] = 3] = "kInputSourceFilePicker";
    InputSource[InputSource["kInputSourceDrive"] = 4] = "kInputSourceDrive";
    InputSource[InputSource["kInputSourceTabPicker"] = 5] = "kInputSourceTabPicker";
})(InputSource || (InputSource = {}));
export const SearchboxOverrideSpec = { $: mojo.internal.Enum() };
export var SearchboxOverride;
(function (SearchboxOverride) {
    SearchboxOverride[SearchboxOverride["MIN_VALUE"] = 0] = "MIN_VALUE";
    SearchboxOverride[SearchboxOverride["MAX_VALUE"] = 2] = "MAX_VALUE";
    SearchboxOverride[SearchboxOverride["kUnspecified"] = 0] = "kUnspecified";
    SearchboxOverride[SearchboxOverride["kRealbox"] = 1] = "kRealbox";
    SearchboxOverride[SearchboxOverride["kComposebox"] = 2] = "kComposebox";
})(SearchboxOverride || (SearchboxOverride = {}));
export const FuseboxActionSpec = { $: {} };
mojo.internal.Struct(FuseboxActionSpec.$, 'FuseboxAction', [
    mojo.internal.StructField('preselected_tool_$flag', 0, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "preselected_tool_$value",
        originalFieldName: "preselectedTool",
    }, undefined),
    mojo.internal.StructField('preselected_tool_$value', 4, 0, composeboxQuery_mojom_ToolModeSpec.$, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "preselectedTool",
    }, undefined),
    mojo.internal.StructField('preferred_inventory_$flag', 0, 1, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "preferred_inventory_$value",
        originalFieldName: "preferredInventory",
    }, undefined),
    mojo.internal.StructField('preferred_inventory_$value', 8, 0, searchbox_mojom_SuggestInventorySpec.$, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "preferredInventory",
    }, undefined),
    mojo.internal.StructField('preselected_model_$flag', 0, 2, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "preselected_model_$value",
        originalFieldName: "preselectedModel",
    }, undefined),
    mojo.internal.StructField('preselected_model_$value', 12, 0, composeboxQuery_mojom_ModelModeSpec.$, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "preselectedModel",
    }, undefined),
    mojo.internal.StructField('query_action_override_$flag', 0, 3, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "query_action_override_$value",
        originalFieldName: "queryActionOverride",
    }, undefined),
    mojo.internal.StructField('query_action_override_$value', 16, 0, QueryActionOverrideSpec.$, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "queryActionOverride",
    }, undefined),
    mojo.internal.StructField('preselected_input_source_$flag', 0, 4, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "preselected_input_source_$value",
        originalFieldName: "preselectedInputSource",
    }, undefined),
    mojo.internal.StructField('preselected_input_source_$value', 20, 0, InputSourceSpec.$, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "preselectedInputSource",
    }, undefined),
    mojo.internal.StructField('searchbox_override_$flag', 0, 5, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "searchbox_override_$value",
        originalFieldName: "searchboxOverride",
    }, undefined),
    mojo.internal.StructField('searchbox_override_$value', 24, 0, SearchboxOverrideSpec.$, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "searchboxOverride",
    }, undefined),
], [[0, 40],]);
