/// <reference types="react" />
import { MultiSearchSelectProps } from '../components';
import { Option } from '../helpers';
type UseBaseRenderOptionProps<T extends Option> = {
    getItemProps?: (item: T) => {
        hasChild?: boolean;
    };
    renderOption: (item: T) => JSX.Element;
};
export declare function useBaseRenderOption<T extends Option>({ getItemProps, renderOption, }: UseBaseRenderOptionProps<T>): {
    baseRenderOption: MultiSearchSelectProps<T>['renderOption'];
};
export {};
