import type { PlainObject } from "../types"; export declare const pretty: unique symbol; export interface Printable { [pretty](printer: Printer): string; } export type PrinterOptions = { precision?: number; }; export declare class Printer { readonly precision?: number; protected readonly visited: Set; constructor(options?: PrinterOptions); to_string(obj: unknown): string; token(val: string): string; boolean(val: boolean): string; number(val: number): string; string(val: string): string; symbol(val: symbol): string; array(obj: Iterable): string; iterable(obj: Iterable): string; object(obj: PlainObject): string; array_buffer(obj: ArrayBuffer): string; } export declare function to_string(obj: unknown, options?: PrinterOptions): string; //# sourceMappingURL=pretty.d.ts.map