import * as React from 'react'; import { Animated, StyleProp, TextStyle } from 'react-native'; declare type Props = React.ComponentProps & { /** * Whether the badge is visible */ visible: boolean; /** * Content of the `Badge`. */ children?: string | number; /** * Size of the `Badge`. */ size?: number; style?: StyleProp; ref?: React.RefObject; /** * @optional */ theme: ReactNativePaper.Theme; }; declare const _default: (React.ComponentClass | undefined; ellipsizeMode?: Animated.WithAnimatedValue<"head" | "middle" | "tail" | "clip" | undefined> | undefined; lineBreakMode?: Animated.WithAnimatedValue<"head" | "middle" | "tail" | "clip" | undefined> | undefined; numberOfLines?: Animated.WithAnimatedValue | undefined; onLayout?: Animated.WithAnimatedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined; onPress?: Animated.WithAnimatedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined; onLongPress?: Animated.WithAnimatedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined; style?: Animated.WithAnimatedValue> | undefined; testID?: Animated.WithAnimatedValue | undefined; nativeID?: Animated.WithAnimatedValue | undefined; maxFontSizeMultiplier?: Animated.WithAnimatedValue | undefined; adjustsFontSizeToFit?: Animated.WithAnimatedValue | undefined; minimumFontScale?: Animated.WithAnimatedValue | undefined; suppressHighlighting?: Animated.WithAnimatedValue | undefined; selectable?: Animated.WithAnimatedValue | undefined; selectionColor?: Animated.WithAnimatedValue | undefined; textBreakStrategy?: Animated.WithAnimatedValue<"simple" | "highQuality" | "balanced" | undefined> | undefined; accessible?: Animated.WithAnimatedValue | undefined; accessibilityActions?: Animated.WithAnimatedValue[] | undefined> | undefined; accessibilityLabel?: Animated.WithAnimatedValue | undefined; accessibilityRole?: Animated.WithAnimatedValue<"button" | "header" | "link" | "menu" | "menuitem" | "summary" | "image" | "switch" | "text" | "search" | "none" | "keyboardkey" | "adjustable" | "imagebutton" | "alert" | "checkbox" | "combobox" | "menubar" | "progressbar" | "radio" | "radiogroup" | "scrollbar" | "spinbutton" | "tab" | "tablist" | "timer" | "toolbar" | undefined> | undefined; accessibilityState?: Animated.WithAnimatedValue | undefined; accessibilityHint?: Animated.WithAnimatedValue | undefined; accessibilityValue?: Animated.WithAnimatedValue | undefined; onAccessibilityAction?: Animated.WithAnimatedValue<((event: import("react-native").AccessibilityActionEvent) => void) | undefined> | undefined; accessibilityComponentType?: Animated.WithAnimatedValue<"button" | "none" | "radiobutton_checked" | "radiobutton_unchecked" | undefined> | undefined; accessibilityLiveRegion?: Animated.WithAnimatedValue<"none" | "polite" | "assertive" | undefined> | undefined; importantForAccessibility?: Animated.WithAnimatedValue<"no-hide-descendants" | "auto" | "yes" | "no" | undefined> | undefined; accessibilityElementsHidden?: Animated.WithAnimatedValue | undefined; accessibilityTraits?: Animated.WithAnimatedValue<"button" | "header" | "link" | "summary" | "image" | "text" | "search" | "none" | "adjustable" | "selected" | "plays" | "key" | "disabled" | "frequentUpdates" | "startsMedia" | "allowsDirectInteraction" | "pageTurn" | import("react-native").AccessibilityTrait[] | undefined> | undefined; accessibilityViewIsModal?: Animated.WithAnimatedValue | undefined; onAccessibilityEscape?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; onAccessibilityTap?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; onMagicTap?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; accessibilityIgnoresInvertColors?: Animated.WithAnimatedValue | undefined; ref?: Animated.WithAnimatedValue<((instance: import("react-native").Text | null) => void) | React.RefObject | null | undefined> | undefined; key?: Animated.WithAnimatedValue | undefined; } & { ref?: ((instance: import("react-native").Text | { getNode(): import("react-native").Text; } | null) => void) | React.RefObject | null | undefined; } & { /** * Whether the badge is visible */ visible: boolean; /** * Content of the `Badge`. */ children?: string | number | undefined; /** * Size of the `Badge`. */ size?: number | undefined; style?: StyleProp; ref?: React.RefObject> | undefined; /** * @optional */ theme: ReactNativePaper.Theme; }, "ref" | "style" | "children" | "size" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onLayout" | "onPress" | "onLongPress" | "testID" | "nativeID" | "maxFontSizeMultiplier" | "adjustsFontSizeToFit" | "minimumFontScale" | "suppressHighlighting" | "selectable" | "selectionColor" | "textBreakStrategy" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityComponentType" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityTraits" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "key" | "visible"> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<{ allowFontScaling?: Animated.WithAnimatedValue | undefined; ellipsizeMode?: Animated.WithAnimatedValue<"head" | "middle" | "tail" | "clip" | undefined> | undefined; lineBreakMode?: Animated.WithAnimatedValue<"head" | "middle" | "tail" | "clip" | undefined> | undefined; numberOfLines?: Animated.WithAnimatedValue | undefined; onLayout?: Animated.WithAnimatedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined; onPress?: Animated.WithAnimatedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined; onLongPress?: Animated.WithAnimatedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined; style?: Animated.WithAnimatedValue> | undefined; testID?: Animated.WithAnimatedValue | undefined; nativeID?: Animated.WithAnimatedValue | undefined; maxFontSizeMultiplier?: Animated.WithAnimatedValue | undefined; adjustsFontSizeToFit?: Animated.WithAnimatedValue | undefined; minimumFontScale?: Animated.WithAnimatedValue | undefined; suppressHighlighting?: Animated.WithAnimatedValue | undefined; selectable?: Animated.WithAnimatedValue | undefined; selectionColor?: Animated.WithAnimatedValue | undefined; textBreakStrategy?: Animated.WithAnimatedValue<"simple" | "highQuality" | "balanced" | undefined> | undefined; accessible?: Animated.WithAnimatedValue | undefined; accessibilityActions?: Animated.WithAnimatedValue[] | undefined> | undefined; accessibilityLabel?: Animated.WithAnimatedValue | undefined; accessibilityRole?: Animated.WithAnimatedValue<"button" | "header" | "link" | "menu" | "menuitem" | "summary" | "image" | "switch" | "text" | "search" | "none" | "keyboardkey" | "adjustable" | "imagebutton" | "alert" | "checkbox" | "combobox" | "menubar" | "progressbar" | "radio" | "radiogroup" | "scrollbar" | "spinbutton" | "tab" | "tablist" | "timer" | "toolbar" | undefined> | undefined; accessibilityState?: Animated.WithAnimatedValue | undefined; accessibilityHint?: Animated.WithAnimatedValue | undefined; accessibilityValue?: Animated.WithAnimatedValue | undefined; onAccessibilityAction?: Animated.WithAnimatedValue<((event: import("react-native").AccessibilityActionEvent) => void) | undefined> | undefined; accessibilityComponentType?: Animated.WithAnimatedValue<"button" | "none" | "radiobutton_checked" | "radiobutton_unchecked" | undefined> | undefined; accessibilityLiveRegion?: Animated.WithAnimatedValue<"none" | "polite" | "assertive" | undefined> | undefined; importantForAccessibility?: Animated.WithAnimatedValue<"no-hide-descendants" | "auto" | "yes" | "no" | undefined> | undefined; accessibilityElementsHidden?: Animated.WithAnimatedValue | undefined; accessibilityTraits?: Animated.WithAnimatedValue<"button" | "header" | "link" | "summary" | "image" | "text" | "search" | "none" | "adjustable" | "selected" | "plays" | "key" | "disabled" | "frequentUpdates" | "startsMedia" | "allowsDirectInteraction" | "pageTurn" | import("react-native").AccessibilityTrait[] | undefined> | undefined; accessibilityViewIsModal?: Animated.WithAnimatedValue | undefined; onAccessibilityEscape?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; onAccessibilityTap?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; onMagicTap?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; accessibilityIgnoresInvertColors?: Animated.WithAnimatedValue | undefined; ref?: Animated.WithAnimatedValue<((instance: import("react-native").Text | null) => void) | React.RefObject | null | undefined> | undefined; key?: Animated.WithAnimatedValue | undefined; } & { ref?: ((instance: import("react-native").Text | { getNode(): import("react-native").Text; } | null) => void) | React.RefObject | null | undefined; } & { /** * Whether the badge is visible */ visible: boolean; /** * Content of the `Badge`. */ children?: string | number | undefined; /** * Size of the `Badge`. */ size?: number | undefined; style?: StyleProp; ref?: React.RefObject> | undefined; /** * @optional */ theme: ReactNativePaper.Theme; }, any> & (({ children, size, style, theme, visible, ...rest }: Props) => JSX.Element)) | (React.FunctionComponent<{ allowFontScaling?: Animated.WithAnimatedValue | undefined; ellipsizeMode?: Animated.WithAnimatedValue<"head" | "middle" | "tail" | "clip" | undefined> | undefined; lineBreakMode?: Animated.WithAnimatedValue<"head" | "middle" | "tail" | "clip" | undefined> | undefined; numberOfLines?: Animated.WithAnimatedValue | undefined; onLayout?: Animated.WithAnimatedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined; onPress?: Animated.WithAnimatedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined; onLongPress?: Animated.WithAnimatedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined; style?: Animated.WithAnimatedValue> | undefined; testID?: Animated.WithAnimatedValue | undefined; nativeID?: Animated.WithAnimatedValue | undefined; maxFontSizeMultiplier?: Animated.WithAnimatedValue | undefined; adjustsFontSizeToFit?: Animated.WithAnimatedValue | undefined; minimumFontScale?: Animated.WithAnimatedValue | undefined; suppressHighlighting?: Animated.WithAnimatedValue | undefined; selectable?: Animated.WithAnimatedValue | undefined; selectionColor?: Animated.WithAnimatedValue | undefined; textBreakStrategy?: Animated.WithAnimatedValue<"simple" | "highQuality" | "balanced" | undefined> | undefined; accessible?: Animated.WithAnimatedValue | undefined; accessibilityActions?: Animated.WithAnimatedValue[] | undefined> | undefined; accessibilityLabel?: Animated.WithAnimatedValue | undefined; accessibilityRole?: Animated.WithAnimatedValue<"button" | "header" | "link" | "menu" | "menuitem" | "summary" | "image" | "switch" | "text" | "search" | "none" | "keyboardkey" | "adjustable" | "imagebutton" | "alert" | "checkbox" | "combobox" | "menubar" | "progressbar" | "radio" | "radiogroup" | "scrollbar" | "spinbutton" | "tab" | "tablist" | "timer" | "toolbar" | undefined> | undefined; accessibilityState?: Animated.WithAnimatedValue | undefined; accessibilityHint?: Animated.WithAnimatedValue | undefined; accessibilityValue?: Animated.WithAnimatedValue | undefined; onAccessibilityAction?: Animated.WithAnimatedValue<((event: import("react-native").AccessibilityActionEvent) => void) | undefined> | undefined; accessibilityComponentType?: Animated.WithAnimatedValue<"button" | "none" | "radiobutton_checked" | "radiobutton_unchecked" | undefined> | undefined; accessibilityLiveRegion?: Animated.WithAnimatedValue<"none" | "polite" | "assertive" | undefined> | undefined; importantForAccessibility?: Animated.WithAnimatedValue<"no-hide-descendants" | "auto" | "yes" | "no" | undefined> | undefined; accessibilityElementsHidden?: Animated.WithAnimatedValue | undefined; accessibilityTraits?: Animated.WithAnimatedValue<"button" | "header" | "link" | "summary" | "image" | "text" | "search" | "none" | "adjustable" | "selected" | "plays" | "key" | "disabled" | "frequentUpdates" | "startsMedia" | "allowsDirectInteraction" | "pageTurn" | import("react-native").AccessibilityTrait[] | undefined> | undefined; accessibilityViewIsModal?: Animated.WithAnimatedValue | undefined; onAccessibilityEscape?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; onAccessibilityTap?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; onMagicTap?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; accessibilityIgnoresInvertColors?: Animated.WithAnimatedValue | undefined; ref?: Animated.WithAnimatedValue<((instance: import("react-native").Text | null) => void) | React.RefObject | null | undefined> | undefined; key?: Animated.WithAnimatedValue | undefined; } & { ref?: ((instance: import("react-native").Text | { getNode(): import("react-native").Text; } | null) => void) | React.RefObject | null | undefined; } & { /** * Whether the badge is visible */ visible: boolean; /** * Content of the `Badge`. */ children?: string | number | undefined; /** * Size of the `Badge`. */ size?: number | undefined; style?: StyleProp; ref?: React.RefObject> | undefined; /** * @optional */ theme: ReactNativePaper.Theme; }> & (({ children, size, style, theme, visible, ...rest }: Props) => JSX.Element)), {}>) | (React.FunctionComponent | undefined; ellipsizeMode?: Animated.WithAnimatedValue<"head" | "middle" | "tail" | "clip" | undefined> | undefined; lineBreakMode?: Animated.WithAnimatedValue<"head" | "middle" | "tail" | "clip" | undefined> | undefined; numberOfLines?: Animated.WithAnimatedValue | undefined; onLayout?: Animated.WithAnimatedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined; onPress?: Animated.WithAnimatedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined; onLongPress?: Animated.WithAnimatedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined; style?: Animated.WithAnimatedValue> | undefined; testID?: Animated.WithAnimatedValue | undefined; nativeID?: Animated.WithAnimatedValue | undefined; maxFontSizeMultiplier?: Animated.WithAnimatedValue | undefined; adjustsFontSizeToFit?: Animated.WithAnimatedValue | undefined; minimumFontScale?: Animated.WithAnimatedValue | undefined; suppressHighlighting?: Animated.WithAnimatedValue | undefined; selectable?: Animated.WithAnimatedValue | undefined; selectionColor?: Animated.WithAnimatedValue | undefined; textBreakStrategy?: Animated.WithAnimatedValue<"simple" | "highQuality" | "balanced" | undefined> | undefined; accessible?: Animated.WithAnimatedValue | undefined; accessibilityActions?: Animated.WithAnimatedValue[] | undefined> | undefined; accessibilityLabel?: Animated.WithAnimatedValue | undefined; accessibilityRole?: Animated.WithAnimatedValue<"button" | "header" | "link" | "menu" | "menuitem" | "summary" | "image" | "switch" | "text" | "search" | "none" | "keyboardkey" | "adjustable" | "imagebutton" | "alert" | "checkbox" | "combobox" | "menubar" | "progressbar" | "radio" | "radiogroup" | "scrollbar" | "spinbutton" | "tab" | "tablist" | "timer" | "toolbar" | undefined> | undefined; accessibilityState?: Animated.WithAnimatedValue | undefined; accessibilityHint?: Animated.WithAnimatedValue | undefined; accessibilityValue?: Animated.WithAnimatedValue | undefined; onAccessibilityAction?: Animated.WithAnimatedValue<((event: import("react-native").AccessibilityActionEvent) => void) | undefined> | undefined; accessibilityComponentType?: Animated.WithAnimatedValue<"button" | "none" | "radiobutton_checked" | "radiobutton_unchecked" | undefined> | undefined; accessibilityLiveRegion?: Animated.WithAnimatedValue<"none" | "polite" | "assertive" | undefined> | undefined; importantForAccessibility?: Animated.WithAnimatedValue<"no-hide-descendants" | "auto" | "yes" | "no" | undefined> | undefined; accessibilityElementsHidden?: Animated.WithAnimatedValue | undefined; accessibilityTraits?: Animated.WithAnimatedValue<"button" | "header" | "link" | "summary" | "image" | "text" | "search" | "none" | "adjustable" | "selected" | "plays" | "key" | "disabled" | "frequentUpdates" | "startsMedia" | "allowsDirectInteraction" | "pageTurn" | import("react-native").AccessibilityTrait[] | undefined> | undefined; accessibilityViewIsModal?: Animated.WithAnimatedValue | undefined; onAccessibilityEscape?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; onAccessibilityTap?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; onMagicTap?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; accessibilityIgnoresInvertColors?: Animated.WithAnimatedValue | undefined; ref?: Animated.WithAnimatedValue<((instance: import("react-native").Text | null) => void) | React.RefObject | null | undefined> | undefined; key?: Animated.WithAnimatedValue | undefined; } & { ref?: ((instance: import("react-native").Text | { getNode(): import("react-native").Text; } | null) => void) | React.RefObject | null | undefined; } & { /** * Whether the badge is visible */ visible: boolean; /** * Content of the `Badge`. */ children?: string | number | undefined; /** * Size of the `Badge`. */ size?: number | undefined; style?: StyleProp; ref?: React.RefObject> | undefined; /** * @optional */ theme: ReactNativePaper.Theme; }, "ref" | "style" | "children" | "size" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onLayout" | "onPress" | "onLongPress" | "testID" | "nativeID" | "maxFontSizeMultiplier" | "adjustsFontSizeToFit" | "minimumFontScale" | "suppressHighlighting" | "selectable" | "selectionColor" | "textBreakStrategy" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityComponentType" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityTraits" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "key" | "visible"> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<{ allowFontScaling?: Animated.WithAnimatedValue | undefined; ellipsizeMode?: Animated.WithAnimatedValue<"head" | "middle" | "tail" | "clip" | undefined> | undefined; lineBreakMode?: Animated.WithAnimatedValue<"head" | "middle" | "tail" | "clip" | undefined> | undefined; numberOfLines?: Animated.WithAnimatedValue | undefined; onLayout?: Animated.WithAnimatedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined; onPress?: Animated.WithAnimatedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined; onLongPress?: Animated.WithAnimatedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined; style?: Animated.WithAnimatedValue> | undefined; testID?: Animated.WithAnimatedValue | undefined; nativeID?: Animated.WithAnimatedValue | undefined; maxFontSizeMultiplier?: Animated.WithAnimatedValue | undefined; adjustsFontSizeToFit?: Animated.WithAnimatedValue | undefined; minimumFontScale?: Animated.WithAnimatedValue | undefined; suppressHighlighting?: Animated.WithAnimatedValue | undefined; selectable?: Animated.WithAnimatedValue | undefined; selectionColor?: Animated.WithAnimatedValue | undefined; textBreakStrategy?: Animated.WithAnimatedValue<"simple" | "highQuality" | "balanced" | undefined> | undefined; accessible?: Animated.WithAnimatedValue | undefined; accessibilityActions?: Animated.WithAnimatedValue[] | undefined> | undefined; accessibilityLabel?: Animated.WithAnimatedValue | undefined; accessibilityRole?: Animated.WithAnimatedValue<"button" | "header" | "link" | "menu" | "menuitem" | "summary" | "image" | "switch" | "text" | "search" | "none" | "keyboardkey" | "adjustable" | "imagebutton" | "alert" | "checkbox" | "combobox" | "menubar" | "progressbar" | "radio" | "radiogroup" | "scrollbar" | "spinbutton" | "tab" | "tablist" | "timer" | "toolbar" | undefined> | undefined; accessibilityState?: Animated.WithAnimatedValue | undefined; accessibilityHint?: Animated.WithAnimatedValue | undefined; accessibilityValue?: Animated.WithAnimatedValue | undefined; onAccessibilityAction?: Animated.WithAnimatedValue<((event: import("react-native").AccessibilityActionEvent) => void) | undefined> | undefined; accessibilityComponentType?: Animated.WithAnimatedValue<"button" | "none" | "radiobutton_checked" | "radiobutton_unchecked" | undefined> | undefined; accessibilityLiveRegion?: Animated.WithAnimatedValue<"none" | "polite" | "assertive" | undefined> | undefined; importantForAccessibility?: Animated.WithAnimatedValue<"no-hide-descendants" | "auto" | "yes" | "no" | undefined> | undefined; accessibilityElementsHidden?: Animated.WithAnimatedValue | undefined; accessibilityTraits?: Animated.WithAnimatedValue<"button" | "header" | "link" | "summary" | "image" | "text" | "search" | "none" | "adjustable" | "selected" | "plays" | "key" | "disabled" | "frequentUpdates" | "startsMedia" | "allowsDirectInteraction" | "pageTurn" | import("react-native").AccessibilityTrait[] | undefined> | undefined; accessibilityViewIsModal?: Animated.WithAnimatedValue | undefined; onAccessibilityEscape?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; onAccessibilityTap?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; onMagicTap?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; accessibilityIgnoresInvertColors?: Animated.WithAnimatedValue | undefined; ref?: Animated.WithAnimatedValue<((instance: import("react-native").Text | null) => void) | React.RefObject | null | undefined> | undefined; key?: Animated.WithAnimatedValue | undefined; } & { ref?: ((instance: import("react-native").Text | { getNode(): import("react-native").Text; } | null) => void) | React.RefObject | null | undefined; } & { /** * Whether the badge is visible */ visible: boolean; /** * Content of the `Badge`. */ children?: string | number | undefined; /** * Size of the `Badge`. */ size?: number | undefined; style?: StyleProp; ref?: React.RefObject> | undefined; /** * @optional */ theme: ReactNativePaper.Theme; }, any> & (({ children, size, style, theme, visible, ...rest }: Props) => JSX.Element)) | (React.FunctionComponent<{ allowFontScaling?: Animated.WithAnimatedValue | undefined; ellipsizeMode?: Animated.WithAnimatedValue<"head" | "middle" | "tail" | "clip" | undefined> | undefined; lineBreakMode?: Animated.WithAnimatedValue<"head" | "middle" | "tail" | "clip" | undefined> | undefined; numberOfLines?: Animated.WithAnimatedValue | undefined; onLayout?: Animated.WithAnimatedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined; onPress?: Animated.WithAnimatedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined; onLongPress?: Animated.WithAnimatedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined; style?: Animated.WithAnimatedValue> | undefined; testID?: Animated.WithAnimatedValue | undefined; nativeID?: Animated.WithAnimatedValue | undefined; maxFontSizeMultiplier?: Animated.WithAnimatedValue | undefined; adjustsFontSizeToFit?: Animated.WithAnimatedValue | undefined; minimumFontScale?: Animated.WithAnimatedValue | undefined; suppressHighlighting?: Animated.WithAnimatedValue | undefined; selectable?: Animated.WithAnimatedValue | undefined; selectionColor?: Animated.WithAnimatedValue | undefined; textBreakStrategy?: Animated.WithAnimatedValue<"simple" | "highQuality" | "balanced" | undefined> | undefined; accessible?: Animated.WithAnimatedValue | undefined; accessibilityActions?: Animated.WithAnimatedValue[] | undefined> | undefined; accessibilityLabel?: Animated.WithAnimatedValue | undefined; accessibilityRole?: Animated.WithAnimatedValue<"button" | "header" | "link" | "menu" | "menuitem" | "summary" | "image" | "switch" | "text" | "search" | "none" | "keyboardkey" | "adjustable" | "imagebutton" | "alert" | "checkbox" | "combobox" | "menubar" | "progressbar" | "radio" | "radiogroup" | "scrollbar" | "spinbutton" | "tab" | "tablist" | "timer" | "toolbar" | undefined> | undefined; accessibilityState?: Animated.WithAnimatedValue | undefined; accessibilityHint?: Animated.WithAnimatedValue | undefined; accessibilityValue?: Animated.WithAnimatedValue | undefined; onAccessibilityAction?: Animated.WithAnimatedValue<((event: import("react-native").AccessibilityActionEvent) => void) | undefined> | undefined; accessibilityComponentType?: Animated.WithAnimatedValue<"button" | "none" | "radiobutton_checked" | "radiobutton_unchecked" | undefined> | undefined; accessibilityLiveRegion?: Animated.WithAnimatedValue<"none" | "polite" | "assertive" | undefined> | undefined; importantForAccessibility?: Animated.WithAnimatedValue<"no-hide-descendants" | "auto" | "yes" | "no" | undefined> | undefined; accessibilityElementsHidden?: Animated.WithAnimatedValue | undefined; accessibilityTraits?: Animated.WithAnimatedValue<"button" | "header" | "link" | "summary" | "image" | "text" | "search" | "none" | "adjustable" | "selected" | "plays" | "key" | "disabled" | "frequentUpdates" | "startsMedia" | "allowsDirectInteraction" | "pageTurn" | import("react-native").AccessibilityTrait[] | undefined> | undefined; accessibilityViewIsModal?: Animated.WithAnimatedValue | undefined; onAccessibilityEscape?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; onAccessibilityTap?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; onMagicTap?: Animated.WithAnimatedValue<(() => void) | undefined> | undefined; accessibilityIgnoresInvertColors?: Animated.WithAnimatedValue | undefined; ref?: Animated.WithAnimatedValue<((instance: import("react-native").Text | null) => void) | React.RefObject | null | undefined> | undefined; key?: Animated.WithAnimatedValue | undefined; } & { ref?: ((instance: import("react-native").Text | { getNode(): import("react-native").Text; } | null) => void) | React.RefObject | null | undefined; } & { /** * Whether the badge is visible */ visible: boolean; /** * Content of the `Badge`. */ children?: string | number | undefined; /** * Size of the `Badge`. */ size?: number | undefined; style?: StyleProp; ref?: React.RefObject> | undefined; /** * @optional */ theme: ReactNativePaper.Theme; }> & (({ children, size, style, theme, visible, ...rest }: Props) => JSX.Element)), {}>); export default _default;