You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
599 B
18 lines
599 B
export declare class AnalyticsClient {
|
|
private userTraits?;
|
|
private rudderstackClient?;
|
|
private _userId?;
|
|
private _version?;
|
|
get userId(): string | undefined;
|
|
get version(): string | undefined;
|
|
flush(): Promise<void>;
|
|
initializeClient(rudderstackWriteKey: string, rudderstackDataPlaneURL: string, packageVersion: string): void;
|
|
identifyUser(userId: string, traits: {
|
|
[key: string]: any;
|
|
}): void;
|
|
logEvent(name: string, properties?: any): void;
|
|
private getContext;
|
|
}
|
|
declare const defaultClient: AnalyticsClient;
|
|
export default defaultClient;
|