import { ReactElement, Ref } from 'react'; import { type StyledFlatListProps, StyledProp } from '@mapples/style'; import type { View as RNView, ViewStyle } from 'react-native'; /** * Props for the FlatList component. * * Extends `StyledFlatListProps` with a split `styled` object that applies * separate style values to the outer container view, the list itself, and * the list's content container. * * @public */ export type FlatListProps = Omit, 'styled' | 'data'> & { /** The items; optional, so a `$data` binding can supply them alone. */ data?: StyledFlatListProps['data']; styled?: { /** Style applied to the outer container view that wraps the list */ style?: StyledProp; /** Style applied directly to the `FlatList` component */ styleList?: StyledProp; /** Style applied to the scrollable content container of the list */ contentContainerStyle?: StyledProp; }; }; declare const FlatListExport: (props: FlatListProps & { ref?: Ref; }) => ReactElement; export default FlatListExport; //# sourceMappingURL=FlatList.d.ts.map