import { Box } from "./box"; import { DefaultOrFunc } from "./fn"; import { Voidable } from "./maybe"; /** Optional values * @deprecated */ export declare class Option implements Box> { #private; val: Voidable; private constructor(); get has(): boolean; toString(): string; map(f: (val: T) => R): Option; then(f: (val: T) => Option): Option; or(other: DefaultOrFunc>): Option; xor(other: Option): Option; and(other: Option): Option; take(): Option; static some(value: T): Option; static none(): Option; static None: Option; }