/// <reference types="react" />
import type { TagsListProps, TagValue } from '../types';
type UseLogicParams<TData extends TagValue> = TagsListProps<TData>;
export declare const useLogic: <TData extends TagValue>({ data, keyId, getOptionLabel, onChange, inputContainerRef, reservedWidth, }: UseLogicParams<TData>) => {
    visibleOptions: TData[];
    hiddenCount: number;
    showCounter: boolean;
    tagsContainerRef: import("react").RefObject<HTMLDivElement | null>;
    getTagProps: (option: TData) => {
        label: string | number;
        shrinks: boolean;
        onDelete: () => void;
    };
};
export {};
