/** * Copyright (c) 2020-22 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal */ interface Behavior { value: T; subscribe(f: (v: T) => void): { unsubscribe(): void; }; } export declare function useBehavior(s: Behavior): T; export declare function useBehavior(s: Behavior | undefined): T | undefined; export {};