import './style.less'; import * as React from 'react'; interface ImgItem { [propName: string]: any; } export interface Props { className?: string; widthList?: Array; isPad?: boolean; imgList: Array; useDivInner?: boolean; onClick?: (e: any, imgItem: ImgItem, index: number) => void; onSuccess: () => void; onFailure: () => void; onLongTouch?: () => void; } export default class Imager extends React.Component { static defaultProps: { className: string; onSuccess(): void; onFailure(): void; }; dpr: number; container: HTMLDivElement | null; private touchTimer; private touchX; private touchY; componentDidMount(): void; initImage(): void; createImage(listItem: ImgItem, index: number): Promise; onTouchStart: (e: React.TouchEvent) => void; onTouchEnd: (e: React.TouchEvent) => void; render(): JSX.Element; } export {};