import { Props as SelectProps } from 'react-select';
import { FormColorTypes, FormRoundedTypes, FormSizeTypes } from '../../../types/form-types';
export interface Select2Props extends SelectProps {
    label?: string;
    placeholder?: string;
    size?: FormSizeTypes;
    required?: boolean;
    showRequired?: boolean;
    disabled?: boolean;
    rounded?: FormRoundedTypes;
    color?: FormColorTypes;
    helperText?: string;
    error?: boolean;
    options: {
        value: string;
        label: string;
        color?: string;
        id?: string;
    }[];
    id?: string;
    borderColor?: string;
    onMenuScrollToBottom?: () => void;
    isLoadingMore?: boolean;
    hasMore?: boolean;
    paginationLoadingMessage?: string;
    defaultOptions?: {
        value: string;
        label: string;
        color?: string;
        id?: string;
    }[];
    cacheUniqs?: boolean;
    onInputChange?: (inputValue: string, actionMeta: any) => void;
    filterOption?: ((option: any, inputValue: string) => boolean) | null;
    debounceDelay?: number;
}
declare const Select2: import('react').ForwardRefExoticComponent<Select2Props & import('react').RefAttributes<HTMLDivElement>>;
export default Select2;
