import type { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactNode } from 'react'; import { type BadgeProps } from '../feedback-and-status/badge/Badge'; type TabSize = 'sm' | 'md' | 'lg'; type TabType = 'button-primary' | 'button-white' | 'underline' | 'underline-fill' | 'line-vertical'; type BaseTabButtonProps = { id?: string; label?: string; size?: TabSize; tabButtonType?: TabType; isActive?: boolean; badgeInfo?: BadgeProps; className?: string; children?: ReactNode; }; type TabButtonAsButtonProps = BaseTabButtonProps & { onClose?: (id: string) => void; onClick?: (id: string) => void; } & Omit, 'onClick'>; type TabButtonAsLinkProps = BaseTabButtonProps & AnchorHTMLAttributes; type TabButtonProps = TabButtonAsButtonProps | TabButtonAsLinkProps; declare const TabButton: ({ id, label, size, tabButtonType, type, isActive, badgeInfo, className, children, ...props }: TabButtonProps) => import("react/jsx-runtime").JSX.Element; export type { TabSize, TabType, TabButtonAsButtonProps, TabButtonAsLinkProps, TabButtonProps }; export { TabButton };