import React from 'react'; import { Animated, Image as ImageNative, ImageProps as RNImageProps, ViewStyle, StyleProp } from 'react-native'; import { ThemeProps } from '../config'; export declare type ImageProps = RNImageProps & { Component?: typeof React.Component; onPress?(): void; onLongPress?(): void; ImageComponent?: React.ComponentType; PlaceholderContent?: React.ReactElement; containerStyle?: StyleProp; childrenContainerStyle?: StyleProp; placeholderStyle?: StyleProp; transition?: boolean; transitionDuration?: number; }; declare type ImageState = { placeholderOpacity: Animated.Value; }; declare class Image extends React.Component>, ImageState> { static getSize: typeof ImageNative.getSize; static getSizeWithHeaders: typeof ImageNative.getSizeWithHeaders; static prefetch: typeof ImageNative.prefetch; static abortPrefetch: typeof ImageNative.abortPrefetch; static queryCache: typeof ImageNative.queryCache; static resolveAssetSource: typeof ImageNative.resolveAssetSource; state: { placeholderOpacity: Animated.Value; }; onLoad: (e: any) => void; render(): JSX.Element; } export { Image }; declare const _default: React.FunctionComponent; PlaceholderContent?: React.ReactElement React.ReactElement React.Component)>) | (new (props: any) => React.Component)>; containerStyle?: StyleProp; childrenContainerStyle?: StyleProp; placeholderStyle?: StyleProp; transition?: boolean; transitionDuration?: number; } & Partial>, "style" | "onLayout" | "onError" | "onLoad" | "onLoadEnd" | "onLoadStart" | "progressiveRenderingEnabled" | "borderRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "resizeMode" | "resizeMethod" | "source" | "loadingIndicatorSource" | "testID" | "defaultSource" | "blurRadius" | "capInsets" | "onProgress" | "onPartialLoad" | "fadeDuration" | "width" | "height" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "onPress" | "onLongPress" | "Component" | "containerStyle" | "ImageComponent" | "PlaceholderContent" | "childrenContainerStyle" | "placeholderStyle" | "transition" | "transitionDuration">> | React.ForwardRefExoticComponent; PlaceholderContent?: React.ReactElement React.ReactElement React.Component)>) | (new (props: any) => React.Component)>; containerStyle?: StyleProp; childrenContainerStyle?: StyleProp; placeholderStyle?: StyleProp; transition?: boolean; transitionDuration?: number; } & Partial>>; export default _default;