import { bytes32 } from "../../chia_rs/wheel/python/sized_bytes"; import { bool, float, None, Optional, str } from "../types/_python_types_"; import { int, uint32, uint64 } from "../../chia_rs/wheel/python/sized_ints"; import { Plot } from "../protocols/harvester_protocol"; import { HarvestingMode } from "../plotting/util"; export type MayBeSummary = S extends true ? int : O; export type Receiver = { connection: { node_id: bytes32; host: str; port: int; }; plots: MayBeSummary; failed_to_open_filenames: MayBeSummary; no_key_filenames: MayBeSummary; duplicates: MayBeSummary; total_plot_size: uint64; total_effective_plot_size: uint64; syncing: { initial: bool; plot_files_processed: uint32; plot_files_total: uint32; } | None; last_sync_time: Optional; harvesting_mode: Optional; };