"""Auto-generated stub for module: inference_runners."""
from typing import Any

# Constants
RunnerCallable: Any

# Functions
def get_inference_runner(runtime_framework: str, runners: dict[str, Any], default_key: str = 'pytorch') -> Any:
    """
    Resolve a runtime framework to a registered inference callable.
    
        Args:
            runtime_framework: Runtime descriptor string from caller.
            runners: Mapping of runtime keys to runner callables.
            default_key: Default key used when runtime descriptor is ambiguous.
    
        Returns:
            Resolved inference runner callable.
    """
    ...

# Classes
class InferenceRunnerRegistry:
    # Registry used by evaluators to select framework-specific runners.

    def get(self: Any, runtime_key: str) -> Any | None:
        """
        Fetch a runner by exact runtime key when present.
        
                Args:
                    runtime_key: Exact runtime key to look up.
        
                Returns:
                    Registered runner callable, or ``None`` when key is missing.
        """
        ...

    def register(self: Any, runtime_key: str, runner: Any) -> None:
        """
        Register an inference runner under a runtime key.
        
                Args:
                    runtime_key: Runtime key used during runner resolution.
                    runner: Runner callable to register.
        
                Returns:
                    None.
        """
        ...

    def resolve(self: Any, runtime_framework: str) -> Any:
        """
        Resolve the best runner for a runtime descriptor string.
        
                Args:
                    runtime_framework: Runtime descriptor requested by caller.
        
                Returns:
                    Resolved inference runner callable.
        """
        ...

