import React from 'react';
import type { TabsProps as RcTabsProps } from '../components/rc-tabs';
import { TabPane, TabPaneProps } from '../components/rc-tabs';
export interface TabsProps {
    /** 当前激活 tab 面板的 key */
    activeKey?: string | number;
    /** 尺寸 */
    size?: 'small' | 'middle' | 'large';
    /** 默认激活 tab 面板的 key */
    defaultActiveKey?: string;
    /** 改变回调 */
    onChange?: (activeKey: string | number) => void;
    /** 点击回调 */
    onTabClick?: (activeKey: string | number) => void;
    /** 页签的基本样式，可选 line、card 类型 */
    type?: 'line' | 'card';
    /** 自定义折叠 icon */
    moreIcon?: React.ReactNode;
    /** 替换TabBar，用于二次封装标签头	@link="`(props: any, DefaultTabBar: React.ComponentType) => React.ReactElement`" */
    renderTabBar?: RcTabsProps['renderTabBar'];
    /** 控制是否显示tabs下的横线 */
    tabLine?: boolean;
    /** 控制是否显示选中tab时的边框 */
    activeTabNoBorderLine?: boolean;
    /** tabpane是否允许新增删除 */
    editable?: boolean;
    /** 是否隐藏添加按钮 */
    hideAdd?: boolean;
    /** 自定义新增icon */
    addIcon?: React.ReactNode;
    /** 删除icon是否hover展示 */
    isHoverClose?: boolean;
    /** 自定义删除icon */
    deleteIcon?: React.ReactNode;
    /** 被隐藏时是否销毁 DOM 结构 */
    destroyInactiveTabPane?: boolean;
    className?: string;
    children?: React.ReactNode;
    style?: React.CSSProperties;
    /** 新增和删除页签的回调，仅在editable为true时有效 */
    onEdit?: (e: React.MouseEvent | React.KeyboardEvent | string, action: 'add' | 'remove') => void;
    getPopupContainer?: (node?: React.ReactElement) => React.ReactElement;
}
export { TabPaneProps };
declare const _default: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<unknown>> & {
    TabPane: typeof TabPane;
};
export default _default;
