from _typeshed import Incomplete

def pagerank(
    G,
    alpha: float = 0.85,
    personalization: Incomplete | None = None,
    max_iter: int = 100,
    tol: float = 1e-06,
    nstart: Incomplete | None = None,
    weight: str = "weight",
    dangling: Incomplete | None = None,
): ...
def google_matrix(
    G,
    alpha: float = 0.85,
    personalization: Incomplete | None = None,
    nodelist: Incomplete | None = None,
    weight: str = "weight",
    dangling: Incomplete | None = None,
): ...
