import { Context } from '../Context/Context';
import { TaskRetryRule } from './State';
export declare class Retriers {
    private readonly _retriers;
    private logger;
    private constructor();
    static create(taskRetryRules: TaskRetryRule[]): Retriers;
    private getStatesErrorFrom;
    private getRetrierBasedOn;
    retry(fn: () => any, context: Context): Promise<any>;
}
