import { type ReactNode, type SyntheticEvent } from 'react';
import { type SelectProps } from '../types';
export declare const useLogic: <TValue>({ value, onChange, children, open: externalIsOpened, defaultOpen, multiple, isEnableAllSelection, isShowClearButton, valueOptions, onSelectAll, onUnselectAll, name, placeholder, onClose, onOpen, loading, }: SelectProps<TValue>) => {
    isOpened: boolean;
    isNoData: boolean;
    isShowingClearButton: boolean;
    resetButtonRef: import("react").RefObject<HTMLButtonElement | null>;
    openSelect: () => void;
    closeSelect: (e: SyntheticEvent) => void;
    onClearAll: () => void;
    isShowingSelectAll: boolean | undefined;
    handleChangeOption: (event: unknown, child: ReactNode) => void;
    isSelectedAll: boolean | undefined;
    isIndeterminate: boolean | undefined;
    optionsLength: number | null;
    handleChangeArrayValue: (inputValue: TValue[] | undefined) => void | undefined;
    selectAllClassName: string | undefined;
    findMenuItemsLabel: (nodes: ReactNode, selectedValue: TValue) => ReactNode;
    isShowingPlaceholder: boolean;
};
