import { IFx, Params, StoreEvent, StoreEventFn, StorePropsEventFn } from "./model"; /** * Create an Event handler that updates the Store state */ export declare function store(fn: StoreEventFn): () => StoreEvent; /** * Create an Event handler that updates the Store state * with whatever params you pass to it. */ export declare function store(fn: StorePropsEventFn): (...params: P) => StoreEvent; /** * Create an Effectful Event Handler. * * @return a factory that creates StoreEvent instances. The arguments you pass * to this factory will be passed along to your handler affector the first * argument, which you use to enqueue effects. */ export declare function fx(handler: (fx: IFx, ...params: P) => void): (...params: P) => StoreEvent;