import { TooltipProps } from 'antd';
import React from 'react';
import { UseScrollVisibleProps } from './hooks/useScrollVisible';
/**
 * ScrollVisibleButton 组件属性
 */
export interface ScrollVisibleButtonProps extends Omit<React.DOMAttributes<HTMLButtonElement>, 'onClick'> {
    /** 自动化测试用按钮标识，未设置时默认与主题前缀一致 */
    'data-testid'?: string;
    /** 自定义类名 */
    className?: string;
    /** 自定义样式 */
    style?: React.CSSProperties;
    /** 提示信息 */
    tooltip?: React.ReactNode | TooltipProps;
    /** 滚动目标元素 */
    target?: () => HTMLElement | Window;
    /** 按钮显示条件 @default 400 */
    shouldVisible?: number | UseScrollVisibleProps['shouldVisible'];
    /** 点击回调 */
    onClick?: (e: React.MouseEvent<HTMLButtonElement> | undefined, container: HTMLElement | Window) => void;
}
export type ScrollVisibleButtonRef = {
    nativeElement: HTMLButtonElement | null;
};
/**
 * ScrollVisibleButton 组件
 *
 * 根据滚动位置显示/隐藏的按钮，支持平滑动画效果
 *
 * @example
 * ```tsx
 * <ScrollVisibleButton
 *   tooltip="返回顶部"
 *   shouldVisible={400}
 *   onClick={handleClick}
 * >
 *   <ArrowUpIcon />
 * </ScrollVisibleButton>
 * ```
 */
export declare const ScrollVisibleButton: React.ForwardRefExoticComponent<ScrollVisibleButtonProps & React.RefAttributes<ScrollVisibleButtonRef>>;
