export type Exn_t = Error; export type Internal_meth<_T, R> = () => R; export type talkbackT = 0 | 1; export type signalT = | ({ TAG: 0, _0: (talkback: talkbackT) => void }) | ({ TAG: 1, _0: a }) | 0; export interface observableSubscriptionT { unsubscribe(): void; } export interface observableObserverT { next(value: a): void; error(error: any): void; complete(): void; } export interface observableT { subscribe(observer: observableObserverT): observableSubscriptionT; } interface Callbag { (t: 0, d: Callbag): void; (t: 1, d: I): void; (t: 2, d?: any): void; } export type callbagT = Callbag;