import { Option } from '../../select-v4';
type OnSelectOptions = Partial<{
    searchTerm: string;
}>;
export type RecursiveStateItem<T extends Option = Option> = {
    data: T;
    options: OnSelectOptions;
};
export declare function useRecursiveSelect<T extends Option = Option>(): {
    onSelect: (item: T, options?: OnSelectOptions) => void;
    currentItem: RecursiveStateItem<T>;
    resetRecursiveState: () => void;
    onBack: () => void;
};
export {};
