/** * provides setInterval-like functionality for an async function. * @param interval - time to wait in between calls to `callback`. We wait for callback to complete, then wait interval, so callback calls won't overlap. * @param ignoreErrors - if false (the default), the first error in `callback` will stop the interval. * @returns a 'cancel' function you can call to stop the interval. It is safe to call this multiple times. */ export declare const setAsyncInterval: (callback: () => Promise, interval: number, ignoreErrors?: boolean) => (() => void);