type AnalyticsResult = "success" | "failure"; type InstallKind = "first_install" | "update" | "reinstall"; type InstallState = { schema_version: number; client_id: string; opt_out: boolean; first_installed_at: string; last_updated_at: string; last_launched_at: string; installed_version: string; install_source: string; }; export type InstallAnalyticsContext = { activityId: string; installKind: InstallKind; currentVersion: string; }; export declare const flushProductAnalytics: (args: { timeoutMs: number; }) => Promise; export declare const readInstallState: () => Promise; export declare const trackInstallStarted: (args: { currentVersion: string; explicitInstall?: boolean; }) => Promise; export declare const trackInstallCompleted: (args: { context: InstallAnalyticsContext | null; result: AnalyticsResult; }) => Promise; export declare const beginLaunchInstallLifecycle: (args: { currentVersion: string; }) => Promise; export declare const claimInstallLifecycleForExplicitRun: (args: { currentVersion: string; }) => Promise; export declare const completeUnclaimedInstallLifecycle: () => Promise; export declare const trackInstallLifecycle: (args: { currentVersion: string; explicitInstall?: boolean; }) => Promise; export declare const canonicalAnalyticsCommand: (command: string) => string | null; export declare const trackCommandCompleted: (args: { command: string; result: AnalyticsResult; currentVersion: string; }) => Promise; export declare const trackWatchStarted: (args: { currentVersion: string; }) => Promise; export declare const setActiveCommandForAnalytics: (args: { command: string; currentVersion: string; }) => void; export declare const clearActiveCommandForAnalytics: () => void; export declare const trackActiveCommandSuccess: () => Promise; export declare const trackActiveCommandFailure: () => Promise; export declare const exitAfterAnalyticsFailure: () => Promise; export {}; //# sourceMappingURL=installTracking.d.ts.map