import { InteractProperties, ReferenceGuideTypes } from "./typings";

import ReferenceGuidePropertiesTI from './typings-ti'
import { injectEvent } from "../../core/injector"
import { ContentBlock } from "../Navigation/typings";

const moduleName = ContentBlock.Core

const logInteractEvent = (properties: InteractProperties, sendNow = false): void => {
    injectEvent(properties, [ReferenceGuidePropertiesTI], ReferenceGuideTypes.Interact, moduleName, '', sendNow)
}

export default {
    logInteractEvent
}