import { ComponentType } from 'react';
export interface JSONSchemaFormSchemaItem {
    label: string;
    component: string;
    componentProps: Record<string, unknown>;
    rules: Array<{
        min?: number;
        max?: number;
        len?: number;
        message?: string;
        validator?: () => void;
    }>;
}
export interface JSONSchemaFormProps {
    Form: ComponentType<{
        values?: Record<string, unknown>;
        onChange?: (values: Record<string, unknown>) => void;
    }>;
    FormItem: ComponentType<{
        name?: string;
        rules?: JSONSchemaFormSchemaItem['rules'];
    }>;
    uuid: string;
    values: Record<string, unknown>;
    onChange?: (values: Record<string, unknown>) => void;
    form: Record<string, unknown>;
    schema: Record<string, JSONSchemaFormSchemaItem>;
}
export declare const JSONSchemaForm: ({ values, onChange, form: formProps, schema, }: JSONSchemaFormProps) => JSX.Element;
//# sourceMappingURL=json-schema-form.d.ts.map