import React from 'react'; import { StyledComponent } from 'styled-components'; declare type Props = { ImageComponent: StyledComponent<'img', any, {}, never>; src: string; alt: string; placeholder?: string; className?: string; fallbackImage?: string; }; declare const MagicImage: React.MemoExoticComponent<({ ImageComponent, placeholder, src, alt, className, fallbackImage, }: Props) => JSX.Element>; export default MagicImage;