"use strict";
/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.genericFieldKind = exports.allowsRepoSuperset = exports.Multiplicity = exports.FieldKind = exports.CrossFieldTarget = exports.ModularEditBuilder = exports.isNeverField = exports.idAllocatorFromMaxId = exports.SequenceField = exports.jsonableTreeFromCursor = exports.singleTextCursor = exports.prefixFieldPath = exports.prefixPath = exports.singleStackTreeCursor = exports.makeSchemaCodec = exports.SchemaEditor = exports.SchemaSummarizer = exports.buildForest = exports.mapTreeFromCursor = exports.singleMapTreeCursor = exports.ForestSummarizer = exports.cursorsForTypedFieldData = exports.cursorForTypedTreeData = exports.cursorForTypedData = exports.cursorsFromContextualData = exports.cursorFromContextualData = exports.getFieldSchema = exports.getFieldKind = exports.isContextuallyTypedNodeDataObject = exports.getPrimaryField = exports.isPrimitiveValue = exports.valueSymbol = exports.typeNameSymbol = exports.setField = exports.compileSyntaxTree = exports.comparePipeline = exports.toDownPath = exports.BindingType = exports.indexSymbol = exports.createFlushableBinderOptions = exports.createBinderOptions = exports.createDataBinderInvalidating = exports.createDataBinderDirect = exports.createDataBinderBuffering = exports.localNodeKeySymbol = exports.proxyTargetSymbol = exports.isEditableTree = exports.isPrimitive = exports.isEditableField = exports.getEditableTreeContext = void 0;
exports.SchemaAware = exports.contextSymbol = exports.on = exports.parentField = exports.getField = exports.typeSymbol = exports.defaultSchemaPolicy = exports.DefaultEditBuilder = exports.DefaultChangeFamily = exports.FieldKinds = exports.nodeKeyTreeIdentifier = exports.nodeKeyFieldKey = exports.NodeKeyIndex = exports.createMockNodeKeyManager = exports.createNodeKeyManager = exports.compareLocalNodeKeys = exports.defaultChunkPolicy = exports.buildChunkedForest = exports.chunkTree = exports.dummyRepairDataStore = exports.ForestRepairDataStoreProvider = exports.ForestRepairDataStore = exports.populateChildModifications = exports.mapMarkList = exports.mapMark = exports.mapFieldMarks = exports.InternalTypedSchemaTypes = exports.Any = exports.FieldSchema = exports.TreeSchema = exports.SchemaBuilder = exports.NodeExistenceState = exports.ViewSchema = exports.revisionMetadataSourceFromInfo = void 0;
var editable_tree_1 = require("./editable-tree");
Object.defineProperty(exports, "getEditableTreeContext", { enumerable: true, get: function () { return editable_tree_1.getEditableTreeContext; } });
Object.defineProperty(exports, "isEditableField", { enumerable: true, get: function () { return editable_tree_1.isEditableField; } });
Object.defineProperty(exports, "isPrimitive", { enumerable: true, get: function () { return editable_tree_1.isPrimitive; } });
Object.defineProperty(exports, "isEditableTree", { enumerable: true, get: function () { return editable_tree_1.isEditableTree; } });
Object.defineProperty(exports, "proxyTargetSymbol", { enumerable: true, get: function () { return editable_tree_1.proxyTargetSymbol; } });
Object.defineProperty(exports, "localNodeKeySymbol", { enumerable: true, get: function () { return editable_tree_1.localNodeKeySymbol; } });
Object.defineProperty(exports, "createDataBinderBuffering", { enumerable: true, get: function () { return editable_tree_1.createDataBinderBuffering; } });
Object.defineProperty(exports, "createDataBinderDirect", { enumerable: true, get: function () { return editable_tree_1.createDataBinderDirect; } });
Object.defineProperty(exports, "createDataBinderInvalidating", { enumerable: true, get: function () { return editable_tree_1.createDataBinderInvalidating; } });
Object.defineProperty(exports, "createBinderOptions", { enumerable: true, get: function () { return editable_tree_1.createBinderOptions; } });
Object.defineProperty(exports, "createFlushableBinderOptions", { enumerable: true, get: function () { return editable_tree_1.createFlushableBinderOptions; } });
Object.defineProperty(exports, "indexSymbol", { enumerable: true, get: function () { return editable_tree_1.indexSymbol; } });
Object.defineProperty(exports, "BindingType", { enumerable: true, get: function () { return editable_tree_1.BindingType; } });
Object.defineProperty(exports, "toDownPath", { enumerable: true, get: function () { return editable_tree_1.toDownPath; } });
Object.defineProperty(exports, "comparePipeline", { enumerable: true, get: function () { return editable_tree_1.comparePipeline; } });
Object.defineProperty(exports, "compileSyntaxTree", { enumerable: true, get: function () { return editable_tree_1.compileSyntaxTree; } });
Object.defineProperty(exports, "setField", { enumerable: true, get: function () { return editable_tree_1.setField; } });
var contextuallyTyped_1 = require("./contextuallyTyped");
Object.defineProperty(exports, "typeNameSymbol", { enumerable: true, get: function () { return contextuallyTyped_1.typeNameSymbol; } });
Object.defineProperty(exports, "valueSymbol", { enumerable: true, get: function () { return contextuallyTyped_1.valueSymbol; } });
Object.defineProperty(exports, "isPrimitiveValue", { enumerable: true, get: function () { return contextuallyTyped_1.isPrimitiveValue; } });
Object.defineProperty(exports, "getPrimaryField", { enumerable: true, get: function () { return contextuallyTyped_1.getPrimaryField; } });
Object.defineProperty(exports, "isContextuallyTypedNodeDataObject", { enumerable: true, get: function () { return contextuallyTyped_1.isContextuallyTypedNodeDataObject; } });
Object.defineProperty(exports, "getFieldKind", { enumerable: true, get: function () { return contextuallyTyped_1.getFieldKind; } });
Object.defineProperty(exports, "getFieldSchema", { enumerable: true, get: function () { return contextuallyTyped_1.getFieldSchema; } });
Object.defineProperty(exports, "cursorFromContextualData", { enumerable: true, get: function () { return contextuallyTyped_1.cursorFromContextualData; } });
Object.defineProperty(exports, "cursorsFromContextualData", { enumerable: true, get: function () { return contextuallyTyped_1.cursorsFromContextualData; } });
Object.defineProperty(exports, "cursorForTypedData", { enumerable: true, get: function () { return contextuallyTyped_1.cursorForTypedData; } });
Object.defineProperty(exports, "cursorForTypedTreeData", { enumerable: true, get: function () { return contextuallyTyped_1.cursorForTypedTreeData; } });
Object.defineProperty(exports, "cursorsForTypedFieldData", { enumerable: true, get: function () { return contextuallyTyped_1.cursorsForTypedFieldData; } });
var forestSummarizer_1 = require("./forestSummarizer");
Object.defineProperty(exports, "ForestSummarizer", { enumerable: true, get: function () { return forestSummarizer_1.ForestSummarizer; } });
var mapTreeCursor_1 = require("./mapTreeCursor");
Object.defineProperty(exports, "singleMapTreeCursor", { enumerable: true, get: function () { return mapTreeCursor_1.singleMapTreeCursor; } });
Object.defineProperty(exports, "mapTreeFromCursor", { enumerable: true, get: function () { return mapTreeCursor_1.mapTreeFromCursor; } });
var object_forest_1 = require("./object-forest");
Object.defineProperty(exports, "buildForest", { enumerable: true, get: function () { return object_forest_1.buildForest; } });
var schemaSummarizer_1 = require("./schemaSummarizer");
Object.defineProperty(exports, "SchemaSummarizer", { enumerable: true, get: function () { return schemaSummarizer_1.SchemaSummarizer; } });
Object.defineProperty(exports, "SchemaEditor", { enumerable: true, get: function () { return schemaSummarizer_1.SchemaEditor; } });
// This is exported because its useful for doing comparisons of schema in tests.
var schemaIndexFormat_1 = require("./schemaIndexFormat");
Object.defineProperty(exports, "makeSchemaCodec", { enumerable: true, get: function () { return schemaIndexFormat_1.makeSchemaCodec; } });
var treeCursorUtils_1 = require("./treeCursorUtils");
Object.defineProperty(exports, "singleStackTreeCursor", { enumerable: true, get: function () { return treeCursorUtils_1.singleStackTreeCursor; } });
Object.defineProperty(exports, "prefixPath", { enumerable: true, get: function () { return treeCursorUtils_1.prefixPath; } });
Object.defineProperty(exports, "prefixFieldPath", { enumerable: true, get: function () { return treeCursorUtils_1.prefixFieldPath; } });
var treeTextCursor_1 = require("./treeTextCursor");
Object.defineProperty(exports, "singleTextCursor", { enumerable: true, get: function () { return treeTextCursor_1.singleTextCursor; } });
Object.defineProperty(exports, "jsonableTreeFromCursor", { enumerable: true, get: function () { return treeTextCursor_1.jsonableTreeFromCursor; } });
// Split this up into separate import and export for compatibility with API-Extractor.
const SequenceField = __importStar(require("./sequence-field"));
exports.SequenceField = SequenceField;
var modular_schema_1 = require("./modular-schema");
Object.defineProperty(exports, "idAllocatorFromMaxId", { enumerable: true, get: function () { return modular_schema_1.idAllocatorFromMaxId; } });
Object.defineProperty(exports, "isNeverField", { enumerable: true, get: function () { return modular_schema_1.isNeverField; } });
Object.defineProperty(exports, "ModularEditBuilder", { enumerable: true, get: function () { return modular_schema_1.ModularEditBuilder; } });
Object.defineProperty(exports, "CrossFieldTarget", { enumerable: true, get: function () { return modular_schema_1.CrossFieldTarget; } });
Object.defineProperty(exports, "FieldKind", { enumerable: true, get: function () { return modular_schema_1.FieldKind; } });
Object.defineProperty(exports, "Multiplicity", { enumerable: true, get: function () { return modular_schema_1.Multiplicity; } });
Object.defineProperty(exports, "allowsRepoSuperset", { enumerable: true, get: function () { return modular_schema_1.allowsRepoSuperset; } });
Object.defineProperty(exports, "genericFieldKind", { enumerable: true, get: function () { return modular_schema_1.genericFieldKind; } });
Object.defineProperty(exports, "revisionMetadataSourceFromInfo", { enumerable: true, get: function () { return modular_schema_1.revisionMetadataSourceFromInfo; } });
Object.defineProperty(exports, "ViewSchema", { enumerable: true, get: function () { return modular_schema_1.ViewSchema; } });
Object.defineProperty(exports, "NodeExistenceState", { enumerable: true, get: function () { return modular_schema_1.NodeExistenceState; } });
var typed_schema_1 = require("./typed-schema");
Object.defineProperty(exports, "SchemaBuilder", { enumerable: true, get: function () { return typed_schema_1.SchemaBuilder; } });
Object.defineProperty(exports, "TreeSchema", { enumerable: true, get: function () { return typed_schema_1.TreeSchema; } });
Object.defineProperty(exports, "FieldSchema", { enumerable: true, get: function () { return typed_schema_1.FieldSchema; } });
Object.defineProperty(exports, "Any", { enumerable: true, get: function () { return typed_schema_1.Any; } });
Object.defineProperty(exports, "InternalTypedSchemaTypes", { enumerable: true, get: function () { return typed_schema_1.InternalTypedSchemaTypes; } });
var deltaUtils_1 = require("./deltaUtils");
Object.defineProperty(exports, "mapFieldMarks", { enumerable: true, get: function () { return deltaUtils_1.mapFieldMarks; } });
Object.defineProperty(exports, "mapMark", { enumerable: true, get: function () { return deltaUtils_1.mapMark; } });
Object.defineProperty(exports, "mapMarkList", { enumerable: true, get: function () { return deltaUtils_1.mapMarkList; } });
Object.defineProperty(exports, "populateChildModifications", { enumerable: true, get: function () { return deltaUtils_1.populateChildModifications; } });
var forestRepairDataStore_1 = require("./forestRepairDataStore");
Object.defineProperty(exports, "ForestRepairDataStore", { enumerable: true, get: function () { return forestRepairDataStore_1.ForestRepairDataStore; } });
Object.defineProperty(exports, "ForestRepairDataStoreProvider", { enumerable: true, get: function () { return forestRepairDataStore_1.ForestRepairDataStoreProvider; } });
var fakeRepairDataStore_1 = require("./fakeRepairDataStore");
Object.defineProperty(exports, "dummyRepairDataStore", { enumerable: true, get: function () { return fakeRepairDataStore_1.dummyRepairDataStore; } });
var chunked_forest_1 = require("./chunked-forest");
Object.defineProperty(exports, "chunkTree", { enumerable: true, get: function () { return chunked_forest_1.chunkTree; } });
Object.defineProperty(exports, "buildChunkedForest", { enumerable: true, get: function () { return chunked_forest_1.buildChunkedForest; } });
Object.defineProperty(exports, "defaultChunkPolicy", { enumerable: true, get: function () { return chunked_forest_1.defaultChunkPolicy; } });
var node_key_1 = require("./node-key");
Object.defineProperty(exports, "compareLocalNodeKeys", { enumerable: true, get: function () { return node_key_1.compareLocalNodeKeys; } });
Object.defineProperty(exports, "createNodeKeyManager", { enumerable: true, get: function () { return node_key_1.createNodeKeyManager; } });
Object.defineProperty(exports, "createMockNodeKeyManager", { enumerable: true, get: function () { return node_key_1.createMockNodeKeyManager; } });
Object.defineProperty(exports, "NodeKeyIndex", { enumerable: true, get: function () { return node_key_1.NodeKeyIndex; } });
Object.defineProperty(exports, "nodeKeyFieldKey", { enumerable: true, get: function () { return node_key_1.nodeKeyFieldKey; } });
Object.defineProperty(exports, "nodeKeyTreeIdentifier", { enumerable: true, get: function () { return node_key_1.nodeKeyTreeIdentifier; } });
var default_field_kinds_1 = require("./default-field-kinds");
Object.defineProperty(exports, "FieldKinds", { enumerable: true, get: function () { return default_field_kinds_1.FieldKinds; } });
Object.defineProperty(exports, "DefaultChangeFamily", { enumerable: true, get: function () { return default_field_kinds_1.DefaultChangeFamily; } });
Object.defineProperty(exports, "DefaultEditBuilder", { enumerable: true, get: function () { return default_field_kinds_1.DefaultEditBuilder; } });
Object.defineProperty(exports, "defaultSchemaPolicy", { enumerable: true, get: function () { return default_field_kinds_1.defaultSchemaPolicy; } });
var untypedTree_1 = require("./untypedTree");
Object.defineProperty(exports, "typeSymbol", { enumerable: true, get: function () { return untypedTree_1.typeSymbol; } });
Object.defineProperty(exports, "getField", { enumerable: true, get: function () { return untypedTree_1.getField; } });
Object.defineProperty(exports, "parentField", { enumerable: true, get: function () { return untypedTree_1.parentField; } });
Object.defineProperty(exports, "on", { enumerable: true, get: function () { return untypedTree_1.on; } });
Object.defineProperty(exports, "contextSymbol", { enumerable: true, get: function () { return untypedTree_1.contextSymbol; } });
// Split into separate import and export for compatibility with API-Extractor.
const SchemaAware = __importStar(require("./schema-aware"));
exports.SchemaAware = SchemaAware;
//# sourceMappingURL=index.js.map