import { Component, CSSProperties } from 'react';
type ScreencaptureProps = {
    children: any;
    onStartCapture?: () => void;
    onEndCapture: (url: string) => void;
};
type ScreencaptureState = {
    on: boolean;
    startX: number;
    startY: number;
    endX: number;
    endY: number;
    crossHairsTop: number;
    crossHairsLeft: number;
    isMouseDown: boolean;
    windowWidth: number;
    windowHeight: number;
    borderWidth: number | string | CSSProperties;
    cropPositionTop: number;
    cropPositionLeft: number;
    cropWidth: number;
    cropHeigth: number;
    imageURL: string;
};
export declare class Screencapture extends Component<ScreencaptureProps, ScreencaptureState> {
    state: ScreencaptureState;
    handleWindowResize: () => void;
    componentDidMount: () => void;
    componentWillUnmount: () => void;
    handStartCapture: () => void;
    handleMouseMove: (e: any) => void;
    handleMouseDown: (e: any) => void;
    handleMouseUp: () => void;
    handleClickTakeScreenShot: () => void;
    renderChild: () => any;
    render(): any;
}
export default Screencapture;
