export interface JavaInstallerOptions {
  version: string;
  architecture: string;
  packageType: string;
  checkLatest: boolean;
  forceDownload?: boolean;
  setDefault?: boolean;
  verifySignature?: boolean;
  verifySignaturePublicKey?: string;
}

export interface JavaInstallerResults {
  version: string;
  path: string;
}

export type ChecksumAlgorithm = 'sha256' | 'sha512';

export interface ChecksumMetadata {
  algorithm: ChecksumAlgorithm;
  value: string;
  source?: string;
}

export interface JavaDownloadRelease {
  version: string;
  url: string;
  signatureUrl?: string;
  checksum?: ChecksumMetadata;
}
