use super::*;
use nostr_vpn_core::paid_routes::PaidRouteUsage;
#[path = "automatic/funding.rs"]
mod funding;
#[path = "automatic/payments.rs"]
mod payments;
#[path = "automatic/renewal.rs"]
mod renewal;
#[path = "automatic/runtime.rs"]
mod runtime;
#[path = "automatic/selection.rs"]
mod selection;
#[path = "automatic/state.rs"]
mod state;
pub(crate) use payments::finalize_automatic_paid_exit;
pub(crate) use payments::fund_paid_exit_session;
pub(crate) use payments::queue_recovered_paid_exit_channel_open;
use payments::{fund_automatic_paid_exit, suspend_automatic_paid_exit};
pub(crate) use runtime::update_automatic_paid_exit;
pub(crate) use runtime::{paid_exit_route_probe_measurement, record_paid_exit_probe};
pub(crate) use selection::reconcile_automatic_paid_exit_selection;
#[cfg(test)]
use state::PaidExitAutomaticCandidate;
use state::PaidExitAutomaticProbe;
#[cfg(test)]
use state::{PAID_EXIT_AUTO_HEALTH_TTL_SECS, PAID_EXIT_AUTO_RETRY_COOLDOWN_SECS};
pub(crate) use state::{PaidExitAutomaticBuyer, PaidExitUsageFlush};
#[cfg(test)]
#[path = "automatic/tests.rs"]
mod tests;