function dispatchFinalizeEvent(el, items, info) {
    el.dispatchEvent(
        new CustomEvent(FINALIZE_EVENT_NAME, {
            detail: {items, info}
        })
    );
}
@typedef {Object} Info
@property {string} trigger
@property {string} id
@property {string} source
@param {Node} el
@param {Array} items
@param {Info} info