import { ReactNode, FC } from 'react'; import { ViewProps } from 'react-native'; import { BadgeVariant, BadgeAppearance, BadgeSize } from './types.js'; interface BadgeProps extends ViewProps { /** * The content of the alert. * Accepts a single React node or an array of nodes. */ children?: ReactNode | ReactNode[]; /** * Visual style of the alert. * Determines background color, border, and icon style. * * - 'success': Indicates a positive or successful action * - 'error': Indicates an error or failure * - 'warning': Indicates a caution or risk * - 'info': Neutral informational message */ variant?: BadgeVariant; /** * Visual appearance of the badge. * Defines how the badge is styled (background, border, etc.). */ appearance?: BadgeAppearance; /** * Visual size of the text, typically mapped to the design system’s type scale. */ size?: BadgeSize; } declare const Badge: FC; export { Badge, type BadgeProps };