import type { LicenseVerifyFailure } from './verifyReasons';

export type LicenseSnapshotReason = 'ok' | LicenseVerifyFailure | 'revoked_remote' | 'none';

export type LicenseSnapshot = {
  active: boolean;
  devSkip: boolean;
  reason: LicenseSnapshotReason;
  summary: {
    sub: string;
    pid: string;
    exp: number;
    did: string | null;
  } | null;
  eulaAcceptedVersion: number | null;
  deviceId: string;
};
