import * as React from 'react'; export interface ToTopProps { prefixCls?: string; className?: string; style?: React.CSSProperties; onClick?: (e: any) => void; children?: React.ReactNode; displayHeight?: number; visible?: boolean; } export interface State { visible: boolean; } declare class ToTop extends React.PureComponent { static defaultProps: { prefixCls: string; style: {}; displayHeight: number; }; constructor(props: ToTopProps); componentDidMount(): void; componentWillUnmount(): void; static setScrollTop(parameters: { value: any; }): void; handleScroll: () => void; scrollToTop: (e: any) => void; render(): JSX.Element; } export default ToTop;