//! Consumer SDK surface for the public api-store LLM endpoint (feature 472).
//!
//! These types let a Rust application (or another builtin app) call the
//! host's `/api/v2/public/api_store/llm/{call,stream}` endpoints in a
//! type-safe way, with the routing fields (`route` / `execution_route` /
//! `via_node_id`) threaded through the request and response shapes.
//!
//! **Honest framing** (security finding S5 / U4, surfaced via rustdoc on
//! [`LlmRoute`]): `Private` isolates the upstream provider's API
//! credentials on the peer's host and routes egress through a separate
//! device; it does NOT mask prompt contents from the upstream provider or
//! anonymize the user.

pub mod api_store_client;
pub mod errors;
pub mod types;

pub use api_store_client::WithRoute;
pub use errors::{InvalidRouteModeCombinationError, PrivateUnavailableError};
pub use types::{
    ChatMessage, ExecuteBestModelRequest, ExecuteChatRequest, ExecuteChatResponse, ExecuteRequest,
    LlmRoute, ProxyMode, StreamChatChunk, StreamChatRequest,
};
