import type { Result } from "./result"; import type { Option } from "./option"; /** * Schedules a microtask; falls back to Promise if unavailable. * Used internally for deferred error handling in unwrap chains. */ export declare const scheduleMicrotask: (fn: () => void) => void; /** Type guard for Result */ export declare const isResult: (value: unknown) => value is Result; /** Type guard for Option */ export declare const isOption: (value: unknown) => value is Option; /** Type guard for Atom (boxed symbol) */ export declare const isAtom: (value: unknown) => boolean; /** Evaluated value result type */ export type EvaluatedValue = { ok: true; value: unknown; } | { ok: false; error: string; }; /** * Extracts inner value from Slang types (Atom, Result, Option) or plain values. * Returns a discriminated union indicating success or failure. */ export declare function evaluateValue(value: T): EvaluatedValue;