import { DestinationWeb } from '@walkeros/web-core'; import { Flow } from '@walkeros/core'; declare global { interface Window { _paq?: Array; } } interface Env extends DestinationWeb.Env { window: { _paq?: Array; }; document: { createElement: (tagName: string) => { type: string; src: string; async?: boolean; defer?: boolean; }; head: { appendChild: (node: unknown) => void; }; }; } /** * Example environment configurations for PiwikPro destination * * These environments provide standardized mock structures for testing * and development without requiring external dependencies. */ 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 PiwikPro script and configures * the tracker URL, app id, and link tracking. Reproduce by passing the same * settings to `startFlow` as the destination config. */ declare const init: Flow.StepExample; declare const ecommerceOrder: Flow.StepExample; declare const ecommerceAddToCart: Flow.StepExample; declare const productDetailView: Flow.StepExample; declare const cartUpdate: Flow.StepExample; declare const customEvent: Flow.StepExample; declare const pageViewWithTitle: Flow.StepExample; declare const step_cartUpdate: typeof cartUpdate; declare const step_customEvent: typeof customEvent; declare const step_ecommerceAddToCart: typeof ecommerceAddToCart; declare const step_ecommerceOrder: typeof ecommerceOrder; declare const step_init: typeof init; declare const step_pageViewWithTitle: typeof pageViewWithTitle; declare const step_productDetailView: typeof productDetailView; declare namespace step { export { step_cartUpdate as cartUpdate, step_customEvent as customEvent, step_ecommerceAddToCart as ecommerceAddToCart, step_ecommerceOrder as ecommerceOrder, step_init as init, step_pageViewWithTitle as pageViewWithTitle, step_productDetailView as productDetailView }; } export { env, step };