"""Auto-generated stub for module: splits."""
from typing import Any, Callable, Optional

# Functions
def build_split_loader_map(requested_splits: Any[str], train_loader: Any | None, val_loader: Any | None, test_loader: Any | None) -> dict[str, Any]:
    """
    Build split-to-loader map while skipping unavailable loaders.
    
        Args:
            requested_splits: Ordered split names requested by caller.
            train_loader: Optional loader for ``train`` split.
            val_loader: Optional loader for ``val`` split.
            test_loader: Optional loader for ``test`` split.
    
        Returns:
            Dictionary of requested splits that have non-``None`` loaders.
    """
    ...
def evaluate_available_splits(requested_splits: Any[str], split_to_loader: Any[str, Any], evaluate_split: Callable[[str, Any], list[dict]]) -> list[dict]:
    """
    Evaluate all available requested splits and aggregate payload items.
    
        Args:
            requested_splits: Ordered split names to evaluate.
            split_to_loader: Mapping from split name to loader object.
            evaluate_split: Callable that evaluates one split and returns payload.
    
        Returns:
            Concatenated list of payload dictionaries from available splits.
    """
    ...
