import { RefObject } from 'react';
import type { Key } from '@react-types/shared';
export interface IndicatorStyle {
    left: number;
    width: number;
}
/**
 * Hook to track and animate tab indicator position.
 *
 * Calculates the position and width of the selection indicator
 * based on the currently selected tab. Returns null if disabled
 * (e.g., for non-default tab types).
 *
 * @param containerRef - Ref to the tab container element
 * @param selectedKey - Currently selected tab key
 * @param enabled - Whether the indicator should be shown
 * @param orderToken - Optional token that changes when tab order changes (triggers recalculation)
 * @returns Indicator style (left, width) or null if disabled/not ready
 */
export declare function useTabIndicator(containerRef: RefObject<HTMLElement | null>, selectedKey: Key | null, enabled: boolean, orderToken?: string): IndicatorStyle | null;
