import type { LayoutChangeEvent } from 'react-native'; export interface UseCompositeListItemParameters { metadata?: Metadata | undefined; } export interface UseCompositeListItemReturnValue { /** * The item's index in visual order. Starts at the item's registration order * and is corrected once the whole list has been measured. */ index: number; /** * Must be spread onto the item's element so the list can learn where it * actually sits on screen. */ onLayout: (event: LayoutChangeEvent) => void; } /** * Registers a list item with the `CompositeList` and reports its position. */ export declare function useCompositeListItem(params?: UseCompositeListItemParameters): UseCompositeListItemReturnValue; //# sourceMappingURL=useCompositeListItem.d.ts.map