import { KNativePointer } from "../../src/reexport-for-generated";
import { AnnotationUsage } from "./AnnotationUsage";
import { Es2pandaAstNodeType } from "./../Es2pandaEnums";
import { TypeNode } from "./TypeNode";
export declare class ETSUnionType extends TypeNode {
    constructor(pointer: KNativePointer, astNodeType: Es2pandaAstNodeType);
    static createETSUnionType(types: readonly TypeNode[], annotations?: readonly AnnotationUsage[]): ETSUnionType;
    static updateETSUnionType(original: ETSUnionType | undefined, types: readonly TypeNode[], annotations?: readonly AnnotationUsage[]): ETSUnionType;
    get types(): readonly TypeNode[];
    /** @deprecated */
    setValueTypes(type: TypeNode | undefined, index: number): this;
    /** @deprecated */
    setTypes(typesList: readonly TypeNode[]): this;
    protected readonly brandETSUnionType: undefined;
}
export declare function isETSUnionType(node: object | undefined): node is ETSUnionType;
