//! Prompt-only API for direct interactive prompts
//!
//! This module provides a simplified API for using prompts directly without forms.
//! Use this when you need quick interactive prompts in your CLI applications.
//!
//! # Examples
//!
//! ```no_run
//! use typedialog_core::prompt_api::{self, Result};
//!
//! fn example() -> Result<()> {
//!     let name = prompt_api::text("Enter your name", None, None)?;
//!     let confirmed = prompt_api::confirm("Continue?", Some(true), None)?;
//!     println!("Hello, {}!", name);
//!     Ok(())
//! }
//! ```

pub use crate::error::{Error, ErrorWrapper, Result};

#[cfg(any(feature = "cli", feature = "tui", feature = "web"))]
pub use crate::prompts;

// Re-export commonly used prompt functions at module level
#[cfg(feature = "cli")]
pub use crate::prompts::{confirm, custom, date, editor, multi_select, password, select, text};
