# Author: Abdulwahed Mansour
"""Type stubs for django_pyforge.validators."""
"""Validate all fields of a Django model instance.
Args:
instance: A Django model instance.
schema: Optional pre-compiled ModelSchema. Compiled on the fly if None.
Returns:
A dict with is_valid, valid_count, error_count, and errors.
"""
...
"""Validate a batch of field values using Rust.
For batches above 64 entries, runs in parallel via Rayon.
"""
...