import PropTypes from 'prop-types'; import { Component } from 'react'; import { ImageProps, ViewStyle, ImageStyle } from 'react-native'; import { IMessage } from './types'; interface MessageImageProps { currentMessage?: TMessage; containerStyle?: ViewStyle; imageStyle?: ImageStyle; imageProps?: Partial; lightboxProps?: object; } export default class MessageImage extends Component { static defaultProps: { currentMessage: { image: null; }; containerStyle: {}; imageStyle: {}; imageProps: {}; lightboxProps: {}; }; static propTypes: { currentMessage: PropTypes.Requireable; containerStyle: PropTypes.Validator> | undefined; imageStyle: PropTypes.Requireable; imageProps: PropTypes.Requireable; lightboxProps: PropTypes.Requireable; }; render(): JSX.Element | null; } export {};