import { JsonViewerConfig } from '../../editors/types';
export interface JsonViewerProps extends Omit<JsonViewerConfig, 'container' | 'value' | 'onChange'> {
    /** Uncontrolled initial JSON string. Ignored once `value` is provided. */
    defaultValue?: string;
    /** Controlled JSON string. The viewer reflects this value when it changes. */
    value?: string;
    /** Fires on every user-initiated change. Only relevant when `editable` is true. */
    onChange?: (value: string) => void;
    className?: string;
}
declare function JsonViewer({ defaultValue, value, onChange, className, ...config }: JsonViewerProps): import("react/jsx-runtime").JSX.Element;
declare namespace JsonViewer {
    var displayName: string;
}
export { JsonViewer };
//# sourceMappingURL=json-viewer.d.ts.map