"use strict";
/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Versioned = exports.Format = exports.FieldKeyEncodedChunkArray = exports.version = void 0;
const typebox_1 = require("@sinclair/typebox");
const util_1 = require("../util");
const chunked_forest_1 = require("./chunked-forest");
exports.version = 1.0;
// Define the FieldKey type, assuming it's a string
const FieldKeyType = (0, util_1.brandedStringType)();
// Define the type for an array of tuples [FieldKey, EncodedChunk]
exports.FieldKeyEncodedChunkArray = typebox_1.Type.Array(typebox_1.Type.Tuple([FieldKeyType, chunked_forest_1.EncodedChunk]));
exports.Format = typebox_1.Type.Object({
    version: typebox_1.Type.Literal(exports.version),
    data: exports.FieldKeyEncodedChunkArray,
}, { additionalProperties: false });
exports.Versioned = typebox_1.Type.Object({
    version: typebox_1.Type.Number(),
});
//# sourceMappingURL=forestSummarizerFormat.js.map