import type { ComponentProps } from 'react'; export interface TabsProps extends Omit, 'onChange' | 'defaultValue'> { /** Value of the selected tab (controlled). */ value?: string; /** Value of the initially selected tab (uncontrolled). Defaults to the first enabled tab. */ defaultValue?: string; /** Called with the new value when the user selects a tab. */ onValueChange?: (value: string) => void; } export interface TabsTabProps extends Omit, 'value'> { /** Unique value that pairs this tab with its Tabs.Panel. */ value: string; } export interface TabsPanelProps extends ComponentProps<'div'> { /** Value of the Tabs.Tab that controls this panel. */ value: string; } declare function TabsRoot({ value, defaultValue, onValueChange, className, ...rest }: TabsProps): import("react").JSX.Element; declare function TabsList({ className, onKeyDown, ref, ...rest }: ComponentProps<'div'>): import("react").JSX.Element; declare function TabsTab({ value, className, onClick, ...rest }: TabsTabProps): import("react").JSX.Element; declare function TabsPanel({ value, className, ...rest }: TabsPanelProps): import("react").JSX.Element; /** Switch between views that share one place on the page. Compose with Tabs.List, Tabs.Tab and Tabs.Panel. */ export declare const Tabs: typeof TabsRoot & { List: typeof TabsList; Tab: typeof TabsTab; Panel: typeof TabsPanel; }; export {};