import Rect, { RectProp } from './rect'; import { ImageAttrs } from '../../types'; export interface ImageProp extends RectProp { loading: boolean; image: string; cacheImage: string; attrs?: ImageAttrs; canvas?: any; } declare class ImageShape extends Rect { _initProperties(): void; draw(context: any): void; createPath(context: any): void; drawImage(context: any, image: any): void; } export default ImageShape;