UNPKG

@flagship.io/js-sdk

Version:
16 lines (15 loc) 576 B
import { ConstructorParam } from '../type.local'; import { EAIScore } from '../types'; import { IEmotionAI } from './IEmotionAI'; export declare class EmotionAI implements IEmotionAI { constructor(_params: ConstructorParam); init(): void; reportPageView(): Promise<void>; onEAICollectStatusChange(): void; protected startCollectingEAIData(): Promise<void>; reportVisitorEvent(): Promise<void>; cleanup(): void; protected removeListeners(): void; fetchEAIScore(): Promise<EAIScore | undefined>; collectEAIEventsAsync(): Promise<void>; }