import * as t from 'flow-runtime' ; const voidType = t . void ; const typeOf = t . typeOf ; t . undef = ( ) => { return voidType . bind ( t ) ( ) ; } ; t . nostrict = ( ... args ) => { return t . union ( ... args , t . null ( ) , t . undef ( ) ) ; } ; t . void = ( ) => { return t . union ( t . null ( ) , t . undef ( ) ) ; } ; t . n = ( ... args ) => { return t . nullable ( ... args ) ; } ; t . enum = ( ... args ) => { return t . union ( ... args ) ; } ; t . enumMember = ( arg ) => { return t . literal ( arg ) ; } ; t . enumRef = ( ... args ) => { return t . typeOf ( ... args ) ; } ; t . typeOf = ( input , declaration = false ) => { if ( declaration && typeof input === 'string' ) { input = t . get ( input ) ; if ( input ) { if ( input . typeName === 'ClassDeclaration' ) { return t . Class ( input ) ; } return input ; } } return typeOf . bind ( t ) ( input ) ; } ; export const lib = t ; export default t ;