import { ActivityIndicatorProps, TextStyle, TextProps } from 'react-native'; export { ActivityIndicator as NativeActivityIndicator } from 'react-native'; /** * Recursive style prop shape accepted by runtime style helpers. * * @template T - Style object type. */ type GenericStyleProp = null | void | T | false | '' | ReadonlyArray>; /** * Maps CSS-like `userSelect` values to React Native's `selectable` prop. */ declare const userSelectToSelectableMap: { auto: boolean; text: boolean; none: boolean; contain: boolean; all: boolean; }; /** * Maps CSS-like `verticalAlign` values to React Native's `textAlignVertical`. */ declare const verticalAlignToTextAlignVerticalMap: { auto: string; top: string; bottom: string; middle: string; }; /** * Clamps a `numberOfLines` value exactly as `Text` does at runtime: a negative number (or `NaN`) becomes * `0`, while `null`/`undefined` pass through untouched (`!(value >= 0)` is `true` for negatives and `NaN`, * `false` otherwise). */ declare const clampNumberOfLines: (value?: number | null) => number | null | undefined; declare const textDefaultOverflowStyle: { readonly overflow: "hidden"; }; declare const processTextStyle: (style: GenericStyleProp, _includesDefaultStyle?: boolean) => Partial; declare function processSelectionColor(selectionColor?: unknown): { selectionColor?: unknown; }; declare function resolveActivityIndicatorDefault(value: T | undefined, fallback: T): T; declare const activityIndicatorStyles: { readonly container: { readonly alignItems: "center"; readonly justifyContent: "center"; }; readonly small: { readonly width: 20; readonly height: 20; }; readonly large: { readonly width: 36; readonly height: 36; }; }; declare function processActivityIndicatorStyle(style: ActivityIndicatorProps['style']): ActivityIndicatorProps['style']; declare function processActivityIndicatorSize(size?: ActivityIndicatorProps['size']): { style: { readonly width: 20; readonly height: 20; }; size: "small"; } | { style: { readonly width: 36; readonly height: 36; }; size: "large"; } | { style: { height: number; width: number; }; size: undefined; }; declare const getDefaultTextAccessible: () => boolean | undefined; declare const getDefaultTextStyle: () => undefined; declare function processTextAccessibilityProps(props: Record): Record; declare function processViewAccessibilityProps(props: Record): Record; declare function processImageAccessibilityProps(props: Record): Record; declare function processImageSourceProps(props: Record): Record; declare const processImageObjectSourceHeaders: (headers: T) => T; declare const processImageArraySourceDimensions: (dimensions: T) => T; declare const NativeText: any; declare const NativeView: any; declare const NativeViewWithContext: any; declare const NativeImage: any; export { NativeImage, NativeText, NativeView, NativeViewWithContext, activityIndicatorStyles, clampNumberOfLines, getDefaultTextAccessible, getDefaultTextStyle, processActivityIndicatorSize, processActivityIndicatorStyle, processImageAccessibilityProps, processImageArraySourceDimensions, processImageObjectSourceHeaders, processImageSourceProps, processSelectionColor, processTextAccessibilityProps, processTextStyle, processViewAccessibilityProps, resolveActivityIndicatorDefault, textDefaultOverflowStyle, userSelectToSelectableMap, verticalAlignToTextAlignVerticalMap }; export type { GenericStyleProp };