import { type ExperienceData, type SubscribeCallback, type UFOGlobalEventStreamEvent, type UFOGlobalEventStreamExperiencePayload, type UFOGlobalEventStreamSubscribe, type UFOGlobalEventStreamUnsubscribe } from '../types'; export type GlobalEventStream = { __buffer_only__: boolean; push(event: UFOGlobalEventStreamEvent): void; }; declare global { var __UFO_GLOBAL_EVENT_STREAM__: any; } export declare const getGlobalEventStream: () => GlobalEventStream; export declare const setGlobalEventStream: (eventStream: GlobalEventStream) => void; export declare const subscribeEvent: (experienceId: string, callback: SubscribeCallback) => UFOGlobalEventStreamSubscribe; export declare const unsubscribeEvent: (experienceId: string, callback: SubscribeCallback) => UFOGlobalEventStreamUnsubscribe; export declare const experiencePayloadEvent: (data: ExperienceData) => UFOGlobalEventStreamExperiencePayload;