import type { CallInterceptor } from './call-interceptor.js'; import type { CallPlugin } from './plugin.js'; export type RetryPluginOptions = { retries?: number; delay?: number | ((attempt: number, error: unknown) => number); retry?: (error: unknown, attempt: number) => boolean; }; export declare class RetryPlugin implements CallPlugin { readonly name = "retry"; readonly intercept: CallInterceptor; private readonly retries; private readonly delay; private readonly shouldRetry; constructor(options?: RetryPluginOptions); private interceptCall; } //# sourceMappingURL=retry-plugin.d.ts.map