import * as zjson from '../zjson'; import { DecodeStream } from '../decode-stream'; import { Value } from '../values/types'; import { Type } from './types'; export declare abstract class BasePrimitive<_T> implements Type { kind: string; abstract name: string; abstract create(value: zjson.Value, stream: DecodeStream): Value; serialize(): zjson.PrimitiveType; toString(): string; }