import { JSError } from "./_util"; export declare const noMore: {}; export declare const more: {}; export interface Event { hasValue: boolean; isNext: boolean; isInitial: boolean; isError: boolean; isEnd: boolean; } export declare function isEvent(x: any): x is Event; export declare class Next implements Event { value: T; hasValue: boolean; isNext: boolean; isInitial: boolean; isError: boolean; isEnd: boolean; constructor(value: T); } export declare function isNext(e: Event): e is Next; export declare class Error implements Event { error: JSError; hasValue: boolean; isNext: boolean; isInitial: boolean; isError: boolean; isEnd: boolean; constructor(error: JSError); } export declare function isError(e: Event): e is Error; export declare class End implements Event { hasValue: boolean; isNext: boolean; isInitial: boolean; isError: boolean; isEnd: boolean; } export declare function isEnd(e: Event): e is End;