import type { _NSCollectionView } from "./NSCollectionView.js";
import type { _NSArray } from "../Foundation/NSArray.js";
export interface _NSCollectionViewPrefetching {
    /**
     * Notifies your 'prefetchDataSource' that items at the specified 'indexPaths' are likely to be instantiated and displayed soon. The CollectionView sends this as early as possible, to give your 'prefetchDataSource' the opportunity to begin acquiring any resources such as thumbnail images or metadata that you might need in order to prepare the item's content for display. The given 'indexPaths' are sorted by the order in which they are likely to be needed.
     */
    collectionView$prefetchItemsAtIndexPaths$?(collectionView: _NSCollectionView, indexPaths: _NSArray): void;
    /**
     * Notifies your 'prefetchDataSource' that items at the specified 'indexPaths', for which the CollectionView previously sent -collectionView:prefetchItemsAtIndexPaths:, are no longer expected to be displayed. This is a good opportunity to cancel any pending resource fetches you've initiated for the items, if possible and worthwhile. This is only sent for items that don't end up being displayed; CollectionView doesn't cancel prefetching for items that it actually instantiates and shows.
     */
    collectionView$cancelPrefetchingForItemsAtIndexPaths$?(collectionView: _NSCollectionView, indexPaths: _NSArray): void;
}
