import { Event } from "./event"; import { EventStream } from "./observable"; import { Reply } from "./reply"; export declare type Sink = (value: V) => Reply; export declare type EventSink = (event: Event) => Reply; export declare type VoidSink = () => Reply; /** an "unsubscribe" function returned by [subscribe](classes/Observable.html#subscribe) et al. You can cancel your subscription by calling this function. */ export declare type Unsub = () => void; /** @hidden */ export declare const nullSink: Sink; /** @hidden */ export declare const nullVoidSink: VoidSink; export declare type Subscribe = (arg: EventSink) => Unsub; /** @hidden */ export declare type EventStreamDelay = (stream: EventStream) => EventStream; export declare type Function0 = () => R; export declare type Function1 = (t1: T1) => R; export declare type Function2 = (t1: T1, t2: T2) => R; export declare type Function3 = (t1: T1, t2: T2, t3: T3) => R; export declare type Function4 = (t1: T1, t2: T2, t3: T3, t4: T4) => R; export declare type Function5 = (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R; export declare type Function6 = (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6) => R;