/** * Copyright IBM Corp. 2025, 2025 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { RefObject } from 'react'; type Item = { id: string; }; export declare function useOverflowItems(items: T[] | undefined, containerRef: RefObject, offsetRef?: RefObject, maxItems?: number, onChange?: (value: { hiddenItems?: T[]; minWidth?: number; maxWidth?: number; }) => void): { visibleItems: T[]; itemRefHandler: (id: string, node: HTMLElement | null) => void; hiddenItems: T[]; offsetRefHandler: (node: HTMLElement | null) => HTMLElement; }; export {}; //# sourceMappingURL=useOverflowItems.d.ts.map