///
import { Component } from 'react';
import ListViewDataSource from './ListViewDataSource';
import { IListView } from "./PropsType";
import IndexedList from './Indexed';
import RefreshControl from './RefreshControl';
declare class ListView extends Component {
static DataSource: typeof ListViewDataSource;
static IndexedList: typeof IndexedList;
static RefreshControl: typeof RefreshControl;
static defaultProps: {
initialListSize: number;
pageSize: number;
renderScrollComponent: (props: any) => JSX.Element;
renderBodyComponent: () => JSX.Element;
renderSectionBodyWrapper: (sectionID: any) => JSX.Element;
sectionBodyClassName: string;
scrollRenderAheadDistance: number;
onEndReachedThreshold: number;
scrollEventThrottle: number;
stickyProps: {};
stickyContainerProps: {};
};
state: {
curRenderedRowsCount: number;
highlightedRow: {
sectionID: any;
rowID: any;
};
};
scrollProperties: any;
_visibleRows: any;
getMetrics(): {
contentLength: any;
totalRows: any;
renderedRows: number;
visibleRows: number;
};
getScrollResponder(): any;
scrollTo(...args: any[]): void;
setNativeProps(props: any): void;
getInnerViewNode(): any;
_childFrames: any;
_prevRenderedRowsCount: any;
_sentEndForContentLength: any;
componentWillMount(): void;
componentDidMount(): void;
componentWillReceiveProps(nextProps: any): void;
onRowHighlighted(sectionID: any, rowID: any): void;
stickyRefs: {};
setStickyRefs(sectionID: any): (c: any) => void;
render(): any;
_sc: any;
_measureAndUpdateScrollProps(): void;
_onContentSizeChange(width: any, height: any): void;
_onLayout(event: any): void;
_maybeCallOnEndReached(event?: any): boolean;
_renderMoreRowsIfNeeded(): void;
_pageInNewRows(): void;
_getDistanceFromEnd(scrollProperties: any): number;
_updateVisibleRows(): void;
_onScroll(e: any): void;
static isReactNativeComponent: boolean;
}
export default ListView;