UNPKG

@brimdata/zealot

Version:

The Javascript Client for Zed Lakes

16 lines (15 loc) 594 B
import * as zjson from "../../zjson"; import { DecodeStream } from "../decode-stream"; import { EncodeStream } from "../encode-stream"; import { ZedMap } from "../values/map"; import { Type } from "./types"; export declare class TypeMap implements Type { keyType: Type; valType: Type; kind: string; constructor(keyType: Type, valType: Type); static stringify(keyType: Type, valType: Type): string; create(value: [zjson.Value, zjson.Value][] | null, stream: DecodeStream): ZedMap; serialize(stream: EncodeStream): zjson.NoId<zjson.MapType>; toString(): string; }