// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { BackupTargetFS } from './BackupTargetFS'

export type RecoverySource<Password> =
  | { type: 'migrate'; guid: string }
  | {
      type: 'backup'
      target: BackupTargetFS
      password: Password
      serverId: string
    }
