import { Component } from 'react';
import 'whatwg-fetch';
import './PdfViewer.less';
export default class Viewer extends Component<any, any> {
    static defaultProps: {
        pageCount: number;
        fullscreen: boolean;
    };
    container: any;
    hideControlsTimer: any;
    hidingControls: any;
    initilized: boolean;
    lastUpdateTime: any;
    pageHeight: number;
    pageInput: any;
    pageWidth: number;
    scaleSelect: any;
    scrollHideControls: boolean;
    scrollTimer: any;
    scrollTop: any;
    styleLink: any;
    constructor(props: any);
    componentDidMount(): void;
    componentDidUpdate(prevProps: any, prevState: any): void;
    componentWillUnmount(): void;
    initViewer: () => void;
    hideScrollbar: () => void;
    scrollListener: () => void;
    updatePageIndex: () => void;
    loadPage: (index: number) => void;
    gotoPage: (page: number, delta?: number) => void;
    prevPage: () => void;
    nextPage: () => void;
    enterPage: (e: any) => void;
    resetScale: () => void;
    setScale: (scale: number) => void;
    zoomOut: () => void;
    zoomIn: () => void;
    changeScale: (value: any) => void;
    autoScale: () => void;
    fitPage: () => void;
    fitWidth: () => void;
    toggleFullScreen: () => void;
    handleKeyDown: (e: {
        keyCode: number;
        preventDefault: () => void;
    }) => void;
    handleMouseMove: (e: {
        currentTarget: {
            getBoundingClientRect: () => any;
        };
        clientY: number;
        clientX: number;
    }) => void;
    hideControls: () => void;
    showControls: () => void;
    render(): JSX.Element;
}
