import React, { Component, CSSProperties } from 'react'; export interface BackTopProps { visibilityHeight?: number; onClick?: React.MouseEventHandler; target?: () => HTMLElement | Window; prefixCls?: string; className?: string; style?: CSSProperties; visible?: boolean; } export default class BackTop extends Component { static displayName: string; static defaultProps: { visibilityHeight: number; }; scrollEvent: any; state: { visible: boolean; }; componentDidMount(): void; componentWillUnmount(): void; scrollToTop: (e: React.MouseEvent) => void; handleScroll: () => void; render(): JSX.Element; }