import React from 'react';
interface FormProps {
    form?: any;
    prefixCls?: string;
    className?: string;
    onCancel?: () => void;
    loading?: boolean;
    children: React.ReactNode;
    onFinish: (params: any) => any;
}
declare const Form: {
    (props: FormProps): JSX.Element;
    defaultProps: {
        prefixCls: string;
        onFinish: () => void;
        onCancel: () => void;
    };
    Card: {
        (props: CardProps): JSX.Element;
        defaultProps: {
            prefixCls: string;
        };
    };
    Items: {
        (props: ItemsProps): JSX.Element;
        defaultProps: {
            prefixCls: string;
            list: never[];
        };
    };
};
interface Item {
    props?: any;
    type?: string;
    rules?: any[];
    name: string;
    hidden?: boolean;
    noStyle?: boolean;
    required?: boolean;
    initialValue?: any;
    label?: React.ReactNode;
    render?: (item: Item, initialValue: any, initialValues: any) => React.ReactNode;
}
interface ItemsProps {
    prefixCls?: string;
    list: Item[];
    initialValues?: any;
}
interface CardProps extends ItemsProps {
    title?: string;
}
export default Form;
