// chrome/browser/new_tab_page/modules/file_suggestion/file_suggestion.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 { UrlSpec as url_mojom_UrlSpec } from '//resources/mojo/url/mojom/url.mojom-webui.js';
export const RecommendationTypeSpec = { $: mojo.internal.Enum() };
export var RecommendationType;
(function (RecommendationType) {
    RecommendationType[RecommendationType["MIN_VALUE"] = 0] = "MIN_VALUE";
    RecommendationType[RecommendationType["MAX_VALUE"] = 2] = "MAX_VALUE";
    RecommendationType[RecommendationType["kUsed"] = 0] = "kUsed";
    RecommendationType[RecommendationType["kShared"] = 1] = "kShared";
    RecommendationType[RecommendationType["kTrending"] = 2] = "kTrending";
})(RecommendationType || (RecommendationType = {}));
export const FileSpec = { $: {} };
mojo.internal.Struct(FileSpec.$, 'File', [
    mojo.internal.StructField('id', 0, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('justificationText', 8, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('iconUrl', 16, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('title', 24, 0, mojo.internal.String, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('itemUrl', 32, 0, url_mojom_UrlSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('recommendation_type_$flag', 40, 0, mojo.internal.Bool, false, false /* nullable */, 0, {
        isPrimary: true,
        linkedValueFieldName: "recommendation_type_$value",
        originalFieldName: "recommendationType",
    }, undefined),
    mojo.internal.StructField('recommendation_type_$value', 44, 0, RecommendationTypeSpec.$, 0, false /* nullable */, 0, {
        isPrimary: false,
        originalFieldName: "recommendationType",
    }, undefined),
], [[0, 56],]);
