/// import { SelectProps } from 'antd/lib/select'; import { FormItemProps, Rule } from 'antd/lib/form'; import { CheckboxChangeEvent } from 'antd/lib/checkbox'; import { FinFormItemContextProps } from '../context/FinFormItemContext'; export declare type GetValues = (use: SourceFn | keyof T, obj: T) => any; export declare type SourceFn = (value?: T) => any; export interface FinSelectPropsSource { name?: string; value?: string; label?: string; } export interface FinSelectProps> extends Omit & FormItemProps, 'title'> { view: boolean; addonAfter: React.ReactNode; viewContent: React.ReactNode; handleAllChecked: (e?: CheckboxChangeEvent) => any; isMultipleAll: boolean; allSelect: boolean; all: boolean; title: FormItemProps['label']; sourceTitle: SourceFn | keyof (T & FinSelectPropsSource); sourceValue: SourceFn | keyof (T & FinSelectPropsSource); sourceLabel: SourceFn | keyof (T & FinSelectPropsSource); source: (T & FinSelectPropsSource)[]; formItemLayout: FinFormItemContextProps; name: string; rules: Rule[]; } export declare type FinSelect = (props: Partial>) => JSX.Element;