import { RefObject } from 'react'; import { FlatList } from 'react-native'; /** * iOS starts a sheet's interactive dismissal once the content scroll view sits at its * top content edge — for an inverted list, wherever the newest message rests. Resting * the list 1pt in from that edge keeps a drag at the bottom of a conversation scrolling * history instead of swiping the modal away. */ export declare const useRestAwayFromDismissEdge: ({ listRef, enabled, }: { listRef: RefObject; enabled?: boolean; }) => { restOffset: number; onLayout: (...args: any[]) => void; onContentSizeChange: (...args: any[]) => void; onScrollEndDrag: (...args: any[]) => void; onMomentumScrollEnd: (...args: any[]) => void; }; //# sourceMappingURL=use_rest_away_from_dismiss_edge.d.ts.map