import { Type, TypeClass, TypeEnum, TypeObjectLiteral, TypeUnion } from '../reflection/type.js'; import { Schema } from "./types.js"; export interface SchemeEntry { name: string; schema: Schema; type: Type; } export type RegistableSchema = TypeClass | TypeObjectLiteral | TypeEnum | TypeUnion; export type SchemaKeyFn = (t: RegistableSchema) => string | undefined; export declare class SchemaRegistry { private customSchemaKeyFn?; store: Map; constructor(customSchemaKeyFn?: SchemaKeyFn | undefined); getSchemaKey(t: RegistableSchema): string; getTypeKey(t: Type): string; registerSchema(name: string, type: Type, schema: Schema): void; } export declare type __ΩSchemeEntry = any[]; export declare type __ΩRegistableSchema = any[]; export declare type __ΩSchemaKeyFn = any[];