@brimdata/zealot
Version:
The Javascript Client for Zed Lakes
17 lines (16 loc) • 619 B
TypeScript
import * as zjson from "../../zjson";
import { DecodeStream } from "../decode-stream";
import { EncodeStream } from "../encode-stream";
import { Field } from "../values/field";
import { Value } from "../values/types";
import { Type } from "./types";
export declare class TypeAlias implements Type {
name: string;
type: Type;
kind: string;
constructor(name: string, type: Type);
static stringify(name: string, type: Type): string;
create(value: zjson.Value, stream: DecodeStream, parent?: Field): Value;
serialize(stream: EncodeStream): zjson.NoId<zjson.NamedType>;
toString(): string;
}