/// import { Reader } from '../reader'; import { Writer } from '../writer'; export interface ParserOptions { size?: number; encoding?: string; reviver?: (key: any, value: any) => any; unbounded?: boolean; } export declare function parser(options?: ParserOptions): (reader: Reader, writer: Writer) => void; export interface FormatterOptions { unbounded?: boolean; replacer?: (key: string, value: any) => any; space?: string; } export declare function formatter(options?: FormatterOptions): (reader: Reader, writer: Writer) => void;