//! Configuration types for text chunking.

use serde::{Deserialize, Serialize};

// Re-export ChunkingConfig and ChunkerType from core config (canonical location)
pub use crate::core::config::processing::{ChunkSizing, ChunkerType, ChunkingConfig};

/// Result of a text chunking operation.
///
/// Contains the generated chunks and metadata about the chunking.
#[cfg_attr(alef, alef(skip))]
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ChunkingResult {
    /// List of text chunks
    pub chunks: Vec<crate::types::Chunk>,
    /// Total number of chunks generated
    pub chunk_count: usize,
}
