import React from 'react'; import './screenshots.less'; import { Point, Mode, MosaicType, Info } from './types'; import { Lang } from './zh_CN'; export { ScreenshotsColor } from './ScreenshotsColor'; export { ScreenshotsMosaicType } from './ScreenshotsMosaicType'; export { Mode }; export interface ScreenshotsProps { url?: string; width: number; height: number; lang?: Partial; className?: string; mode?: Mode; onScaleChange?: (scale: number, event?: WheelEvent) => void; onHistoryChange?: (status: { redoDisabled: boolean; undoDisabled: boolean; }) => void; onOperationChange?: (operation: string) => void; scaleable?: boolean; [key: string]: unknown; extraInfo: any; onSelectWindow: (windowId: number) => void; displayIndex: number; selectedDisplayIndex: number; logger?: (text: string) => void; } type IEventType = 'onOk' | 'onCancel' | 'onSave'; export interface ScreenshotsRef { manualSelect: (p1: Point, p2: Point) => void; updateScale: (scale: number) => void; updateColor: (color: string) => void; updateMosaicType: (type: MosaicType) => void; redo: () => void; undo: () => void; switchOperation: (operation: string) => void; invoke: (event: IEventType) => void; drawSelect: (windowInfo: Info & { imageUrl: string; }) => void; enterDisplayChange: (displayIndex: number) => void; } export declare const Screenshots: React.ForwardRefExoticComponent & React.RefAttributes>;