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>; containerStyle?: StyleProp; childrenContainerStyle?: StyleProp; placeholderStyle?: StyleProp; transition?: boolean; transitionDuration?: number; } & Partial>, keyof ThemeProps>> | React.ForwardRefExoticComponent; PlaceholderContent?: React.ReactElement>; containerStyle?: StyleProp; childrenContainerStyle?: StyleProp; placeholderStyle?: StyleProp; transition?: boolean; transitionDuration?: number; } & Partial>>; export default _default;