import * as React from 'react'; /** * Width (px) a tab needs before its text label is worth rendering. Below this the * label truncates to unreadable stubs ("Se..." for both Sensors and Settings), so * the strip drops to icon-only instead. */ export declare const MIN_TAB_LABEL_WIDTH = 64; /** * Whether a strip of `itemCount` items in `width` px is too tight for text labels. * Non-positive or non-finite widths (unmeasured, detached, display:none) count as * compact — icon-only is never visually broken, a truncated label is. */ export declare function isCompactWidth(width: number, itemCount: number, minItemWidth?: number): boolean; /** * Tracks whether a tab strip has room for text labels. * * Measures the element rather than the viewport because the viewer sidebar's width * is user-resizable and persisted (see `useResizableSidebarWidth`) — a media query * cannot see a sidebar the user dragged narrow on a wide screen. * * Starts compact so the first paint is icon-only and never flashes truncated text; * labels appear on the first measurement if they fit. */ export declare function useCompactTabStrip(ref: React.RefObject, itemCount: number, minItemWidth?: number): boolean; //# sourceMappingURL=useCompactTabStrip.d.ts.map