mod extractor;
mod regenerator;
mod truncation;

pub use extractor::{
    DocumentData, ParentMetadataCache, SourceType, compute_content_hash, compute_list_hash,
    extract_discussion_document, extract_issue_document, extract_mr_document,
    extract_note_document, extract_note_document_cached,
};
pub use regenerator::{
    RegenerateForSourcesResult, RegenerateResult, regenerate_dirty_documents,
    regenerate_dirty_documents_for_sources,
};
pub use truncation::{
    MAX_DISCUSSION_BYTES, MAX_DOCUMENT_BYTES_HARD, NoteContent, TruncationReason, TruncationResult,
    truncate_discussion, truncate_hard_cap, truncate_utf8,
};
