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

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

class MFluxException(Exception): ...
class ImageSavingException(MFluxException): ...
class MetadataEmbedException(MFluxException): ...
class MFluxUserException(MFluxException): ...
class PromptFileReadError(MFluxUserException): ...
class StopImageGenerationException(MFluxUserException): ...
class StopTrainingException(MFluxUserException): ...

class CommandExecutionError(MFluxException):
    def __init__(
        self, cmd: list[str], return_code: int, stdout: str | None, stderr: str | None
    ) -> None: ...

class ReferenceVsOutputImageError(AssertionError): ...
class ModelConfigError(ValueError): ...
class InvalidBaseModel(ModelConfigError): ...
