import React from 'react';
interface TabContextProps {
    activeKey: string;
    lastIndex: number;
    currentIndex: number;
    onChange: (newKey: string, index: number) => void;
}
declare const TabContext: React.Context<TabContextProps>;
interface TabContextProviderProps {
    children: any;
    defaultActiveKey: string;
    onChange?: (key: string) => void;
}
declare const TabContextProvider: React.FC<TabContextProviderProps>;
export { TabContext as default, TabContextProvider };
