import { Component } from 'react'; import { ValidationField } from '@/types'; import { ValidationType } from '@/constants'; import './index.less'; interface ValidationSetterProps { type: ValidationType; value: ValidationInfoProps; onChange: (info: ValidationInfoProps) => void; selected?: any; field?: any; } /** * 返回值类型定义 */ interface ValidationInfoProps extends ValidationField { type: ValidationType; } export default class extends Component { render(): JSX.Element; } export {};