from _typeshed import Incomplete

class Iterator:
    im: Incomplete
    position: Incomplete
    def __init__(self, im) -> None: ...
    def __getitem__(self, ix): ...
    def __iter__(self): ...
    def __next__(self): ...

def all_frames(im, func: Incomplete | None = None): ...
