import * as React from "react"; import { Animated, Image as ImageNative, ImageProps as RNImageProps, ViewStyle, StyleProp } from "react-native"; 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 { 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: ImageState; onLoad: (e: any) => void; render(): JSX.Element; } export default Image;