UNPKG

@brimdata/zealot

Version:

The Javascript Client for Zed Lakes

16 lines (15 loc) 556 B
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; }