import * as React from 'react'; import type { BaseUIComponentProps } from '../../utils/types.js'; import type { TabsOrientation, TabsRoot } from '../root/TabsRoot.js'; import { ActiveTabPosition, ActiveTabSize } from './useTabsIndicator.js'; /** * A visual indicator that can be styled to match the position of the currently active tab. * Renders a `` element. * * Documentation: [Base UI Tabs](https://base-ui.com/react/components/tabs) */ declare const TabsIndicator: React.ForwardRefExoticComponent>; declare namespace TabsIndicator { interface State extends TabsRoot.State { selectedTabPosition: ActiveTabPosition | null; selectedTabSize: ActiveTabSize | null; orientation: TabsOrientation; } interface Props extends BaseUIComponentProps<'span', TabsIndicator.State> { /** * Whether to render itself before React hydrates. * This minimizes the time that the indicator isn’t visible after server-side rendering. * @default false */ renderBeforeHydration?: boolean; } } export { TabsIndicator };