import { TabsProps } from 'antd/lib/tabs';
export declare type PropTypes = {
    dataSource?: Array<{
        label: string;
        key: string;
    }>;
    onChange?: (activeKey: string) => void;
    value?: string;
    type?: TabsProps['type'] | 'capsule';
    hideWhenOnlyOne?: boolean;
};
export default function Tab({ dataSource, value, hideWhenOnlyOne, type, onChange, ...others }: PropTypes): JSX.Element;
