import { type Result } from '../../plain_result/core/result.js';
import { type Maybe } from '../core/maybe.js';
/**
 *  Return `Err<void>` if _input_ is `null` or `undefined`.
 *  Otherwise, return `Ok<T>` directly.
 */
export declare function toResultOkFromMaybe<T>(input: Maybe<T>): Result<T, void>;
/**
 *  Return `Ok<void>` if _input_ is `null` or `undefined`.
 *  Otherwise, return `Err<E>` directly.
 */
export declare function toResultErrFromMaybe<E>(input: Maybe<E>): Result<void, E>;
