import type { InternalNamePath } from 'antd/lib/form/interface'; import type { ProRule } from '../propsType'; interface Props { rules?: ProRule[]; required?: boolean; isSelect: boolean; label?: string; names?: InternalNamePath[]; labelRequired?: boolean; type?: string; } declare const useRules: (props: Props) => { rules: ProRule[]; required?: boolean; }; export default useRules;