/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
import type { TreeStoredSchema } from "../../core/index.js";
import type { TreeSchema } from "../treeSchema.js";
import type { SchemaCompatibilityStatus } from "./tree.js";
/**
 * A collection of View information for schema
 * @remarks
 * This contains everything needed to determine compatibility with a given stored schema.
 */
export declare class SchemaCompatibilityTester {
    /**
     * Schema for the view
     */
    readonly viewSchema: TreeSchema;
    constructor(
    /**
     * Schema for the view
     */
    viewSchema: TreeSchema);
    /**
     * Determines the compatibility of a stored document
     * (based on its stored schema) with a viewer (based on its view schema).
     *
     * Adapters can be provided to handle differences between the two schema.
     * Adapters should only use to types in the `view` SchemaRepository.
     *
     * TODO: this API violates the parse don't validate design philosophy.
     * It should be wrapped with (or replaced by) a parse style API.
     */
    checkCompatibility(stored: TreeStoredSchema): Omit<SchemaCompatibilityStatus, "canInitialize">;
}
//# sourceMappingURL=schemaCompatibilityTester.d.ts.map