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