import { Schema } from "../Schema.js"; export declare class TypeContext { types: { [id: number]: typeof Schema; }; schemas: Map; hasFilters: boolean; parentFiltered: { [typeIdAndParentIndex: string]: boolean; }; /** * For inheritance support * Keeps track of which classes extends which. (parent -> children) */ static inheritedTypes: Map>; static cachedContexts: Map; static register(target: typeof Schema): void; static cache(rootClass: typeof Schema): TypeContext; constructor(rootClass?: typeof Schema); has(schema: typeof Schema): boolean; get(typeid: number): typeof Schema; add(schema: typeof Schema, typeid?: number): boolean; getTypeId(klass: typeof Schema): number; private discoverTypes; /** * Keep track of which classes have filters applied. * Format: `${typeid}-${parentTypeid}-${parentIndex}` */ private registerFilteredByParent; debug(): string; }