import { Event } from './event'; import { Response } from './response'; /** Layer used to send data to Amplitude while retrying throttled events in the right order. */ export interface Retry { /** * Send the events payload to Amplitude, and retry the events that failed on a loop. * * @param events The events that should be sent to Amplitude. */ sendEventsWithRetry(events: readonly Event[]): Promise; } /** * @deprecated a poor naming of an interface that should be implemented, NOT a class to extend. */ export declare type RetryClass = Retry; //# sourceMappingURL=retry.d.ts.map