import type { Result } from './result.js'; type UnwrapOr = { , T>(defaultValue: T): (result: Res) => T; , T>(defaultValue: T, result: Res): T; }; /** * Extract value from an `Ok` or use a fallback value if an `Err` * * @tags result, unwrap, transform, transform-result, recover, errors * @see https://doc.rust-lang.org/core/result/enum.Result.html#method.unwrap_or */ export declare const unwrapOr: UnwrapOr; export {};