pub mod config;
pub mod consent;
pub mod detect;
pub mod discovery;
pub mod error_response;
pub mod events;
pub mod handlers;
pub mod health;
pub mod loader;
pub mod manifest;
pub mod middleware;
pub mod rate_limit;
pub mod router;
pub mod state;
pub mod trust;
pub use config::{AwpConfigError, business_context_to_toml};
pub use consent::{ConsentService, FileConsentService, InMemoryConsentService};
pub use detect::detect_requester_type;
pub use discovery::generate_discovery_document;
pub use events::{
AwpEvent, EventSubscription, EventSubscriptionService, InMemoryEventSubscriptionService,
sign_payload, verify_signature,
};
pub use health::{HealthState, HealthStateMachine, HealthStateSnapshot};
pub use loader::BusinessContextLoader;
pub use manifest::build_manifest;
pub use rate_limit::{InMemoryRateLimiter, RateLimitConfig, RateLimiter};
pub use router::awp_routes;
pub use state::{AwpState, AwpStateBuilder};
pub use trust::{DefaultTrustAssigner, TrustLevelAssigner};