import React from 'react'; import { BaseOptionType } from 'antd/lib/select'; import { Control } from 'react-hook-form'; import * as List from '../icon/list'; export interface SelectsProps extends Partial> { options: T[]; name: string; control: Control; errorMsg?: string; label?: string; previewText?: string; fixedValue?: string | null; labelKey?: keyof T; valueKey?: keyof T; disabledKey?: keyof T; disabled?: boolean; suffixIcon?: React.ReactNode; iconName?: keyof typeof List; className?: string; cy?: { wrapper?: string; message?: string; select?: string; }; } declare function Select({ options, placeholder, showSearch, name, control, errorMsg, label, previewText, labelKey, valueKey, disabledKey, className, iconName, disabled, cy }: SelectsProps): JSX.Element; export default Select;