import { DestinationWeb } from '@walkeros/web-core'; import { Flow } from '@walkeros/core'; declare global { interface Window { _fbq?: facebook.Pixel.Event; fbq?: facebook.Pixel.Event; } } interface Env extends DestinationWeb.Env { window: { fbq?: facebook.Pixel.Event; _fbq?: facebook.Pixel.Event; }; document: { createElement: (tagName: string) => { src: string; async: boolean; setAttribute: (name: string, value: string) => void; removeAttribute: (name: string) => void; }; head: { appendChild: (node: unknown) => void; }; }; } declare const init$1: Env | undefined; declare const push: Env; /** * Simulation tracking paths * Specifies which function calls to track during simulation */ declare const simulation: string[]; declare const env_push: typeof push; declare const env_simulation: typeof simulation; declare namespace env { export { init$1 as init, env_push as push, env_simulation as simulation }; } /** * Destination bootstrap. * Given the canonical settings, init loads the Meta Pixel script and calls * fbq('init', pixelId). Reproduce by passing the same settings to * `startFlow` as the destination config. */ declare const init: Flow.StepExample; declare const purchase: Flow.StepExample; declare const addToCart: Flow.StepExample; declare const viewContent: Flow.StepExample; declare const initiateCheckout: Flow.StepExample; declare const pageView: Flow.StepExample; declare const customEventWithTrackCustom: Flow.StepExample; declare const step_addToCart: typeof addToCart; declare const step_customEventWithTrackCustom: typeof customEventWithTrackCustom; declare const step_init: typeof init; declare const step_initiateCheckout: typeof initiateCheckout; declare const step_pageView: typeof pageView; declare const step_purchase: typeof purchase; declare const step_viewContent: typeof viewContent; declare namespace step { export { step_addToCart as addToCart, step_customEventWithTrackCustom as customEventWithTrackCustom, step_init as init, step_initiateCheckout as initiateCheckout, step_pageView as pageView, step_purchase as purchase, step_viewContent as viewContent }; } export { env, step };