import type { RefreshControlProps, ScrollViewProps, StyleProp, ViewStyle } from 'react-native'; import type { MutableRefObject, ReactElement } from 'react'; import React from 'react'; import { ScrollView } from 'react-native'; interface Props extends Omit { innerRef?: MutableRefObject; loading?: boolean; refreshing?: RefreshControlProps['refreshing']; onRefresh?: RefreshControlProps['onRefresh']; refreshControl?: boolean; onEndReached?: () => void; onEndReachedThreshold?: number; style?: StyleProp; data: T[]; renderItem: ({ item, i }: { item: T; i: number; }) => ReactElement; LoadingView?: React.ComponentType | React.ReactElement | null; ListHeaderComponent?: React.ReactNode | null; ListEmptyComponent?: React.ComponentType | React.ReactElement | null; ListFooterComponent?: React.ComponentType | React.ReactElement | null; ListHeaderComponentStyle?: StyleProp; contentContainerStyle?: StyleProp; containerStyle?: StyleProp; numColumns?: number; keyExtractor?: ((item: T | any, index: number) => string) | undefined; refreshControlProps?: Omit; } declare function MasonryList(props: Props): ReactElement; declare const _default: React.MemoExoticComponent; export default _default;