import * as t from 'io-ts' ; export const type = t . keyof ( { eql : null , machine_learning : null , query : null , saved_query : null , threshold : null , threat_match : null , } ) ; export type Type = t . TypeOf < typeof type > ; export const typeOrUndefined = t . union ( [ type , t . undefined ] ) ; export type TypeOrUndefined = t . TypeOf < typeof typeOrUndefined > ;