import React, { MutableRefObject, RefAttributes } from 'react'; import { FlatList } from 'react-native'; export interface LazyFlatListMethods { scrollToStart: typeof FlatList.prototype.scrollToEnd; scrollToEnd: typeof FlatList.prototype.scrollToEnd; scrollToIndex: typeof FlatList.prototype.scrollToIndex; scrollToOffset: typeof FlatList.prototype.scrollToOffset; scrollToItem: typeof FlatList.prototype.scrollToItem; } export interface LazyFlatListProps { /** * How far above or below the bottom of the FlatList the threshold trigger is. Negative is above, postive it below. Accepts [FlatList props](https://reactnative.dev/docs/FlatList). * @defaultValue 0 (bottom of Fl) */ offset?: number; /** * Ref to the LazyFlatList. Exposes scrollTo, scrollToStart, and scrollToEnd methods. */ ref?: MutableRefObject; /** * When true, console.logs FlatList measurements. Even if true, will not call console.log in production. */ debug?: boolean; } type Props = LazyFlatListProps & Omit>, 'onLayout' | 'onScroll' | 'ref' | 'CellRendererComponent'>; declare const LazyFlatList: (props: LazyFlatListProps & Omit, "onLayout" | "ref" | "onScroll" | "CellRendererComponent"> & React.RefAttributes) => React.ReactElement; export { LazyFlatList }; //# sourceMappingURL=LazyFlatList.d.ts.map