export interface AnonymousIdResult { /** Stable anonymous id, or null if it could not be read/created. */ anonymousId: null | string; /** True only on the run that first created the id file. */ isFirstRun: boolean; } /** * Read the persisted anonymous id, or create and persist a new random UUID. * Never throws: on any filesystem error returns { anonymousId: null, isFirstRun: false }. * * @param dataDir - directory to store telemetry.json (defaults to the OS app-data dir). */ export declare function getOrCreateAnonymousId(dataDir?: string): AnonymousIdResult; //# sourceMappingURL=anonymous-id.d.ts.map