/// <reference types="react" />
import { CommonProps } from 'react-select';
import { Option } from '../select';
import { CustomProps } from './types';
type IncomingProps = {
    selectProps: CommonProps<Option, any, any>['selectProps'];
};
type GetCustomPropsReturnType = CustomProps & {
    menuIsClosed: boolean;
    menuIsOpen: boolean;
    renderOption: (option: Option) => JSX.Element;
};
export declare const getCustomProps: ({ selectProps }: IncomingProps) => GetCustomPropsReturnType;
export {};
