/** * Options class for Retrier */ export declare class RetrierOptions { /** * The default value for retries */ static readonly RETRIES_DEFAULT = 10; private retries; /** * How many times should retry the operation */ get Retries(): number; set Retries(v: number); /** * The default interval between retries */ static readonly RETRY_INTERVAL_MS_DEFAULT = 10; private retryIntervalMs?; /** * The interval between tries in milliseconds */ get RetryIntervalMs(): number; set RetryIntervalMs(v: number); /** * The default timeout in millisecs */ static readonly TIMEOUT_MS_DEFAULT = 1000; private timeoutMsValue?; /** * The Timeout interval in milliseconds */ get timeoutMs(): number; set timeoutMs(v: number); /** * Optional callback, triggered right before each try */ onTry?: () => void; /** * Optional callback, triggered on success */ onSuccess?: () => void; /** * Optional callback, triggered on fail (timeout or too many retries) */ onFail?: () => void; } //# sourceMappingURL=retrier-options.d.ts.map