/** * Returns how many of `count` chips fit on one row of `ref`, leaving room for a * "+N" counter. Renders all chips first (to measure them), then caps; re-runs on * selection change and container resize. Falls back to `count` when it can't * measure (e.g. SSR / not yet laid out). */ export declare const useChipOverflow: (ref: { current: HTMLElement | null; }, count: number) => number;