PromptCompletionModelEmitter type

Helper type that strongly types the the EventEmitter for a PromptCOmpletionModel instance.

type PromptCompletionModelEmitter = StrictEventEmitter<
  EventEmitter,
  PromptCompletionModelEvents
>