import RJSFForm from '@rjsf/core';
import { GenericObjectType, RJSFSchema } from '@rjsf/utils';
import { JSONSchema7Definition } from 'json-schema';
import { Ref } from 'react';
export type JSONArrayEditorProps<T = unknown> = {
    value?: T[];
    arrayItemDefinition?: JSONSchema7Definition;
    onChange: (newValue: T[]) => void;
    onSubmit: (formData: T[]) => void;
    formRef?: Ref<RJSFForm<T, RJSFSchema, GenericObjectType>>;
};
declare function JSONArrayEditor<T = unknown>(props: JSONArrayEditorProps<T>): import("react/jsx-runtime").JSX.Element;
export default JSONArrayEditor;
//# sourceMappingURL=JSONArrayEditor.d.ts.map