import { RpcTransport } from "@solana/kit";
import { SolanaClusterRpcFactory } from "./baseRpcFactories";
import { RateLimitedSolanaRpcFactory } from "./rateLimitedRpcFactory";
import { Logger } from "winston";
export declare class RetrySolanaRpcFactory extends SolanaClusterRpcFactory {
    readonly retries: number;
    readonly retryDelaySeconds: number;
    protected rateLimitedTransport: RpcTransport;
    protected logger: Logger;
    constructor(retries: number, retryDelaySeconds: number, ...rateLimitedConstructorParams: ConstructorParameters<typeof RateLimitedSolanaRpcFactory>);
    createTransport(): RpcTransport;
    private _tryCall;
    private shouldFailImmediate;
}
