import { PluginFactory, PluginOptions } from '../types'; import { ErrorCode } from '../../errors/baseError'; export interface RetryPluginOptions extends PluginOptions { /** Maximum retry attempts (default: 3) */ maxRetries?: number; /** Initial delay in ms (default: 1000) */ initialDelay?: number; /** Maximum delay in ms (default: 10000) */ maxDelay?: number; /** Backoff multiplier (default: 2) */ backoffMultiplier?: number; /** Error codes that should trigger retry */ retryableErrors?: ErrorCode[]; } /** * Creates a retry plugin instance */ export declare const createRetryPlugin: PluginFactory;