import BaseScrollComponent, { ScrollComponentProps } from '../../../core/scrollcomponent/BaseScrollComponent'; import ScrollViewer from './ScrollViewer'; /*** * The responsibility of a scroll component is to report its size, scroll events and provide a way to scroll to a given offset. * RecyclerListView works on top of this interface and doesn't care about the implementation. To support web we only had to provide * another component written on top of web elements */ export default class ScrollComponent extends BaseScrollComponent { static defaultProps: { contentHeight: number; contentWidth: number; externalScrollView: typeof ScrollViewer; isHorizontal: boolean; scrollThrottle: number; canChangeSize: boolean; }; private _height; private _width; private _scrollViewRef; constructor(args: ScrollComponentProps); scrollTo(x: number, y: number, animated: boolean): void; render(): JSX.Element; private _onScroll; private _onSizeChanged; } //# sourceMappingURL=ScrollComponent.d.ts.map