"use strict";
/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.supportedForestSummaryFormatVersions = exports.ForestSummaryFormatVersion = exports.forestSummaryKey = void 0;
/**
 * The key for the tree that contains the overall forest's summary tree.
 * This tree is added by the parent of the forest summarizer.
 * See {@link ForestIncrementalSummaryBuilder} for details on the summary structure.
 */
exports.forestSummaryKey = "Forest";
/**
 * The versions for the forest summary.
 */
var ForestSummaryFormatVersion;
(function (ForestSummaryFormatVersion) {
    /**
     * This version represents summary format before summary versioning was introduced.
     */
    ForestSummaryFormatVersion[ForestSummaryFormatVersion["v1"] = 1] = "v1";
    /**
     * This version adds metadata to the summary. This is backward compatible with version 1.
     */
    ForestSummaryFormatVersion[ForestSummaryFormatVersion["v2"] = 2] = "v2";
    /**
     * This version adds support for summaries with incremental chunks. Also, the ForestSummarizer's root contents are
     * stored in {@link summaryContentBlobKeyV3} instead of {@link summaryContentBlobKeyV1}.
     * This is not backward compatible with versions 1 and 2.
     */
    ForestSummaryFormatVersion[ForestSummaryFormatVersion["v3"] = 3] = "v3";
    /**
     * The latest version of the summary. Must be updated when a new version is added.
     */
    ForestSummaryFormatVersion[ForestSummaryFormatVersion["vLatest"] = 3] = "vLatest";
})(ForestSummaryFormatVersion || (exports.ForestSummaryFormatVersion = ForestSummaryFormatVersion = {}));
exports.supportedForestSummaryFormatVersions = new Set([
    ForestSummaryFormatVersion.v1,
    ForestSummaryFormatVersion.v2,
    ForestSummaryFormatVersion.v3,
]);
//# sourceMappingURL=summaryFormatCommon.js.map