import React from 'react';
import { ScrollVisibleButtonProps, ScrollVisibleButtonRef } from './ScrollVisibleButton';
/**
 * BackTop 组件属性
 */
export interface BackTopProps extends ScrollVisibleButtonProps {
    /** 滚动到顶部的持续时间 @default 450 */
    duration?: number;
    /**
     * 按钮显示条件：数值表示距顶部超过该像素时显示，函数则自定义判断逻辑
     * @default 400
     */
    shouldVisible?: number | ((scrollTop: number, container: HTMLElement | Window) => boolean);
}
export declare const BackTop: React.MemoExoticComponent<React.ForwardRefExoticComponent<BackTopProps & React.RefAttributes<ScrollVisibleButtonRef>>>;
