"""
This type stub file was generated by pyright.
"""

from enum import Enum
from typing import NamedTuple

class QuantizationAction(Enum):
    NONE = ...
    STORED = ...
    REQUESTED = ...

class PathAction(Enum):
    LOCAL = ...
    HUGGINGFACE_CACHED = ...
    HUGGINGFACE = ...
    ERROR = ...

class LoraAction(Enum):
    LOCAL = ...
    REGISTRY = ...
    HUGGINGFACE_COLLECTION_CACHED = ...
    HUGGINGFACE_COLLECTION = ...
    HUGGINGFACE_REPO_CACHED = ...
    HUGGINGFACE_REPO = ...
    ERROR = ...

class ConfigAction(Enum):
    EXACT_MATCH = ...
    EXPLICIT_BASE = ...
    INFER_SUBSTRING = ...
    ERROR = ...

class Rule(NamedTuple):
    priority: int
    name: str
    check: str
    action: QuantizationAction | PathAction | LoraAction | ConfigAction
    ...
