export type RetryState = { attempt: number; startTime: number; };