ConversationOnStreamEventHandler: {
    error: ((error) => void);
    next: ((event) => void);
}

Type declaration