import React, { CSSProperties, ReactNode, ReactElement, ComponentProps } from 'react'; import { DivProps } from '../../types'; import { Gallery, ImagePreviewProps } from '../gallery'; export interface ImageProps extends DivProps { src?: string; fallback?: string; onLoad?: ComponentProps<'img'>['onLoad']; onError?: ComponentProps<'img'>['onError']; renderLoading?: ReactNode; alt?: string; width?: string | number; height?: string | number; objectFit?: CSSProperties['objectFit']; objectPosition?: CSSProperties['objectPosition']; imgProps?: ComponentProps<'img'>; actions?: ReactNode; previewable?: boolean; previewProps?: ImagePreviewProps; onPreview?(e: React.MouseEvent): void; } export declare const Image: { (props: ImageProps): ReactElement; Gallery: typeof Gallery; };