def validate_depth_path(depth_path: list[str] | None) -> list[str] | None:
        """Validate the depth paths for a batch.

        This method validates file paths for batches of depth maps. It handles:
            - Path existence validation
            - Batch size consistency
            - None inputs

        Args:
            depth_path (``list[str]`` | ``None``): Input list of depth paths.

        Returns:
            ``list[str]`` | ``None``: Validated list of depth paths, or None.

        Raises:
            TypeError: If ``depth_path`` is not a list of strings.

        Example:
            >>> from anomalib.data.validators import DepthBatchValidator
            >>> paths = ["path/to/depth_1.png", "path/to/depth_2.png"]
            >>> validated = DepthBatchValidator.validate_depth_path(paths)
            >>> print(validated)
            ['path/to/depth_1.png', 'path/to/depth_2.png']
        """
        if depth_path is None:
            return None
        if not isinstance(depth_path, list):
            msg = f"Depth path must be a list of strings, got {type(depth_path)}."
            raise TypeError(msg)
        return [validate_path(path) for path in depth_path]
Validate the depth paths for a batch.

        This method validates file paths for batches of depth maps. It handles:
            - Path existence validation
            - Batch size consistency
            - None inputs

        Args:
            depth_path (``list[str]`` | ``None``): Input list of depth paths.

        Returns:
            ``list[str]`` | ``None``: Validated list of depth paths, or None.

        Raises:
            TypeError: If ``depth_path`` is not a list of strings.

        Example:
            >>> from anomalib.data.validators import DepthBatchValidator
            >>> paths = ["path/to/depth_1.png", "path/to/depth_2.png"]
            >>> validated = DepthBatchValidator.validate_depth_path(paths)
            >>> print(validated)
            ['path/to/depth_1.png', 'path/to/depth_2.png']
        
src/anomalib/data/validators/torch/depth.py