import { ReactNode, KeyboardEvent } from 'react';
import { ICheckSelected, IHandleSearch, IOnSelectChange, IRemoveSelectedOption, IResetSelect } from './types';
export declare const checkSelected: (props: ICheckSelected) => boolean | undefined;
export declare const removeSelectedOption: ({ selectState, setSelectState, value, onChange, name, }: IRemoveSelectedOption) => void;
export declare const onSelectChange: ({ mode, event, name, selectState, onChange, setOpenSelect, setSelectState, setShowSearchIcon, }: IOnSelectChange) => void;
export declare function handleSearch(props: IHandleSearch): void;
export declare const updatedInputWidth: (searchInputRef: React.RefObject<HTMLInputElement>) => void;
/**
 *Use to transform a react children in an `Array` to a `string`
 *
 * @param {*} children
 * @return {*}  {string}
 */
export declare const childrenToString: (children: ReactNode) => string;
export declare const resetSelect: (props: IResetSelect) => void;
interface IHandleFocusChangeProps {
    e: KeyboardEvent<HTMLLIElement>;
    optionContainerRef: React.RefObject<HTMLDivElement>;
}
export declare function handleFocusChange({ optionContainerRef, e }: IHandleFocusChangeProps): void;
export {};
