import { Stream } from '@motorcycle/types';
/**
* Activates a stream, calling a function `f` with each event value, and returns
* a Promise of completion.
*
* @name observe(f: (value: A) => any, stream: Stream): Promise
*/
export declare const observe: Observe;
export interface Observe {
(f: (value: A) => any, stream: Stream): Promise;
(f: (value: A) => any): (stream: Stream) => Promise;
}