// components/omnibox/composebox/composebox_query.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';
export const ContextUploadStatusSpec = { $: mojo.internal.Enum() };
export var ContextUploadStatus;
(function (ContextUploadStatus) {
    ContextUploadStatus[ContextUploadStatus["MIN_VALUE"] = 0] = "MIN_VALUE";
    ContextUploadStatus[ContextUploadStatus["MAX_VALUE"] = 8] = "MAX_VALUE";
    ContextUploadStatus[ContextUploadStatus["kNotUploaded"] = 0] = "kNotUploaded";
    ContextUploadStatus[ContextUploadStatus["kProcessing"] = 1] = "kProcessing";
    ContextUploadStatus[ContextUploadStatus["kValidationFailed"] = 2] = "kValidationFailed";
    ContextUploadStatus[ContextUploadStatus["kUploadStarted"] = 3] = "kUploadStarted";
    ContextUploadStatus[ContextUploadStatus["kUploadSuccessful"] = 4] = "kUploadSuccessful";
    ContextUploadStatus[ContextUploadStatus["kUploadFailed"] = 5] = "kUploadFailed";
    ContextUploadStatus[ContextUploadStatus["kUploadExpired"] = 6] = "kUploadExpired";
    ContextUploadStatus[ContextUploadStatus["kProcessingSuggestSignalsReady"] = 7] = "kProcessingSuggestSignalsReady";
    ContextUploadStatus[ContextUploadStatus["kUploadReplaced"] = 8] = "kUploadReplaced";
})(ContextUploadStatus || (ContextUploadStatus = {}));
export const ContextUploadErrorTypeSpec = { $: mojo.internal.Enum() };
export var ContextUploadErrorType;
(function (ContextUploadErrorType) {
    ContextUploadErrorType[ContextUploadErrorType["MIN_VALUE"] = 0] = "MIN_VALUE";
    ContextUploadErrorType[ContextUploadErrorType["MAX_VALUE"] = 13] = "MAX_VALUE";
    ContextUploadErrorType[ContextUploadErrorType["kUnknown"] = 0] = "kUnknown";
    ContextUploadErrorType[ContextUploadErrorType["kBrowserProcessingError"] = 1] = "kBrowserProcessingError";
    ContextUploadErrorType[ContextUploadErrorType["kNetworkError"] = 2] = "kNetworkError";
    ContextUploadErrorType[ContextUploadErrorType["kServerError"] = 3] = "kServerError";
    ContextUploadErrorType[ContextUploadErrorType["kServerSizeLimitExceeded"] = 4] = "kServerSizeLimitExceeded";
    ContextUploadErrorType[ContextUploadErrorType["kAborted"] = 5] = "kAborted";
    ContextUploadErrorType[ContextUploadErrorType["kImageProcessingError"] = 6] = "kImageProcessingError";
    ContextUploadErrorType[ContextUploadErrorType["kBrowserProcessingFileTooLargeError"] = 7] = "kBrowserProcessingFileTooLargeError";
    ContextUploadErrorType[ContextUploadErrorType["kBrowserProcessingFileEmptyError"] = 8] = "kBrowserProcessingFileEmptyError";
    ContextUploadErrorType[ContextUploadErrorType["kBrowserProcessingMaxFilesExceededError"] = 9] = "kBrowserProcessingMaxFilesExceededError";
    ContextUploadErrorType[ContextUploadErrorType["kBrowserProcessingUnsupportedFileTypeError"] = 10] = "kBrowserProcessingUnsupportedFileTypeError";
    ContextUploadErrorType[ContextUploadErrorType["kBrowserProcessingFileUploadNotAllowedError"] = 11] = "kBrowserProcessingFileUploadNotAllowedError";
    ContextUploadErrorType[ContextUploadErrorType["kBrowserProcessingMaxImagesExceededError"] = 12] = "kBrowserProcessingMaxImagesExceededError";
    ContextUploadErrorType[ContextUploadErrorType["kBrowserProcessingMaxPdfsExceededError"] = 13] = "kBrowserProcessingMaxPdfsExceededError";
})(ContextUploadErrorType || (ContextUploadErrorType = {}));
export const ModelModeSpec = { $: mojo.internal.Enum() };
export var ModelMode;
(function (ModelMode) {
    ModelMode[ModelMode["MIN_VALUE"] = 0] = "MIN_VALUE";
    ModelMode[ModelMode["MAX_VALUE"] = 4] = "MAX_VALUE";
    ModelMode[ModelMode["kUnspecified"] = 0] = "kUnspecified";
    ModelMode[ModelMode["kGeminiRegular"] = 1] = "kGeminiRegular";
    ModelMode[ModelMode["kGeminiPro"] = 2] = "kGeminiPro";
    ModelMode[ModelMode["kGeminiProAutoroute"] = 3] = "kGeminiProAutoroute";
    ModelMode[ModelMode["kGeminiProNoGenUi"] = 4] = "kGeminiProNoGenUi";
})(ModelMode || (ModelMode = {}));
export const ToolModeSpec = { $: mojo.internal.Enum() };
export var ToolMode;
(function (ToolMode) {
    ToolMode[ToolMode["MIN_VALUE"] = 0] = "MIN_VALUE";
    ToolMode[ToolMode["MAX_VALUE"] = 10] = "MAX_VALUE";
    ToolMode[ToolMode["kUnspecified"] = 0] = "kUnspecified";
    ToolMode[ToolMode["kDeepSearch"] = 1] = "kDeepSearch";
    ToolMode[ToolMode["kCanvas"] = 2] = "kCanvas";
    ToolMode[ToolMode["kGeminiPro"] = 3] = "kGeminiPro";
    ToolMode[ToolMode["kImageGen"] = 4] = "kImageGen";
    ToolMode[ToolMode["kDeepBrowse"] = 5] = "kDeepBrowse";
    ToolMode[ToolMode["kImageGenSelfie"] = 6] = "kImageGenSelfie";
    ToolMode[ToolMode["kImageGenUpload"] = 7] = "kImageGenUpload";
    ToolMode[ToolMode["kDisableSuggest"] = 8] = "kDisableSuggest";
    ToolMode[ToolMode["kAim"] = 9] = "kAim";
    ToolMode[ToolMode["kAimGenPrompt"] = 10] = "kAimGenPrompt";
})(ToolMode || (ToolMode = {}));
export const InputTypeSpec = { $: mojo.internal.Enum() };
export var InputType;
(function (InputType) {
    InputType[InputType["MIN_VALUE"] = 0] = "MIN_VALUE";
    InputType[InputType["MAX_VALUE"] = 4] = "MAX_VALUE";
    InputType[InputType["kUnspecified"] = 0] = "kUnspecified";
    InputType[InputType["kLensImage"] = 1] = "kLensImage";
    InputType[InputType["kLensFile"] = 2] = "kLensFile";
    InputType[InputType["kBrowserTab"] = 3] = "kBrowserTab";
    InputType[InputType["kDrive"] = 4] = "kDrive";
})(InputType || (InputType = {}));
export const AimUrlParamSpec = { $: {} };
export const InputTypeConfigSpec = { $: {} };
export const ToolConfigSpec = { $: {} };
export const ModelConfigSpec = { $: {} };
export const SectionConfigSpec = { $: {} };
export const InputStateSpec = { $: {} };
mojo.internal.Struct(AimUrlParamSpec.$, 'AimUrlParam', [
    mojo.internal.StructField('paramKey', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('paramValue', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(InputTypeConfigSpec.$, 'InputTypeConfig', [
    mojo.internal.StructField('inputType', 0, 0, InputTypeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('menuLabel', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(ToolConfigSpec.$, 'ToolConfig', [
    mojo.internal.StructField('tool', 0, 0, ToolModeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('disableActiveModelSelection', 4, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('menuLabel', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('chipLabel', 16, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('hintText', 24, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('aimUrlParams', 32, 0, mojo.internal.Array(AimUrlParamSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('menuTooltip', 40, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 56],]);
mojo.internal.Struct(ModelConfigSpec.$, 'ModelConfig', [
    mojo.internal.StructField('model', 0, 0, ModelModeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('menuLabel', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('hintText', 16, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('aimUrlParams', 24, 0, mojo.internal.Array(AimUrlParamSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('menuTooltip', 32, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 48],]);
mojo.internal.Struct(SectionConfigSpec.$, 'SectionConfig', [
    mojo.internal.StructField('header', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(InputStateSpec.$, 'InputState', [
    mojo.internal.StructField('allowedModels', 0, 0, mojo.internal.Array(ModelModeSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('allowedTools', 8, 0, mojo.internal.Array(ToolModeSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('allowedInputTypes', 16, 0, mojo.internal.Array(InputTypeSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('activeModel', 24, 0, ModelModeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('activeTool', 28, 0, ToolModeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('disabledModels', 32, 0, mojo.internal.Array(ModelModeSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('disabledTools', 40, 0, mojo.internal.Array(ToolModeSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('disabledInputTypes', 48, 0, mojo.internal.Array(InputTypeSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('toolConfigs', 56, 0, mojo.internal.Array(ToolConfigSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('modelConfigs', 64, 0, mojo.internal.Array(ModelConfigSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('inputTypeConfigs', 72, 0, mojo.internal.Array(InputTypeConfigSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('toolsSectionConfig', 80, 0, SectionConfigSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('modelSectionConfig', 88, 0, SectionConfigSpec.$, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('hintText', 96, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('maxInputsByType', 104, 0, mojo.internal.Map(InputTypeSpec.$, mojo.internal.Int32, false), null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('maxTotalInputs', 112, 0, mojo.internal.Int32, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('isCanvasQuerySubmitted', 116, 0, mojo.internal.Bool, false, false /* nullable */, 0, undefined, undefined),
], [[0, 128],]);
