import { RefObject } from 'react';
type UseChipLayoutOptions = {
    selectedOptionsLength: number;
    singleRow?: boolean;
    maxChips?: number;
};
/**
 * Manages chip layout calculations shared between MultiSelectFieldInput and
 * MultiSelectFieldTrigger. Handles single-row overflow detection, visible chip
 * count, and the "+N" hidden chip indicator.
 * @param options - Configuration for chip layout behaviour
 * @returns rowsRef to attach to the chip container, plus computed display/hidden counts
 */
export declare function useChipLayout({ selectedOptionsLength, singleRow, maxChips, }: UseChipLayoutOptions): {
    rowsRef: RefObject<HTMLDivElement>;
    displayCount: number;
    hiddenCount: number;
};
export {};
