import type { Selection } from '../Selection'; export type RetryEvent = { readonly promise: Promise; readonly selections: Set; readonly isLastTry: boolean; }; export declare const notifyRetry: (promise: Promise, selections: Set, isLastTry?: boolean) => void; export declare const subscribeRetry: (callback: (event: RetryEvent) => void) => () => void; export type FetchEvent = { readonly promise: Promise; readonly selections: Set; }; export declare const notifyFetch: (promise: Promise, selections: Set) => void; export declare const subscribeFetch: (callback: (event: FetchEvent) => void) => () => void;