import React from 'react'; export type CommonProps = { alt: string; src: string; caption?: string; captionClassName?: string; className?: string; appendClassName?: string; style?: React.CSSProperties; }; export type ImageProps = ({ responsive: true; width?: never; height?: never; } & CommonProps) | ({ responsive?: false; width?: number | string; height?: number | string; } & CommonProps); export declare const Image: ({ alt, className, appendClassName, src, caption, captionClassName, height, width, responsive, style, ...rest }: ImageProps) => JSX.Element;