//! RETRIEVE query AST, builder, response types, and error enum.
//!
//! This module defines the typed representation of a RETRIEVE query -- the
//! primary read path in tidalDB. A `Retrieve` captures the full intent of
//! "given these constraints, rank content for me" and is constructed either
//! programmatically via `RetrieveBuilder` or (M3+) by parsing the query
//! language.
//!
//! The response types (`Results`, `RetrieveResult`, `Cursor`, `Signal`) are
//! structured so the executor can populate them without the caller needing
//! to understand scoring internals.

pub mod cursor;
pub mod errors;
pub mod types;

pub use errors::QueryError;
pub use types::{
    Cursor, NotificationCaps, ProfileRef, Results, Retrieve, RetrieveBuilder, RetrieveResult,
    Signal,
};
