import React from 'react'; export interface BackToUpProps extends React.AllHTMLAttributes { prefixCls?: string; /** Scroll bar area @default document.documentElement */ element?: HTMLElement | null; /** Whether to use smooth scrolling* @default true */ smooth?: boolean; /** Classname to add/override styling (note, !important for overrides might be needed) */ className?: string; /** Object to add/override styling */ style?: React.CSSProperties; /** Height after page scroll to be visible @default 120 */ top?: number; /** The Button width & height @default 35 */ size?: number; /** the width of the progress bar */ strokeWidth?: number; /** hide progress icon */ hideProgress?: boolean; } export default function BackToUp(props?: BackToUpProps): React.JSX.Element;