import { type SyntheticEvent } from 'react';
import { type TreeListData } from '../../../Tree';
import type { TreeLikeAutocompleteValue } from '../../types';
import { type InputProps } from '../types';
export declare const useLogic: ({ value, disabled, isLoading, inputRef: externalInputRef, onChange, }: InputProps) => {
    textFieldProps: {
        $isHidden: boolean;
        inputRef: import("react").RefObject<HTMLInputElement | null>;
        value: string | TreeLikeAutocompleteValue;
    };
    isVisibleTagsList: boolean;
    isVisibleClearButton: boolean;
    handleChange: (newValue: TreeListData[] | undefined) => void;
    handleClearAll: (event: SyntheticEvent<HTMLButtonElement>) => void;
};
