import type { Atom } from "./atom"; import type { Option } from "./option"; import type { Result } from "./result"; /** * Converts between Slang types. * - `option`: Wraps primitive or symbol description into `Option` * - `atom`: Converts `Some` to `Atom` or returns symbol Atom * - `result`: Wraps values into `Ok`, `None` into `Err` */ export declare function _to(value: Option, target: "option"): Option; export declare function _to(value: Option, target: "atom"): Atom; export declare function _to(value: Atom, target: "option"): Option; export declare function _to(value: Atom, target: "atom"): Atom; export declare function _to(value: Option, target: "result"): Result; export declare function _to(value: Atom, target: "result"): Result;