import { FormItemProps, DatePickerProps, SwitchProps, InputNumberProps, CascaderProps, TreeSelectProps, RadioProps, RadioGroupProps, SliderSingleProps, CheckboxProps, InputProps } from 'antd'; import { TextAreaProps } from 'antd/lib/input'; import { RangePickerProps } from 'antd/lib/date-picker/generatePicker'; import { CheckboxGroupProps } from 'antd/lib/checkbox'; import { OnChainSelectProps } from '../OnChainSelect'; import { BasicsAttribute } from '../../utils/attribute'; import { OnChainPopoverTransferProps } from '../OnChainPopoverTransfer'; import { FC } from 'react'; import { OnChainSelectPopupProps } from '../OnChainSelectPopupForm/select'; export declare const OnChainTreeSelect: FC; export type contentProps = ({ formatFormProps?: (props: contentProps['props'], record: any, columnApicode: string) => contentProps; } & ({ type: 'Input'; cannotread?: string; middleware?: any; isbomtag?: boolean; props?: (InputProps & { options?: Record[]; }) | (Record & { options?: Record[]; }); } | { type: 'Select'; middleware?: any; cannotread?: string; props?: OnChainSelectProps; } | { type: 'PopupSelect'; cannotread?: string; middleware?: any; props?: any; } | { type: 'SearchSelect'; middleware?: any; cannotread?: string; props?: any; } | { type: 'Checkbox.Group'; cannotread?: string; middleware?: any; props?: CheckboxGroupProps; } | { type: 'Checkbox'; cannotread?: string; middleware?: any; props?: CheckboxProps; } | { type: 'Input.TextArea'; cannotread?: string; middleware?: any; props?: TextAreaProps; } | { type: 'Input.Password'; cannotread?: string; props?: any; middleware?: any; } | { type: 'Date'; cannotread?: string; middleware?: any; props?: DatePickerProps; } | { type: 'DatePicker.RangePicker'; cannotread?: string; middleware?: any; props?: RangePickerProps; } | { type: 'TimePicker.RangePicker'; cannotread?: string; middleware?: any; props?: any; } | { type: 'Image'; cannotread?: string; middleware?: any; props: {}; } | { type: 'File'; cannotread?: string; middleware?: any; props: {}; } | { type: 'Switch'; cannotread?: string; middleware?: any; props?: SwitchProps; } | { type: 'Number'; cannotread?: string; props?: { apicode?: string; } & InputNumberProps; middleware?: any; } | { type: 'Cascader'; cannotread?: string; middleware?: any; props?: CascaderProps; } | { type: 'TreeSelect'; cannotread?: string; middleware?: any; props?: TreeSelectProps; } | { type: 'Radio'; cannotread?: string; middleware?: any; props?: RadioProps; } | { type: 'Radio.Group'; cannotread?: string; middleware?: any; props?: RadioGroupProps; } | { type: 'Slider'; middleware?: any; cannotread?: string; props?: SliderSingleProps; } | { type: 'dynamicTable'; middleware?: any; cannotread?: string; props?: any; } | { type: 'Markdown'; cannotread?: string; middleware?: any; props?: any; } | { type: 'InputFile'; cannotread?: string; middleware?: any; props?: any; } | { type: 'DocumentFile'; middleware?: any; cannotread?: string; props?: any; } | { type: 'SelectTransfer'; middleware?: any; cannotread?: string; props?: OnChainSelectProps & { attr: BasicsAttribute; allListOptions: Record; popoverTransfer: Omit; }; } | { type: 'CompositeForm'; middleware?: any; cannotread?: string; props?: any; } | { type: 'Title'; middleware?: any; cannotread?: string; props?: any; } | { type: 'SelectPopup'; middleware?: any; cannotread?: string; props?: OnChainSelectPopupProps['selectProps']; })); export interface OnChainFormItemProps extends BaseComponentProps, FormItemProps { content: contentProps; ignoreNoWhiteSpaceStart?: boolean; readOnly?: boolean | (() => boolean); name?: string; suffix?: React.ReactNode | string; requiredMark?: any; NoWhiteSpaceStart?: TreeSelectProps; } declare const OnChainFormItem: React.FC; export default OnChainFormItem;