import type { RuntimeState, WindowLike } from "../types.ts"; export declare function createQueueConsumer({ windowRef, dataLayerName, }: { windowRef?: WindowLike; dataLayerName?: string; }): { start: () => void; getState: () => RuntimeState; setOnEvent: (fn: RuntimeState["__onEvent"]) => void; setOnConfig: (fn: RuntimeState["__onConfig"]) => void; setOnSet: (fn: RuntimeState["__onSet"]) => void; stop: () => void; };