import type { MenuSection } from '../Menu/menu-types'; import { type TabItem, type TabItemTab } from '../TabGroup/tab-item-utils'; /** Map BarNav tabs to menu sections, preserving `{ type: 'divider' }` as section breaks. */ export declare function tabsToMenuSections(tabs: TabItem[], selectedId: string): MenuSection[]; export declare function tabsToOverflowMenuSections(tabs: TabItem[], selectedId: string): MenuSection[]; export declare function getActiveTab(tabs: TabItem[], selectedId: string): TabItemTab | undefined; export declare function getActiveTabLabel(tabs: TabItem[], selectedId: string): string; /** True when tablist content exceeds the available width (with optional hysteresis). */ export declare function tabsOverflowContainer(tabListScrollWidth: number, containerClientWidth: number, collapsed: boolean, hysteresis?: number): boolean; export declare function visibleTabCountForWidth(itemWidths: number[], availableWidth: number, overflowTriggerWidth: number, itemGap: number, listExtraWidth: number): number; export declare function trimTrailingDividers(tabs: TabItem[]): TabItem[]; //# sourceMappingURL=bar-nav-tabs-menu-utils.d.ts.map