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