import { Primitive } from "@loke/ui/primitive"; import * as RovingFocusGroup from "@loke/ui/roving-focus"; import { type ComponentPropsWithoutRef } from "react"; declare const createTabsScope: import("@loke/ui/context").CreateScope; type RovingFocusGroupProps = ComponentPropsWithoutRef; type PrimitiveDivProps = ComponentPropsWithoutRef; interface TabsProps extends PrimitiveDivProps { /** * Whether a tab is activated automatically or manually. * @defaultValue automatic */ activationMode?: "automatic" | "manual"; /** The value of the tab to select by default, if uncontrolled */ defaultValue?: string; /** * The direction of navigation between toolbar items. */ dir?: RovingFocusGroupProps["dir"]; /** A function called when a new tab is selected */ onValueChange?: (value: string) => void; /** * The orientation the tabs are layed out. * Mainly so arrow navigation is done accordingly (left & right vs. up & down) * @defaultValue horizontal */ orientation?: RovingFocusGroupProps["orientation"]; /** The value for the selected tab, if controlled */ value?: string; } declare const Tabs: import("react").ForwardRefExoticComponent>; interface TabsListProps extends PrimitiveDivProps { loop?: RovingFocusGroupProps["loop"]; } declare const TabsList: import("react").ForwardRefExoticComponent>; type PrimitiveButtonProps = ComponentPropsWithoutRef; interface TabsTriggerProps extends PrimitiveButtonProps { value: string; } declare const TabsTrigger: import("react").ForwardRefExoticComponent>; interface TabsContentProps extends PrimitiveDivProps { /** * Used to force mounting when more control is needed. Useful when * controlling animation with React animation libraries. */ forceMount?: true; value: string; } declare const TabsContent: import("react").ForwardRefExoticComponent>; declare const Root: import("react").ForwardRefExoticComponent>; declare const List: import("react").ForwardRefExoticComponent>; declare const Trigger: import("react").ForwardRefExoticComponent>; declare const Content: import("react").ForwardRefExoticComponent>; export { createTabsScope, Tabs, TabsList, TabsTrigger, TabsContent, Root, List, Trigger, Content, }; export type { TabsProps, TabsListProps, TabsTriggerProps, TabsContentProps };