import { type HTMLAttributes } from 'react'; import * as React from 'react'; import { type GrafanaTheme2 } from '@grafana/data'; import { type IconName } from '../../types/icon'; import { type PopoverContent } from '../Tooltip/types'; export type BadgeColor = keyof GrafanaTheme2['components']['badge']; export interface BadgeProps extends HTMLAttributes { text?: React.ReactNode; color: BadgeColor; icon?: IconName; tooltip?: PopoverContent; } /** * The badge component adds meta information to other content, for example about release status or new elements. You can add any `Icon` component or use the badge without an icon. * * https://developers.grafana.com/ui/latest/index.html?path=/docs/information-badge--docs */ export declare const Badge: React.NamedExoticComponent & { Skeleton: (props: unknown) => React.JSX.Element; };