export declare class RetryError extends Error { cause?: any; count: number; constructor(count: number, cause?: any); /** * Provides the JSON representation of the {@link ConfigError}. * * @return {object} The JSON representation. */ toJSON(): object; /** * Serializes the error as a string. * * @return {string} The string representation. */ toString(): string; }