import * as React from 'react'; import { Animated, StyleProp, TextStyle } from 'react-native'; import AnimatedText from './Typography/AnimatedText'; import type { $Omit } from '../types'; declare type Props = $Omit<$Omit, 'padding'>, 'type'> & { /** * Type of the helper text. */ type: 'error' | 'info'; /** * Whether to display the helper text. */ visible?: boolean; /** * Whether to apply padding to the helper text. */ padding?: 'none' | 'normal'; /** * Text content of the HelperText. */ children: React.ReactNode; style?: StyleProp; /** * @optional */ theme: ReactNativePaper.Theme; /** * TestID used for testing purposes */ testID?: string; }; declare const _default: React.ComponentType> & { style?: StyleProp; theme: ReactNativePaper.Theme; }, keyof import("react-native").TextProps | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }, keyof import("react-native").TextProps | "key" | "theme"> & React.RefAttributes> & { style?: StyleProp; theme: ReactNativePaper.Theme; }, keyof import("react-native").TextProps | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }, any, any>>) | (Pick> & { style?: StyleProp; theme: ReactNativePaper.Theme; }, keyof import("react-native").TextProps | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; } & { children?: React.ReactNode; }), "padding">, "type"> & { /** * Type of the helper text. */ type: "error" | "info"; /** * Whether to display the helper text. */ visible?: boolean | undefined; /** * Whether to apply padding to the helper text. */ padding?: "normal" | "none" | undefined; /** * Text content of the HelperText. */ children: React.ReactNode; style?: StyleProp; /** * @optional */ theme: ReactNativePaper.Theme; /** * TestID used for testing purposes */ testID?: string | undefined; }, "style" | "children" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onLayout" | "onTextLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "nativeID" | "maxFontSizeMultiplier" | "adjustsFontSizeToFit" | "minimumFontScale" | "suppressHighlighting" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "visible" | "padding" | "ref" | "key" | "type"> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics> & { style?: StyleProp; theme: ReactNativePaper.Theme; }, keyof import("react-native").TextProps | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }, keyof import("react-native").TextProps | "key" | "theme"> & React.RefAttributes> & { style?: StyleProp; theme: ReactNativePaper.Theme; }, keyof import("react-native").TextProps | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }, any, any>>) | (Pick> & { style?: StyleProp; theme: ReactNativePaper.Theme; }, keyof import("react-native").TextProps | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; } & { children?: React.ReactNode; }), "padding">, "type"> & { /** * Type of the helper text. */ type: "error" | "info"; /** * Whether to display the helper text. */ visible?: boolean | undefined; /** * Whether to apply padding to the helper text. */ padding?: "normal" | "none" | undefined; /** * Text content of the HelperText. */ children: React.ReactNode; style?: StyleProp; /** * @optional */ theme: ReactNativePaper.Theme; /** * TestID used for testing purposes */ testID?: string | undefined; }> & (({ style, type, visible, theme, onLayout, padding, ...rest }: Props) => JSX.Element), {}>; export default _default;