import type { TabsItem } from "./tabs.types";
/** Utility helpers for tab keyboard navigation and overflow layout calculations. */
export declare const findNextEnabledIndex: <TValue extends string = string>(items: TabsItem<TValue>[], startIndex: number, direction: 1 | -1) => number;
export declare const findEdgeEnabledIndex: <TValue extends string = string>(items: TabsItem<TValue>[], direction: 1 | -1) => number;
export type TabsOverflowLayout<TValue extends string = string> = {
    visibleItems: TabsItem<TValue>[];
    hiddenItems: TabsItem<TValue>[];
};
export declare const resolveTabsOverflowLayout: <TValue extends string = string>({ items, value, containerWidth, moreButtonWidth, itemWidthByValue, }: {
    items: TabsItem<TValue>[];
    value: TValue;
    containerWidth: number;
    moreButtonWidth: number;
    itemWidthByValue: Map<TValue, number>;
}) => TabsOverflowLayout<TValue>;
