import { CustomClassName, OptionType } from './type/commonType';
type CommonSelectProps<T extends string | number> = {
    optionList: OptionType<T>[];
    placeholder?: string;
    isSearchable?: boolean;
    isClearable?: boolean;
    disabled?: boolean;
    invalid?: boolean;
    maxHeight?: string;
    customClassName?: CustomClassName;
};
type SingleSelectProps<T extends string | number> = CommonSelectProps<T> & {
    isMulti?: false;
    value: T | null;
    onChange: (value: T | null) => void;
};
type MultiSelectProps<T extends string | number> = CommonSelectProps<T> & {
    isMulti: true;
    value: T[];
    onChange: (value: T[]) => void;
};
type SelectProps<T extends string | number> = SingleSelectProps<T> | MultiSelectProps<T>;
declare const Select: <T extends string | number>(props: SelectProps<T>) => import("react/jsx-runtime").JSX.Element;
export default Select;
