import type { Result } from './result.js'; type MapOr = { >(defaultValue: T, mapOkFn: (value: T) => T, result: Res): T; >(defaultValue: T, mapOkFn: (value: T) => T): (result: Res) => T; >(defaultValue: T): { >(mapOkFn: (value: T) => T): (result: Res) => T; >(mapOkFn: (value: T) => T, result: Res): T; }; }; /** * Returns the provided default (if `Err`), or applies a function to the contained value (if `Ok`), * * Arguments passed to `mapOr` are eagerly evaluated; if you are passing the result of a function call, it is * recommended to use `mapOrElse`, which is lazily evaluated. * * @tags result, transform, transform-result, right-biased, unwrap */ export declare const mapOr: MapOr; export {};