"""
Cache module for incremental builds.
"""

from __future__ import annotations

from bengal.cache.build_cache import BuildCache
from bengal.cache.cache_store import CacheStore
from bengal.cache.cacheable import Cacheable
from bengal.cache.dependency_tracker import DependencyTracker
from bengal.cache.query_index import IndexEntry, QueryIndex
from bengal.cache.query_index_registry import QueryIndexRegistry
from bengal.cache.utils import clear_build_cache, clear_output_directory

__all__ = [
    "BuildCache",
    "Cacheable",
    "CacheStore",
    "DependencyTracker",
    "QueryIndex",
    "IndexEntry",
    "QueryIndexRegistry",
    "clear_build_cache",
    "clear_output_directory",
]
