import { default as React } from 'react';
export interface FieldSchema {
    type: 'string' | 'number' | 'boolean' | 'object' | 'array';
    title?: string;
    name: string;
    description?: string;
    properties?: Record<string, FieldSchema>;
    default?: any;
    enum?: string[];
    minItems?: number;
    maxItems?: number;
    items?: FieldSchema[];
    widget?: string;
    min?: number;
    style?: React.CSSProperties;
    required?: string[];
}
export type statusType = 'error' | 'warning' | '' | undefined;
export interface FormWidgetProps {
    status?: statusType;
    isInFormItems?: boolean;
    widget: 'Input' | 'Select' | 'Checkbox' | 'InputNumber';
    name: string;
    title?: string;
    required?: boolean;
    placeholder?: string;
    readOnly?: boolean;
    options?: {
        label: string;
        value: string | number;
    }[];
    description?: string;
    enum?: (string | number)[];
    style?: React.CSSProperties;
    value?: any;
    checked?: boolean;
    min?: number;
    max?: number;
}
