// file: kb_lib/src/detect.rs

//! Detection pipeline facade.
//!
//! This module sits between transport/connectors and persistence.
//! It centralizes how technical observations, analysis signals and
//! candidate tokens are persisted before richer detection logic is added.

mod service;
mod solana_ws;
mod types;
mod ws_relay;

pub use service::DetectionPersistenceService;
pub use solana_ws::SolanaWsDetectionOutcome;
pub use solana_ws::SolanaWsDetectionService;
pub use types::DetectionObservationInput;
pub use types::DetectionPoolCandidateInput;
pub use types::DetectionPoolCandidateResult;
pub use types::DetectionSignalInput;
pub use types::DetectionTokenCandidateInput;
pub use types::DetectionTokenCandidateResult;
pub use ws_relay::WsDetectionNotificationEnvelope;
pub use ws_relay::WsDetectionRelay;
pub use ws_relay::WsDetectionRelayStats;
