UNPKG

@ezbot-ai/javascript-sdk

Version:

The easiest way to interact with ezbot via JS (node and browser)

13 lines (12 loc) 562 B
import { BrowserTracker } from '@snowplow/browser-tracker'; import { Prediction } from './types'; type RequiredPredictionsParams = { projectId: string; sessionId: string; }; type OptionalPredictionsParams = { pageUrlPath?: string; }; type PredictionsParams = RequiredPredictionsParams & OptionalPredictionsParams; declare function getPredictions(projectId: number, sessionId: string, tracker?: Readonly<BrowserTracker>): Promise<Array<Prediction>>; export { getPredictions, RequiredPredictionsParams, OptionalPredictionsParams, PredictionsParams, };