import React from "react"; import { Tabs as TabsPrimitive } from "radix-ui"; import { type VariantProps } from "../utils.js"; import type { TabProps, tabListVariants } from "./components/index.js"; interface TabsProps extends Omit { tabs: React.ReactElement[]; size?: VariantProps["size"]; spacing?: VariantProps["spacing"]; separator?: VariantProps["separator"]; } declare const Tabs: (({ defaultValue: initialValue, size, spacing, separator, tabs: tabComponents, ...props }: TabsProps) => React.JSX.Element) & { original: ({ defaultValue: initialValue, size, spacing, separator, tabs: tabComponents, ...props }: TabsProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: (({ defaultValue: initialValue, size, spacing, separator, tabs: tabComponents, ...props }: TabsProps) => React.JSX.Element) & { original: ({ defaultValue: initialValue, size, spacing, separator, tabs: tabComponents, ...props }: TabsProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<(({ defaultValue: initialValue, size, spacing, separator, tabs: tabComponents, ...props }: TabsProps) => React.JSX.Element) & { original: ({ defaultValue: initialValue, size, spacing, separator, tabs: tabComponents, ...props }: TabsProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; } & { Tab: ((props: TabProps) => null) & { original: (props: TabProps) => null; originalName: string; displayName: string; } & { original: ((props: TabProps) => null) & { original: (props: TabProps) => null; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: TabProps) => null) & { original: (props: TabProps) => null; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; }; export { Tabs, type TabsProps };