export type AnyAsyncFunction = (...args: any[]) => Promise; export interface AsyncCall { asyncFn: F; timeout?: number; } export declare function withFallback(calls: AsyncCall[]): (...args: Parameters) => Promise; export type WithFallbackOptions = { fallbacks?: F[]; fallbackTimeout?: number; }; export declare function createAsyncCallWithFallbacks(defaultCall: F, options?: WithFallbackOptions): (...args: Parameters) => Promise; //# sourceMappingURL=withFallback.d.ts.map