import * as ts from 'typescript'; export declare function isUnionType(type: ts.Type): type is ts.UnionType;