import { type FlatListProps as RNFlatListProps, type ViewStyle } from 'react-native'; import type { ItemProps } from './types'; export interface FlatListItem extends ItemProps { /** Item data to be rendered */ data: T; } export type FlatListProps = RNFlatListProps> & { /** Whether margin collapsing is enabled */ marginCollapse?: boolean; /** Optional style or style callback for the item wrapper */ itemWrapperStyle?: ViewStyle | ((item: FlatListItem, index: number) => ViewStyle); }; /** * FlatList replacement that supports margin collapsing. * Note: `data` prop has slightly different shape than React Native's FlatList. */ export declare function FlatList({ data, renderItem, marginCollapse, itemWrapperStyle, ...restProps }: FlatListProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=flat-list.d.ts.map