import React from 'react';
export declare type TabItem = {
    id: string;
    tabText: string;
    content?: JSX.Element;
    firstItem?: boolean;
    tabTextFormatter?: (text: string) => string | JSX.Element;
    nestedItemType?: string;
    nestedTabs?: TabItem[];
};
export declare type TabNav = {
    items: TabItem[];
    itemType?: string;
    activeId?: string;
    nestedActiveId?: string;
    onClick?: (id: string, item: TabItem) => void;
};
export declare const TabNav: React.FC<TabNav>;
