import { TypeConfig } from '../config'; import { RootEntityType } from './root-entity-type'; import { ScalarType } from './scalar-type'; import { ChildEntityType } from './child-entity-type'; import { EntityExtensionType } from './entity-extension-type'; import { ValueObjectType } from './value-object-type'; import { EnumType } from './enum-type'; import { Model } from './model'; export type ObjectType = RootEntityType | ChildEntityType | EntityExtensionType | ValueObjectType; export type Type = ObjectType | ScalarType | EnumType; export declare class InvalidType extends ScalarType { constructor(name: string, model: Model); } export declare function createType(typeInput: TypeConfig, model: Model): Type;