import { RefObject } from 'react'; import { SelectItemType } from './types'; export declare const checkIfTruncated: (element: HTMLElement | null) => boolean; export declare const useTruncationDetection: (ref: RefObject) => () => boolean; export declare const isItemSelected: (itemValue: string, selected: string | string[], type: SelectItemType) => boolean; export declare const getRightSlotConfig: (isSelected: boolean, type: SelectItemType, item: { disabled?: boolean; }) => { type: "checkbox"; props: { disabled: boolean | undefined; checked: boolean; size?: undefined; }; } | { type: "icon"; props: { size: number; disabled?: undefined; checked?: undefined; }; } | null;