import { MAP, SCALAR, SEQ } from '../nodes/identity'; import type { Pair } from '../nodes/Pair'; import type { SchemaOptions, ToStringOptions } from '../options'; import type { CollectionTag, ScalarTag } from './types'; export declare class Schema { compat: Array | null; knownTags: Record; name: string; sortMapEntries: ((a: Pair, b: Pair) => number) | null; tags: Array; toStringOptions: Readonly | null; readonly [MAP]: CollectionTag; readonly [SCALAR]: ScalarTag; readonly [SEQ]: CollectionTag; constructor({ compat, customTags, merge, resolveKnownTags, schema, sortMapEntries, toStringDefaults }: SchemaOptions); clone(): Schema; }