import React from 'react'; import { TabsContextProps, TabItemInterface } from './tabs-context'; export declare type TabsProps = { children?: React.ReactNode; defaultActiveKey?: string; activeKey?: string; tabTheme?: TabsContextProps['tabTheme']; onDelete?: TabsContextProps['onDelete']; onChange?: TabsContextProps['onChange']; tabs?: TabItemInterface[]; defaultTabs?: TabItemInterface[]; className?: string; }; declare type TabsPanelProps = { children?: React.ReactNode; itemKey: string; label: React.ReactNode; }; export declare const TabsPanel: (props: TabsPanelProps) => JSX.Element | null; export declare const InnerTabs: (props: TabsProps) => JSX.Element; export declare const useTabs: ({ defaultTabs, ...props }: TabsProps) => { tabs: TabItemInterface[]; handleChange: (itemKey: string) => void; handleDelete: (itemKey: string) => void; activeKey: string; handleAdd: (itemKey: string, label: any) => void; }; export declare const Tabs: ({ tabTheme, ...props }: TabsProps) => JSX.Element; export {};