declare type CtxLike = import("../lib/types/interfaces/CtxLike").CtxLike; interface StatefulReadonlyEvtLike { state: unknown; attach: (ctx: CtxLike, cb: (state: unknown) => void) => void; } /** * https://docs.evt.land/react-hooks#usererenderonstatechange * * To use StatefulEvt as react component state. * */ export declare function useRerenderOnStateChange(evt: StatefulReadonlyEvtLike): void; export {};