import { CustomVar } from '../types/types'; import { Currency } from './constants'; /** * Re-enables the Contentsquare UX tracking SDK. */ export declare const resumeTracking: () => void; /** * Stops the Contentsquare UX tracking SDK. * Once this is called the SDK will completely stop. */ export declare const stopTracking: () => void; /** * Sends a ScreenName for a CustomScreenView Event to Contentsquare tracking * services. * * @param {string} screenName. * @param {CustomVar[]} cvars (optional parameter) */ export declare const send: (screenName: string, cvars?: CustomVar[]) => void; /** * Sends a transaction event to Contentsquare tracking services. * * @param {number} value * @param {Currency | string} currency * @param {string | null } id (optional parameter) */ export declare const sendTransaction: (value: number, currency: Currency | string, id?: string | null) => void; /** * Sends a (key, value) pair, called DynamicVar, to Contentsquare tracking services. * * @param {string} key * @param {string | number} value * @param {(error: Error) => void} onError */ export declare const sendDynamicVar: (key: string, value: string | number, onError?: (error: Error) => void) => void;