import { MappedMsgFacade } from 'msg-facade'; export type SpawnedWorker = MappedMsgFacade & { exit: Promise; terminate: () => Promise };