import { Stream } from '@most/types'; import { snapshotTime } from './snapshotTime'; export declare type Behavior = (s: Stream) => Stream<[A, B]>; export declare const snapshot: (b: Behavior, s: Stream) => Stream<[A, B]>; export declare const sample: (b: Behavior, s: Stream) => Stream; export { snapshotTime as time }; export declare const always: (a: A) => Behavior; export declare const fromTime: (f: (t: number) => A) => Behavior; export declare const step: (a: A, sa: Stream) => Behavior; export declare const map: (f: (a: A) => B, ba: Behavior) => Behavior; export declare const apply: (bf: Behavior<(a: A) => B>, ba: Behavior) => Behavior; export declare const liftA2: (f: (a: A, b: B) => C, ba: Behavior, bb: Behavior) => Behavior;