import { ReactElement, ReactNode, Component } from 'react'; import { DimensionValue, ImageProps as RNImageProps, StyleProp, ViewStyle } from 'react-native'; import { ImageSrcType } from '../../@types/image'; import { BaseProperties } from '../../@types/utilities'; export type ImageProps = Omit & BaseProperties & { Component?: typeof Component; ImageComponent?: typeof Component; children?: ReactNode; childrenContainerStyle?: StyleProp; containerStyle?: StyleProp; height?: DimensionValue; width?: DimensionValue; placeholderContent?: ReactElement; errorContent?: ReactElement; placeholderStyle?: StyleProp; source: ImageSrcType; transition?: boolean; persisRatioWithImageFailed?: boolean; transitionDuration?: number; };