/** * Stable anonymous install id, used to tag every analytics event * (`AnalyticsEvent.machineId`) regardless of which Sapiom user is signed in. * Created once on first run and reused forever after. * * Hardened per `@sapiom/analytics-core`'s `identity.ts` pattern: private * file permissions (mode 0600, on both create and a pre-existing file), * silent regeneration when the stored content is missing/corrupt, and * graceful degradation — an unreadable/unwritable HOME must never crash * server boot over an analytics nicety. Kept as our own plain-text * `~/.sapiom/harness/machine-id` file for now; converging onto her * `~/.sapiom/analytics.json` identity is a separate, later conversation. * * @param filePath Where the id file lives. Defaults to the real * `HARNESS_PATHS.machineId`; tests and scripted checks pass a path under * their scratch state root so a boot never writes to the real home dir. */ export declare function getOrCreateMachineId(filePath?: string): Promise; //# sourceMappingURL=machine-id.d.ts.map