export declare class Result { private readonly isOk; private readonly _value?; private readonly _error?; private constructor(); static ok(value: T): Result; static err(error: E): Result; static void(): Result; unwrap(): T; unwrapErr(): E; is_ok(): boolean; is_err(): boolean; }