import React, { type FC, type ReactNode } from 'react'; export interface ScrollProps extends React.HTMLAttributes { children?: ReactNode; onScroll?: (e: React.UIEvent) => void; /** * 浅色色码,用于顶端渐变的结束 & 底部渐变的开始 */ lightColor?: string; /** * 深色色码,用于顶端渐变的开始 & 底部渐变的结束 */ darkColor?: string; /** * 渐变区域的高度 */ linearHeight?: number; maxHeight?: number; /** * 渐变区域的遮罩 */ linearGradient?: boolean; scrollerYRef?: React.RefObject; } export declare const Scroll: FC;