export type NonPostableEvt = { waitFor: () => Promise; subscribe: (next: (data: T) => void) => { unsubscribe: () => void; }; postCount: number; }; export type Evt = NonPostableEvt & { post: (data: T) => void; }; export declare function createEvt(): Evt;