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

from llvmlite.binding import ffi

class SectionIteratorRef(ffi.ObjectRef):
    def name(self): ...
    def is_text(self): ...
    def size(self): ...
    def address(self): ...
    def data(self):  # -> bytes:
        ...
    def is_end(self, object_file): ...
    def next(self):  # -> None:
        ...

class ObjectFileRef(ffi.ObjectRef):
    @classmethod
    def from_data(cls, data):  # -> Self:
        ...
    @classmethod
    def from_path(cls, path):  # -> Self:
        ...
    def sections(self):  # -> Generator[SectionIteratorRef, Any, None]:
        ...
