export function makeMonitor(): { dispatchEvent: (_ref: any) => void; monitorForConsumers: (args: any) => () => void; };