import { Form } from 'antd'; import type { GetRef, SelectProps as AntdSelectProps, ButtonProps } from 'antd'; import type { Rule as AntdRule } from 'antd/lib/form'; import type { DataNode, TreeProps } from 'antd/es/tree'; export type { ButtonProps, TreeProps }; export type SelectProps = Omit & { onOpenChange?: (open: boolean) => void; }; export type { DataNode as TreeDataType }; export type FormInstance = GetRef>; export type Rule = AntdRule;