import type { ViewStyle } from 'react-native'; import { IconString } from './icon'; import { type StatusAppearanceUnion } from './utils/status_colors'; type VariantUnion = 'default' | 'meta' | 'metaSubtle'; type ProductLogoName = 'Groups' | 'Services' | 'groups' | 'services'; type ProductIconName = 'Chat' | 'chat'; export interface BadgeProps { /** * Renders the main text. */ label: string; /** * Renders secondary meta text to the right of the label. */ metaLabel?: string; /** * Changes the status color for the badge and icon. */ appearance?: StatusAppearanceUnion; /** * Changes form of the logo to support a meta label and badge */ variant?: VariantUnion; /** * Adds a product logo to the left of the text. */ productLogoName?: ProductLogoName | ProductIconName; /** * Shows an icon of the user choice to the left of the text. */ iconName?: IconString; /** * Shows an icon of the user choice to the right of the text. */ iconNameRight?: IconString; /** * Styles badge wrapper. */ style?: ViewStyle; /** * Specifies the maximum size a font can reach when allowFontScaling is enabled. */ maxFontSizeMultiplier?: number; /** * Callback function when the badge is pressed. */ onPress?: () => void; /** * Specifies the number of lines for the meta label before truncating. */ numberOfLinesMetaLabel?: number; } export declare function Badge({ appearance, metaLabel, style, iconName, iconNameRight, label, productLogoName, variant, maxFontSizeMultiplier, numberOfLinesMetaLabel, onPress, }: BadgeProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=badge.d.ts.map