import { BaseEditor } from './base';
import { JsonViewerConfig } from './types';
export declare class JsonViewer extends BaseEditor {
    private editable;
    constructor(config: JsonViewerConfig);
    /** Pretty-print the JSON content */
    format(): void;
    /** Minify the JSON content */
    minify(): void;
    /** Check if the current content is valid JSON */
    validate(): boolean;
    /** Get the parsed JSON value, or null if invalid */
    getParsed(): unknown;
    /** Set the JSON content from a value (auto-formats) */
    setJson(value: unknown): void;
    /** Toggle between editable and read-only */
    setEditable(editable: boolean): void;
}
//# sourceMappingURL=json-viewer.d.ts.map