import * as React from 'react'; import { IRolContext } from '../RolContext'; import { BaseTool, IBaseToolProps } from './BaseTool'; export interface IPanZoomProps extends IBaseToolProps { /** * Class name. */ className?: string; /** * Show Zoom */ showZoom?: boolean; /** * Show Zoom Slider */ showZoomSlider?: boolean; /** * Show Pan */ showPan?: boolean; /** * Show Origin */ showOrigin?: boolean; /** * Show Rotation */ showRotation?: boolean; } export declare class PanZoom extends BaseTool { static defaultProps: { className: string; showZoom: boolean; showZoomSlider: boolean; showPan: boolean; showOrigin: boolean; showRotation: boolean; activated: boolean; defaultActivated: boolean; independant: boolean; }; static contextType: React.Context; context: IRolContext; /** * Origin. */ private origin; /** * Button Rotate. */ private buttonRotate; /** * Div Rotate. */ private divRotate; /** * Container thumb. */ private containerThumb; /** * Btn thumb. */ private btnThumb; toolDidConstruct(): void; onViewChange: () => void; onResolutionChange: () => void; handleZoomButtonClick: (event: React.MouseEvent) => void; handleUnzoomButtonClick: (event: React.MouseEvent) => void; handleOriginButtonClick: (event: React.MouseEvent) => void; handleLeftButtonClick: (event: React.MouseEvent) => void; handleRightButtonClick: (event: React.MouseEvent) => void; handleUpButtonClick: (event: React.MouseEvent) => void; handleDownButtonClick: (event: React.MouseEvent) => void; handleResetRotationButtonClick: (event: React.MouseEvent) => void; pan(deltaX: number, deltaY: number): void; zoom(delta: number): void; renderPan(): React.ReactNode; renderZoom(): React.ReactNode; renderRotation(): React.ReactNode; renderTool(): React.ReactNode; }