import React from 'react'; export declare type TabItemInterface = { itemKey: string; label?: React.ReactNode; disabled?: boolean; deleted?: boolean; }; export declare type TabsContextProps = { onAdd?: (key: string, label: any) => void; onSet?: (tabs: TabItemInterface[]) => void; onChange?: (key: string) => void; onDelete?: (key: string) => void; tabs: TabItemInterface[]; activeKey?: string; tabTheme?: 'tab' | 'button'; }; export declare const defaultValue: TabsContextProps; export declare const TabsContext: React.Context; export declare const useTabsContext: () => TabsContextProps;