import { default as React } from 'react'; type Context = { prefixId: string; activeTabIndex: number; setActiveTabIndex: (index: number) => void; }; export declare const TabsContext: React.Context; export declare const useTabs: () => Context; export declare const useTabsId: (index: number) => { tabId: string; tabPanelId: string; }; export type TabsProps = { /** * The children of the element. * Should include TabList and TabPanels elements. */ children: React.ReactNode[]; /** * Returns the active tab's index whenever the user changes tabs */ onChange?: (index: number) => void; /** * Make a tab initially active. * @default 0 */ defaultTabIndex?: number; /** * To control tabs' state */ tabIndex?: number; }; export declare const Tabs: ({ children, onChange, defaultTabIndex, tabIndex, }: TabsProps) => React.JSX.Element; export {}; //# sourceMappingURL=Tabs.d.ts.map