import { TabsProps } from 'antd';
import { TabDataType } from '../CcsMemoTabs';
import './index.less';
interface PropsType extends TabsProps {
    /** 初始选中 */
    defaultActiveKey: string;
    /** tabs 数据 */
    tabs: TabDataType[];
}
export interface TabType extends Record<string, any> {
    /** 当前选中的key */
    activeKey?: string;
    /** 禁止访问的tab key */
    disabled?: string | string[];
    /** 取消已禁止访问的tab key */
    cancelDisabled?: string | string[];
}
interface TabsInDrawerProps {
    tabs: TabDataType[];
    activeKey: string;
    onChangeKey: any;
    onChangeTabs: any;
}
export declare const TabsInDrawer: ({ tabs, activeKey, onChangeKey, onChangeTabs }: TabsInDrawerProps) => JSX.Element;
/**
 * Tabs组件、方便tab间交互、传值
 * @param props
 * @returns
 */
declare const CcsTabs: ({ tabs, defaultActiveKey, ...restProps }: PropsType) => JSX.Element;
export default CcsTabs;
