import { type ButtonProps } from '../../../Button';
import { type CheckableTagProps } from '../../../CheckableTag';
import { type DialogProps, type DialogSize } from '../../../Dialog';
import { type SearchFieldProps } from '../../../SearchField';
import { type TreeLikeListProps } from '../../../TreeLikeList';
import type { TreeLikeAsyncAutocompleteValue } from '../../types';
import type { OptionsModalProps } from '../types';
type UseLogicParams = OptionsModalProps;
type UseLogicResult = {
    isNoResult: boolean;
    isShowSearchSuggestion: boolean;
    searchFieldProps: SearchFieldProps;
    modalProps: DialogProps & {
        size: DialogSize;
    };
    treeListProps: TreeLikeListProps<TreeLikeAsyncAutocompleteValue>;
    cancelButtonProps: ButtonProps;
    confirmButtonProps: ButtonProps;
    handleRetry: () => void;
    isShowUserHint?: boolean;
    isShowModalLoader: boolean;
    isShowSearchFieldLoader?: boolean;
    treeProps?: Pick<TreeLikeListProps, 'disabledItems' | 'renderItem'>;
    isLoadingError?: boolean;
    loadingErrorMsg?: string;
    badgeContent: number;
    selectedTreeProps: TreeLikeListProps<TreeLikeAsyncAutocompleteValue>;
    isShowSelectedTree?: boolean;
    checkableTagProps: CheckableTagProps;
};
export declare const useLogic: ({ isOpen, initialValue, options, onChange, dialogProps, onInputChange, onRetry, meta, onShowUserHint, isLoadingModal, minSymbolsToFetch, isLoading, isLoadingError, loadingErrorMsg, treeProps, }: UseLogicParams) => UseLogicResult;
export {};
