import type { Matchable, IntoIter, Unwrapable, PartialUnwrappable, Monad, PartialMonad, Into, Andable, Orable, Option } from '../../containers'; import type { Result } from './index'; export type State = 'Ok' | 'Err'; export interface MatchObject { Ok(val: T): R; Err(err: E): R; } export interface Traits extends Matchable, IntoIter