UNPKG

@benev/slate

Version:
13 lines (12 loc) 686 B
import { Flat } from "../flatstate/flat.js"; import { WatchTower } from "../watch/tower.js"; import { Reactor } from "../reactor/reactor.js"; import { SignalTower } from "../signals/tower.js"; export declare const flat: Flat; export declare const signals: SignalTower; export declare const watch: WatchTower; export declare const flatstate: <S extends {}>(state: S) => S; export declare const signal: <V>(value: V) => import("../index.js").Signal<V>; export declare const computed: <V>(fun: () => V) => import("../index.js").Signal<V>; export declare const opSignal: <V>(op?: import("../index.js").Op.For<V>) => import("../index.js").OpSignal<V>; export declare const reactor: Reactor;