import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; import { BadgeProps } from './Badge'; declare type withBadgeOptions = { bottom?: number; left?: number; right?: number; top?: number; hidden?: boolean; containerStyle?: StyleProp; } & BadgeProps; declare const withBadge: (value: React.ReactNode | ((props: any) => React.ReactNode), options?: withBadgeOptions) => (WrappedComponent: React.ComponentType) => React.ComponentType; export default withBadge;