import { JsonObjectFieldProps } from './JsonObjectField';
import { Dispatch, SetStateAction } from 'react';

type JsonFieldValue = Record<string, unknown> | Record<string, unknown>[];
export type JsonFieldProps = Omit<JsonObjectFieldProps, 'value' | 'onChange'> & {
    label?: string;
    value: JsonFieldValue;
    useModal?: boolean;
    disableLabel?: boolean;
    _collapsedPaths?: string[];
    _setCollapsedPaths?: Dispatch<SetStateAction<string[]>>;
    startCollapsed?: boolean;
    _index?: number;
    hideLineNumbers?: boolean;
    onChange: (newValue: JsonFieldValue, e: {
        target: {
            name: string;
        };
    }) => void;
    fontSize?: number;
};
export declare const RawJsonField: (props: JsonFieldProps) => import("react/jsx-runtime").JSX.Element;
export declare const JsonField: (props: JsonFieldProps) => import("react/jsx-runtime").JSX.Element;
export {};
