export type RetryingPollerProps = { pollFunction: () => Promise; pollIntervalInMs?: number; maxRetries?: number; }; export default function retryPollingUntilSuccessful({ pollFunction, pollIntervalInMs, maxRetries, }: RetryingPollerProps): Promise;