import * as zjson from '../zjson'; import { EncodeStream } from '../encode-stream'; import { TypeError } from '../types/type-error'; import { Value } from './types'; export declare class Error implements Value { type: TypeError; value: Value | null; constructor(type: TypeError, value: Value | null); toJS(): globalThis.Error; toString(): string; serialize(stream: EncodeStream): zjson.Value; isUnset(): boolean; }