import type { LiveStreamChatEvent, LiveStreamEvent, CustomLinkInteractionClickEvent } from './models/FWEvents'; export type onLiveStreamEventCallback = (event: LiveStreamEvent) => Promise | void; export type onLiveStreamChatEventCallback = (event: LiveStreamChatEvent) => Promise | void; export type CustomLinkInteractionClickCallback = (event: CustomLinkInteractionClickEvent) => Promise | void; /** * The entry class of live stream. */ declare class LiveStream { private static _instance?; /** * The callback of live stream event. */ onLiveStreamEvent?: onLiveStreamEventCallback; /** * The callback of live stream chat event. */ onLiveStreamChatEvent?: onLiveStreamChatEventCallback; private _onCustomLinkInteractionClick?; /** * This callback is triggered when the user clicks * the link interaction in livestream. * * The host app can customize the click event processing logic of * the link interaction by setting the callback. */ get onCustomLinkInteractionClick(): CustomLinkInteractionClickCallback | undefined; set onCustomLinkInteractionClick(value: CustomLinkInteractionClickCallback | undefined); private get eventEmitter(); static getInstance(): LiveStream; private constructor(); } export default LiveStream; //# sourceMappingURL=LiveStream.d.ts.map