#![allow(missing_docs)]
#[cfg(feature = "docling-ffi")]
pub mod preprocessing;
#[cfg(feature = "docling-ffi")]
pub mod layout_model;
#[cfg(feature = "docling-ffi")]
pub mod table_structure_model;
#[cfg(feature = "docling-ffi")]
pub mod model_manager;
#[cfg(feature = "docling-ffi")]
pub mod model_cache;
#[cfg(feature = "docling-ffi")]
pub mod cell_matching;
#[cfg(feature = "docling-ffi")]
pub use cell_matching::{CellMatcher, MatchedCell};
#[cfg(feature = "docling-ffi")]
pub use layout_model::LayoutModel;
#[cfg(feature = "docling-ffi")]
pub use model_cache::{clear_model_cache, get_layout_model, get_table_model};
#[cfg(feature = "docling-ffi")]
pub use model_manager::ModelManager;
#[cfg(feature = "docling-ffi")]
pub use table_structure_model::TableStructureModel;
use crate::error::Result;
#[cfg(feature = "docling-ffi")]
pub trait DocumentModel {
type Input;
type Output;
fn predict(&mut self, input: &Self::Input) -> Result<Self::Output>;
fn name(&self) -> &str;
}