import type { ReactNode } from 'react'; import React from 'react'; type StatusBadgeType = { type: 'status'; }; type CounterBadgeType = { type: 'counter'; value: number; max?: number; }; export type BadgeConfigType = StatusBadgeType | CounterBadgeType; interface TabWithBadgeProps { config?: BadgeConfigType; tabItem: ReactNode; } declare const TabWithBadge: ({ config, tabItem }: TabWithBadgeProps) => React.JSX.Element; export default TabWithBadge;