import * as React from "react"; import * as TabsPrimitive from "@radix-ui/react-tabs"; /** * A single tab item definition for the Config API. */ export interface TabItem { /** Unique value identifier for this tab */ value: string; /** Display label on the tab trigger */ label: string; /** Content rendered when this tab is active */ content: React.ReactNode; /** Whether this tab is disabled */ disabled?: boolean; } /** * Props for the ZeroShot Tabs component. * * @example Compositional API: * ```tsx * * * Account * Password * * Account settings... * Password settings... * * ``` * * @example Config API (AI-optimized): * ```tsx * }, * { value: "password", label: "Password", content: }, * ]} * defaultValue="account" * /> * ``` */ export interface TabsProps extends React.ComponentPropsWithoutRef { /** * Config API: Array of tab items to render. * When provided, auto-generates TabsList, TabsTrigger, and TabsContent. * If `children` is also provided, `children` takes precedence. */ items?: TabItem[]; } declare const Tabs: React.ForwardRefExoticComponent>; declare const TabsList: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const TabsTrigger: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare const TabsContent: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; export { Tabs, TabsList, TabsTrigger, TabsContent }; //# sourceMappingURL=tabs.d.ts.map