export declare type Reaction = { readonly id: symbol; readonly fn: () => any; readonly invoke: () => any; round: number; }; /** * TODO */ export declare function registerReaction(fn: () => any, customInvoker?: () => any): Reaction; /** * TODO */ export declare function invokeReaction(reaction: Reaction): any; /** * Removes reaction from reaction collection and ensures no observables * are set to trigger it in the future. */ export declare function removeReaction(reactionId: symbol): void; /** * TODO */ export declare function getReaction(reactionId: symbol): Reaction; /** * TODO */ export declare function isReactionInProgress(): boolean; /** * TODO */ export declare function getActiveReaction(): Reaction; /** * TODO */ export declare function setActiveReactionId(reactionId: symbol): void; /** * TODO */ export declare function isInReactionCollection(reactionId: symbol): boolean;