use std::time::Duration;
mod channels;
mod connection;
mod event_loop;
mod input;
mod keyboard;
mod redraw;
mod submit;
mod tasks;
mod update_handlers;
mod wallet;
pub use event_loop::spawn_spline_poller;
pub(in crate::tui::runtime) use channels::{new_channels, Channels, KeyAction, TxCtxMsg};
const FEED_REDRAW_MIN_INTERVAL: Duration = Duration::from_millis(150);
pub(super) const L2_SNAPSHOT_DEPTH: usize = 20;
pub(super) const WSS_RETRY_INIT: Duration = Duration::from_secs(2);
pub(super) const WSS_RETRY_CAP: Duration = Duration::from_secs(30);