from _typeshed import Incomplete
from collections.abc import Generator

def generate_pajek(G) -> Generator[Incomplete, None, None]: ...
def write_pajek(G, path, encoding: str = "UTF-8") -> None: ...
def read_pajek(path, encoding: str = "UTF-8"): ...
def parse_pajek(lines): ...
