import { getHashedUserId } from './utils'; export { getHashedUserId }; export declare const DNT: boolean; export declare function logError(err: Error): Promise; export declare function initializeAnalytics({ sentryDSN, amplitudeApiKey }: { sentryDSN: any; amplitudeApiKey: any; }): Promise; export declare function identify(key: string, value: any): Promise; /** * An identify that only sets the value if it hasn't been set before */ export declare function identifyOnce(key: string, value: any): Promise; export declare function setAnonymousId(): Promise; export declare function setUserId(userId: string, email: string): Promise; export declare function resetUserId(): Promise; export declare function trackPageview(): void; /** * Assign the user to a group. Can be multiple under one key. */ export declare function setGroup(name: string, value: string | string[]): void; export declare function trackWithCooldown(event: string, cooldown: number, data?: any): void; export declare function trackImprovedDashboardEvent(eventName: string, extraInfo?: Object): void; export default function track(eventName: string, secondArg?: Object): void;