import type { FallbackOptions } from '../types.js'; /** * Creates a fallback policy that returns a fallback value (or the result * of a fallback function) when the wrapped operation fails. * * @example * ```ts * const result = await fallback({ fallback: [] })(() => callApi()); * ``` */ export declare function fallback(options: FallbackOptions): (fn: () => Promise) => Promise; //# sourceMappingURL=fallback.d.ts.map