import * as zjson from "../../zjson";
import { DecodeStream } from "../decode-stream";
import { EncodeStream } from "../encode-stream";
import { Union } from "../values/union";
import { Type } from "./types";
export declare class TypeUnion implements Type {
    types: Type[];
    kind: string;
    id?: number | string;
    constructor(types: Type[]);
    static stringify(types: Type[]): string;
    create(value: zjson.UnionValue, stream: DecodeStream): Union;
    serialize(stream: EncodeStream): zjson.NoId<zjson.UnionType>;
    toString(): string;
}
