import { FieldNames } from 'rc-select/lib/Select'; export interface SelectProProps { options: (Record)[]; fieldNames?: FieldNames; } export interface SelectProReturn { options: (Record)[]; optionLabelProp: string; optionFilterProp: string; showSearch: boolean; allowClear: boolean; fieldNames: FieldNames; style: object; onSearch: (value: string) => void; } declare function useSelectPro({ options, fieldNames }: SelectProProps): SelectProReturn; export default useSelectPro;