import type { CifsBackupTarget } from './CifsBackupTarget'; import type { StartOsRecoveryInfo } from './StartOsRecoveryInfo'; export type BackupTarget = { type: 'disk'; vendor: string | null; model: string | null; logicalname: string; label: string | null; capacity: number; used: number | null; startOs: { [key: string]: StartOsRecoveryInfo; }; guid: string | null; filesystem: string | null; } | ({ type: 'cifs'; } & CifsBackupTarget);