import React from 'react'; import { ViewStyle, TextStyle, StyleProp } from 'react-native'; import { SpacingProps } from '../../../theme'; import { TestableProps } from '../../common/test'; import { BoxProps } from '../../common/box'; import { ShadowProps } from '../../common/shadow'; export type BadgeVariant = 'solid' | 'outline'; export type BadgeColor = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info' | string; export type BadgePosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; export type BadgeSize = 'small' | 'medium' | 'large' | number; export interface BadgeProps extends SpacingProps, BoxProps, ShadowProps, TestableProps { text?: string; value?: number | string; max?: number; dot?: boolean; variant?: BadgeVariant; color?: BadgeColor; size?: BadgeSize; position?: BadgePosition; offset?: { x?: number; y?: number; }; children?: React.ReactNode; showZero?: boolean; style?: StyleProp; containerStyle?: StyleProp; textStyle?: StyleProp; } declare const Badge: React.FC; export default Badge; //# sourceMappingURL=Badge.d.ts.map