import { createQueueConsumer } from "./runtime/queue_consumer.ts"; import { createDispatcher } from "./runtime/dispatcher.ts"; import type { WindowLike } from "./types.ts"; type InstallResult = { consumer: ReturnType; dispatcher: ReturnType; dataLayerName: string; globalName: string; }; /** * Installs the tracker runtime and begins consuming queued `dataLayer` entries. * * This is the programmatic installer used by both consumption modes: * - script-tag bundle (`src/browser_entry.ts`) installs on load * - ESM usage (`src/index.ts`) can call this explicitly */ export declare function installD8a({ windowRef, dataLayerName, globalName, gtagDataLayerName, }?: { windowRef?: WindowLike; dataLayerName?: unknown; globalName?: unknown; gtagDataLayerName?: unknown; }): InstallResult; export {};