import * as _walkeros_core_dev from '@walkeros/core/dev'; import { z } from '@walkeros/core/dev'; import { DestinationWeb } from '@walkeros/web-core'; import { Flow } from '@walkeros/core'; declare const SettingsSchema: z.ZodObject<{ siteId: z.ZodString; url: z.ZodString; disableCookies: z.ZodDefault; enableLinkTracking: z.ZodDefault; enableHeartBeatTimer: z.ZodOptional; customDimensions: z.ZodOptional>; }, z.core.$strip>; type Settings = z.infer; declare const MappingSchema: z.ZodObject<{ goalId: z.ZodOptional; goalValue: z.ZodOptional; siteSearch: z.ZodOptional; contentImpression: z.ZodOptional; contentInteraction: z.ZodOptional; customDimensions: z.ZodOptional>; }, z.core.$strip>; type Mapping = z.infer; declare const settings: _walkeros_core_dev.JSONSchema; declare const mapping: _walkeros_core_dev.JSONSchema; type index$1_Mapping = Mapping; declare const index$1_MappingSchema: typeof MappingSchema; type index$1_Settings = Settings; declare const index$1_SettingsSchema: typeof SettingsSchema; declare const index$1_mapping: typeof mapping; declare const index$1_settings: typeof settings; declare namespace index$1 { export { type index$1_Mapping as Mapping, index$1_MappingSchema as MappingSchema, type index$1_Settings as Settings, index$1_SettingsSchema as SettingsSchema, index$1_mapping as mapping, index$1_settings as settings }; } declare global { interface Window { _paq?: Array; } } interface Env extends DestinationWeb.Env { window: { _paq: Array; location?: { href?: string; }; }; document: { createElement: (tagName: string) => { type: string; src: string; async?: boolean; defer?: boolean; }; head: { appendChild: (node: unknown) => void; }; }; } /** * Example environment configurations for Matomo destination. * Mocks the _paq command queue and DOM elements for testing * without requiring real browser or network. */ 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 Matomo script and configures * the tracker URL, site ID, and link tracking. Reproduce by passing the same * settings to `startFlow` as the destination config. */ declare const init: Flow.StepExample; /** * Default page view -- no mapping name needed. * Destination auto-calls trackPageView with the page title. */ declare const pageView: Flow.StepExample; /** * Custom event tracking with goal conversion. * Uses trackEvent with mapped name, followed by trackGoal. */ declare const customEvent: Flow.StepExample; /** * Ecommerce order -- one call with cart items array and order totals. */ declare const ecommerceOrder: Flow.StepExample; /** * Ecommerce cart update -- addEcommerceItem per nested product, * then trackEcommerceCartUpdate with cart total. */ declare const ecommerceCartUpdate: Flow.StepExample; /** * Product detail view -- setEcommerceView equivalent with a single product array. */ declare const productDetailView: Flow.StepExample; /** * Site search -- trackSiteSearch with keyword, category, result count. */ declare const siteSearch: Flow.StepExample; /** * Goal tracking alongside a tracked event. * Uses a known fixture event (promotion visible) so data paths resolve. */ declare const goalTracking: Flow.StepExample; declare const step_customEvent: typeof customEvent; declare const step_ecommerceCartUpdate: typeof ecommerceCartUpdate; declare const step_ecommerceOrder: typeof ecommerceOrder; declare const step_goalTracking: typeof goalTracking; declare const step_init: typeof init; declare const step_pageView: typeof pageView; declare const step_productDetailView: typeof productDetailView; declare const step_siteSearch: typeof siteSearch; declare namespace step { export { step_customEvent as customEvent, step_ecommerceCartUpdate as ecommerceCartUpdate, step_ecommerceOrder as ecommerceOrder, step_goalTracking as goalTracking, step_init as init, step_pageView as pageView, step_productDetailView as productDetailView, step_siteSearch as siteSearch }; } declare const index_env: typeof env; declare const index_step: typeof step; declare namespace index { export { index_env as env, index_step as step }; } export { index as examples, index$1 as schemas };