import React, { type ReactNode, type CSSProperties } from "react"; import type { FrIconClassName, RiIconClassName } from "./fr/generatedFromCss/classNames"; export type TabsProps = TabsProps.Uncontrolled | TabsProps.Controlled; export declare namespace TabsProps { type Common = { id?: string; className?: string; label?: string; classes?: Partial>; style?: CSSProperties; }; type Uncontrolled = Common & { tabs: { label: ReactNode; iconId?: FrIconClassName | RiIconClassName; content: ReactNode; isDefault?: boolean; }[]; selectedTabId?: undefined; onTabChange?: (params: { tabIndex: number; tab: Uncontrolled["tabs"][number]; }) => void; children?: undefined; }; type Controlled = Common & { tabs: { tabId: string; label: ReactNode; iconId?: FrIconClassName | RiIconClassName; }[]; selectedTabId: string; onTabChange: (tabId: string) => void; children: ReactNode; }; } /** @see */ export declare const Tabs: React.MemoExoticComponent>>; export default Tabs;