export type BackoffFunction = (retryAttempt: number, error: Error, transactionId: string) => number;