1import { ClassAttributes, ComponentProps, ComponentType } from 'react'; 2import { Image as NativeImage, ImageStyle as NativeImageStyle, StyleProp } from 'react-native'; 3import { WebViewStyle } from './View'; 4type NativeImageProps = ComponentProps<typeof NativeImage> & ClassAttributes<typeof NativeImage>; 5export interface WebImageStyle { 6 opacity?: number; 7} 8export type ImageStyle = Omit<NativeImageStyle, 'position'> & WebImageStyle & WebViewStyle; 9export type WebImageProps = { 10 style?: StyleProp<ImageStyle>; 11 /** @platform web */ 12 tabIndex?: number; 13 /** 14 * Set whether the image can be dragged with native browser behavior. 15 * @platform web 16 */ 17 draggable?: boolean; 18}; 19export type ImageProps = Omit<NativeImageProps, 'style'> & WebImageProps; 20declare const _default: ComponentType<ImageProps>; 21export default _default; 22//# sourceMappingURL=Image.d.ts.map