import { WalkerOS, Flow } from '@walkeros/core'; import { DestinationWeb } from '@walkeros/web-core'; declare global { interface Window { plausible?: Plausible & { q?: IArguments[]; }; } } type Plausible = (event: string, options?: { props?: WalkerOS.AnyObject; }) => void; interface Env extends DestinationWeb.Env { window: { plausible?: Plausible & { q?: IArguments[]; }; }; } 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 Plausible script tag * with the configured domain and installs the global `plausible` queue. */ declare const init: Flow.StepExample; declare const purchase: Flow.StepExample; declare const customEvent: Flow.StepExample; declare const step_customEvent: typeof customEvent; declare const step_init: typeof init; declare const step_purchase: typeof purchase; declare namespace step { export { step_customEvent as customEvent, step_init as init, step_purchase as purchase }; } export { env, step };