@cto.ai/ops
Version:
💻 CTO.ai - The CLI built for Teams 🚀
16 lines (15 loc) • 505 B
TypeScript
/**
* @author: JP Lew (jp@cto.ai)
* @date: Sunday, 28th April 2019 1:16:46 am
* @lastModifiedBy: JP Lew (jp@cto.ai)
* @lastModifiedTime: Wednesday, 4th September 2019 3:08:35 pm
* @copyright (c) 2019 CTO.ai
*/
import Analytics from 'analytics-node';
import { Config } from './../types';
export declare class AnalyticsService {
segmentClient: Analytics;
private ANALYTICS_URL;
constructor(writeKey?: string);
track(event: string, properties: any, config: Config): Analytics | null;
}