import { type FocusEvent, type KeyboardEvent, type SyntheticEvent } from 'react';
import type { TreeLikeAutocompleteProps } from '../types';
type UseLogicProps = TreeLikeAutocompleteProps;
export declare const useLogic: ({ value, options, onBlur }: UseLogicProps) => {
    inputProps: {
        valueToRender: import("../types").TreeLikeListAutocompleteData[] | undefined;
        onBlur: (event: FocusEvent<HTMLInputElement>) => void;
        onClick: () => void;
        onKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
    };
    optionsModalProps: {
        isOpen: boolean;
        onClose: (event: SyntheticEvent<HTMLButtonElement>) => void;
    };
};
export {};
