import { AlloyInstance } from "./aep/types/alloy.types"; import { BeaconSchema } from "./types/aep"; /** * configures alloy and assigns it to the window object */ declare const configure: () => Promise; /** * returns alloy instance if it exists on the window * configures instance if it doesn't exist */ declare const getAlloy: () => Promise; /** * sends event payload that matches the BeaconSchema that's been defined */ declare const sendEvent: (schema: BeaconSchema) => Promise; /** * checks to make sure aep in the eventForwarding context is set to true and * that there is at least a datastreamId */ declare const hasConfig: () => boolean; /** * checks to see if the mg_dnt cookie is set and will set the consent * on the alloy instance */ declare const setConsent: () => Promise; /** preconfigured alloy instance that allows us to send an event */ export { configure, getAlloy, hasConfig, sendEvent, setConsent };