export interface IMenuItem { key: string; iconName?: string; action: () => void; badge?: string | number; badgeVariant?: 'default' | 'success' | 'warning' | 'error'; closeable?: boolean; onClose?: () => void; } export interface ITabAction { id: string; iconName: string; action: () => void | Promise; tooltip?: string; disabled?: boolean; }