export type LoadMoreSource = (() => Promise) | { loadMore: () => Promise; failed: boolean; canLoadMore: boolean; };