import { FunctionComponent } from 'react'; interface ImageDimensions { readonly naturalHeight: number; readonly naturalWidth: number; } declare type ImageLoadCallback = (dimensions: ImageDimensions) => void; interface Props { onLoad?: ImageLoadCallback; src: string; } declare const ImageLayer: FunctionComponent; export default ImageLayer;