import { Type } from "../Type"; import { TypeBuilderBase } from "./TypeBuilderBase"; export declare class UnionTypeBuilder extends TypeBuilderBase { private types; /** * Add types to union * @param types */ addTypes(...types: Type[]): this; /** * Build Union Type. * Does not return Union if there is only one type. * Returns Type.Undefined if there is no type. */ build(): Type; }