import React, { MouseEvent, UIEvent } from 'react'; export interface ScrollAreaProps { className?: string; onScroll?: (position: ScrollPosition) => any; atTopClassName?: string; style?: any; containerStyle?: any; delegate?: (delegate: IScrollDelegate) => void; forwardedRef: (ref: HTMLDivElement) => void; children: any; } export interface IScrollDelegate { scrollTo(position: ScrollPosition): void; } export interface ScrollPosition { top: number; left: number; } export interface ScrollSizes { scrollHeight: number; offsetHeight: number; offsetWidth: number; scrollWidth: number; } export declare class Scroll extends React.Component { ref: HTMLDivElement; container: HTMLDivElement; private thumbV; private trackV; private thumbH; private trackH; private decorationL; private decorationR; private size; private position; private dragging; private draggingStart; private draggingStartPos; private requestFrame; private shouldHideThumb; private isAtTop; onScroll(e: UIEvent): void; scrollTo(position: ScrollPosition): void; onMouseDownHorizontal(e: MouseEvent): void; onMouseMoveHorizontal: (e: any) => void; onMouseUpHorizontal: (e: any) => void; onMouseDownOnTrack(e: MouseEvent): void; calculateXToLeft(x: any): number; onMouseDownVertical(e: MouseEvent): void; onMouseMoveVertical: (e: any) => void; onMouseUpVertical: (e: any) => void; onMouseDownOnTrackVertical(e: MouseEvent): void; onMousewheel: (e: WheelEvent) => void; calculateYToTop(y: any): number; componentDidUpdate(): void; componentDidMount(): void; onMouseEnter: () => void; componentWillUnmount(): void; handleWindowResize: () => void; sizeEqual(size1: ScrollSizes, size2: ScrollSizes): boolean; update: (callback?: any) => void; _update(): void; updateScrollBar(): void; hideThumb(): void; showThumb(): void; setCss(): void; render(): React.JSX.Element; } //# sourceMappingURL=index.d.ts.map