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

from enum import IntEnum, unique
from typing import TYPE_CHECKING
from graph_sitter.core.interfaces.editable import Editable

if TYPE_CHECKING:
    ...
REMOVED = ...
AutoCommitSymbol = ...
@unique
class AutoCommitState(IntEnum):
    """Current operation."""
    Write = ...
    Read = ...
    Committing = ...
    Special = ...


class IllegalWriteError(Exception):
    """Indicates there is a write, move, or commit called inside a read, commit, or repr
    function.
    """
    ...


class NodeNotFoundError(Exception):
    """Indicates a node was not found during the update process, such as when editing the type."""
    ...


class OutdatedNodeError(Exception):
    """Indicates a node is out of date."""
    def __init__(self, node: Editable) -> None:
        ...
    


enabled = ...
