import { RetryState } from "../models"; /** * Retries a given function based on the provided retry state. * * @param {Function} aFunction The function to retry. * @param {RetryState} retryState The current retry state. * @returns {Promise} The output of aFunction. */ export declare const retryFunctionWithState: (aFunction: Function, retryState: RetryState) => Promise;