import { getTriggerEventDetail } from "./get-trigger-event-detail";
export const sendTriggerEvent = (type, view, contentConverter, trigger, value) => {
    const event = new CustomEvent(type, {
        detail: getTriggerEventDetail(view, contentConverter, trigger, value),
        bubbles: true,
        composed: true,
    });
    view.dom.dispatchEvent(event);
};
