import { IObservableArray } from 'mobx'; import { IType, IComplexType } from './Type'; import { CoreType } from './Primitives'; import { ObjectType } from './complex-types/ObjectType'; import { IdentifierType } from './utility-types/Identifier'; import { OptionalValue } from './utility-types/Optional'; export declare enum TypeFlags { String = 1, Number = 2, Boolean = 4, Date = 8, Literal = 16, Array = 32, Map = 64, Object = 128, Frozen = 256, Optional = 512, Reference = 1024, Identifier = 2048, Late = 4096, Refinement = 8192, Union = 16384, Null = 32768, Undefined = 65536, Any = 131072, Nil = 262144, } export declare function isType(value: any): value is IType; export declare function isPrimitiveType(type: any): type is CoreType; export declare function isArrayType(type: any): type is IComplexType>; export declare function isObjectType(type: any): type is ObjectType; export declare function isIdentifierType(type: any): type is IdentifierType; export declare function isOptionalType(type: any): type is OptionalValue;