UNPKG

multi-llm

Version:

A unified TypeScript/JavaScript package to use LLMs across ALL platforms with support for 17 major providers, streaming, MCP tools, and intelligent response parsing

11 lines 498 B
import { RetryOptions } from '../types'; export interface RetryConfig { retries: number; retryInterval: number; retryBackoff: number; } export declare const DEFAULT_RETRY_CONFIG: RetryConfig; export declare function getRetryConfig(options: RetryOptions): RetryConfig; export declare function sleep(ms: number): Promise<void>; export declare function executeWithRetry<T>(operation: () => Promise<T>, config: RetryConfig, context?: string): Promise<T>; //# sourceMappingURL=retry.d.ts.map