import JSONEditorLib from 'jsoneditor';
import 'ayu-ace/dark';
import 'jsoneditor/dist/jsoneditor.min.css';
import React from 'react';
export interface JSONEditorProps {
    value?: unknown;
    onConfirm?: (value: unknown) => void;
    resultType?: 'text' | 'object';
}
export declare const JSONEditor: React.ForwardRefExoticComponent<{
    value: unknown;
} & React.RefAttributes<JSONEditorLib>>;
export declare const JSONEditorModal: ({ value, onConfirm, resultType, style }: JSONEditorProps & React.HTMLAttributes<HTMLDivElement>) => JSX.Element;
