import { type ButtonProps } from '../../../Button'; import { type DialogProps, type DialogSize } from '../../../Dialog'; import { type SearchFieldProps } from '../../../SearchField'; import { type TreeListProps } from '../../../Tree'; import type { TreeAsyncAutocompleteValue } from '../../types'; import type { OptionsModalProps } from '../types'; type UseLogicParams = OptionsModalProps; type UseLogicResult = { isNoResult: boolean; isShowSearchSuggestion: boolean; searchFieldProps: SearchFieldProps; modalProps: DialogProps & { size: DialogSize; }; treeListProps: TreeListProps; cancelButtonProps: ButtonProps; confirmButtonProps: ButtonProps; handleRetry: () => void; isShowUserHint?: boolean; isShowModalLoader: boolean; isShowSearchFieldLoader?: boolean; treeProps?: Pick; isLoadingError?: boolean; loadingErrorMsg?: string; }; export declare const useLogic: ({ isOpen, initialValue, options, onChange, dialogProps, onInputChange, onRetry, meta, onShowUserHint, isLoadingModal, minSymbolsToFetch, isLoading, isLoadingError, loadingErrorMsg, treeProps, }: UseLogicParams) => UseLogicResult; export {};