import { ClassAttributes, ComponentProps, ComponentType } from 'react'; import { StyleProp, Image as NativeImage, ImageStyle as NativeImageStyle } from 'react-native'; import { WebViewStyle } from './View'; declare type NativeImageProps = ComponentProps & ClassAttributes; export interface WebImageStyle { opacity?: number; } export declare type ImageStyle = Omit & WebImageStyle & WebViewStyle; export declare type WebImageProps = { style?: StyleProp; /** @platform web */ tabIndex?: number; /** * Set whether the image can be dragged with native browser behavior. * @platform web */ draggable?: boolean; /** @platform web */ hoverStyle?: StyleProp; }; export declare type ImageProps = Omit & WebImageProps; declare const Image: ComponentType; export default Image;