import React, { FC } from 'react';
import { FlatListProps, ScrollViewProps } from 'react-native';
type TypeData = string | number | object | [] | React.ReactElement;
type RCProps = {
    item: TypeData;
    index: number;
};
type TypeRenderComponent = ({ item, index }: RCProps) => React.ReactElement;
export declare enum TypeList {
    FlatList = "flatList",
    ScrollView = "scrollView"
}
interface ListProps {
    data: TypeData[] | undefined;
    renderComponent: TypeRenderComponent;
    type?: TypeList;
}
type MergedProps = ListProps & (FlatListProps<TypeData> | ScrollViewProps);
declare const List: FC<MergedProps>;
export default List;
