export interface Maybe { isJust(): this is Just; } export declare type Just = Maybe & { get(): T; }; export declare function just(value: T): Just; export declare function nothing(): Maybe;