import type { ComponentPropsWithoutRef, ReactNode } from 'react';
import type { SxProp } from '../Layout/sx.cjs';
export type TabsVariant = 'line' | 'pills' | 'segmented';
export type TabsSize = 'sm' | 'md' | 'lg';
/**
* Tabbed view container. Built on @radix-ui/react-tabs — handles roving
* tabindex, arrow-key nav, and proper ARIA wiring out of the box.
*
* @example
*
*
* Overview
* Activity
*
* …
* …
*
*/
export interface TabsProps extends Omit, 'dir'> {
/** Controlled active tab value. */
value?: string;
/** Uncontrolled initial active tab value. */
defaultValue?: string;
/** Fires when the active tab changes. */
onValueChange?: (value: string) => void;
/** Orientation of the tab list. Default: `horizontal`. */
orientation?: 'horizontal' | 'vertical';
/** Reading direction. */
dir?: 'ltr' | 'rtl';
/** Whether tabs activate on focus or only on click. Default: `automatic`. */
activationMode?: 'automatic' | 'manual';
/** Tab list and panels. */
children?: ReactNode;
/** Visual style. Default: `line`. */
variant?: TabsVariant;
/** Size preset. Default: `md`. */
size?: TabsSize;
/** Slide an animated indicator between tabs instead of snapping the active style. Respects reduced motion. */
indicator?: boolean;
/**
* How a horizontal list handles overflow. `wrap` (default) wraps onto more rows;
* `scroll` keeps one row that scrolls sideways with edge fades and arrow buttons.
*/
overflow?: 'wrap' | 'scroll';
/**
* One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a
* responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx
* merges into inline style; responsive sx injects a scoped class.
*/
sx?: SxProp;
}
export declare const Tabs: import("react").ForwardRefExoticComponent>;
export interface TabsListProps extends ComponentPropsWithoutRef<'div'> {
/** Keep arrow-key navigation inside the list. Default: true. */
loop?: boolean;
/** One-off CSS, same as `Box`'s `sx` (scalar or responsive `{ base, sm, md, lg, xl }` map). */
sx?: SxProp;
}
export declare const TabsList: import("react").ForwardRefExoticComponent>;
export interface TabsTriggerProps extends ComponentPropsWithoutRef<'button'> {
/** Value identifying which panel this trigger activates. */
value: string;
/** Optional leading icon. */
icon?: ReactNode;
/** Optional right-aligned badge (count, status). */
badge?: ReactNode;
/** One-off CSS, same as `Box`'s `sx` (scalar or responsive `{ base, sm, md, lg, xl }` map). */
sx?: SxProp;
}
export declare const TabsTrigger: import("react").ForwardRefExoticComponent>;
export interface TabsContentProps extends ComponentPropsWithoutRef<'div'> {
/** Value of the trigger that reveals this panel. */
value: string;
/** Keep mounted while hidden (useful for forms and animations). */
forceMount?: true;
/** One-off CSS, same as `Box`'s `sx` (scalar or responsive `{ base, sm, md, lg, xl }` map). */
sx?: SxProp;
}
export declare const TabsContent: import("react").ForwardRefExoticComponent>;