{
  "__type__": "cc.TextAsset",
  "_name": "ThinkingAnalyticsSDK.d",
  "_objFlags": 0,
  "_native": "",
  "text": "\r\ndeclare class ThinkingAnalyticsAPI {\r\n    constructor(config:any);\r\n\tinit(): void;\r\n\ttrack(eventName:string): void;\r\n\ttrack(eventName:string, properties:any): void;\r\n\ttrack(eventName:string, properties:any, time:any): void;\r\n\ttrack(eventName:string, properties:any, time:any, onComplete:any): void;\r\n\ttrack(taEvent:any): void;\r\n\ttrackUpdate(taEvent:any): void;\r\n\ttrackFirstEvent(taEvent:any): void;\r\n\ttrackOverwrite(taEvent:any): void;\r\n\ttimeEvent(eventName:string): void;\r\n\tlogin(accoundId:string): void;\r\n\tlogout(): void;\r\n\tsetSuperProperties(properties:any): void;\r\n\tunsetSuperProperty(properties:any): void;\r\n\tclearSuperProperties(): void;\r\n\tuserSet(properties:any): void;\r\n\tuserSetOnce(properties:any): void;\r\n\tuserAppend(properties:any): void;\r\n\tuserUniqAppend(properties:any): void;\r\n\tuserAdd(properties:any): void;\r\n\tuserUnset(property:string): void;\r\n\tuserDel(): void;\r\n\tflush(): void;\r\n\tauthorizeOpenID(distinctId:string): void;\r\n\tidentify(distinctId:string): void;\r\n\tinitInstance(name:string): ThinkingAnalyticsAPI;\r\n\tinitInstance(name:string, config:any): ThinkingAnalyticsAPI;\r\n\tlightInstance(name:string): any;\r\n\tsetDynamicSuperProperties(properties: any): void;\r\n\tgetDeviceId(callback?: any): string;\r\n\tgetDistinctId(callback?: any): string;\r\n\tgetAccountId(callback?: any): string;\r\n\tgetPresetProperties(callback?: any): any;\r\n\tgetSuperProperties(callback?: any): any;\r\n\t/**\r\n     * Pause/Resume reporting event data\r\n     * @param {bool} enabled:true is Resume, false is Pause\r\n     * @deprecated This method is deprecated, use setTrackStatus() instand.\r\n     */\r\n\tenableTracking(enabled:boolean): void;\r\n\t/**\r\n     * Stop reporting event data, and cache data will be cleared\r\n     * @deprecated This method is deprecated, use setTrackStatus() instand.\r\n     */\r\n    optOutTracking(): void;\r\n\t/**\r\n     * Stop reporting event data, and cache data will be cleared, and flush a user_del\r\n     * @deprecated This method is deprecated, use setTrackStatus() instand.\r\n     */\r\n    optOutTrackingAndDeleteUser(): void;\r\n\t/**\r\n     * Allow reporting event data\r\n     * @deprecated This method is deprecated, use setTrackStatus() instand.\r\n     */\r\n    optInTracking(): void;\r\n\t/**\r\n    * Set status for events reporting\r\n    * PAUSE, pause events reporting\r\n    * STOP, stop events reporting, and cache data will be cleared\r\n    * SAVE_ONLY, event data stores in the cache, but not be reported (native support, js equal to NORMAL)\r\n    * NORMAL, resume event reporting\r\n    * @param {string} status, events reporting status\r\n    */\r\n\tsetTrackStatus(status: string): void;\r\n}\r\n"
}