import * as React from 'react'; import * as PropTypes from 'prop-types'; export declare type actionType = 'zoomIn' | 'zoomOut' | 'oneToOne' | 'reset' | 'prev' | 'play' | 'next' | 'rotateRight' | 'rotateLeft' | 'flipHorizontal' | 'flipVertical'; export declare type listParamsAttr = 'src' | 'original' | 'alt'; export interface ListParamsProps { src?: string; original?: string; alt?: string; } export interface PreviewimgProps { className?: string; prefixCls?: string; type?: string; list?: Array; listParams: ListParamsProps; } export interface ToolbarProps { zoomIn: boolean; zoomOut: boolean; oneToOne: boolean; reset: boolean; prev: boolean; play: boolean; next: boolean; rotateLeft: boolean; rotateRight: boolean; flipHorizontal: boolean; flipVertical: boolean; } export default class Previewimg extends React.Component { static defaultProps: { prefixCls: string; type: string; list: never[]; listParams: { src: string; original: string; alt: string; }; }; static propTypes: { className: PropTypes.Requireable; prefixCls: PropTypes.Requireable; type: PropTypes.Requireable; list: PropTypes.Requireable; listParams: PropTypes.Requireable; }; defaultList: Array; moreList: Array; options: ToolbarProps; constructor(props: PreviewimgProps); loadViewer(): void; componentDidMount(): void; render(): JSX.Element; }