from __future__ import annotations

def BuildMessageAndEnumDescriptors(
    file_descriptor: object,
    globals_dict: dict[str, object],
    descriptor_pool: object | None = ...,
) -> None: ...


def BuildTopDescriptorsAndMessages(
    file_descriptor: object,
    module_name: str,
    globals_dict: dict[str, object],
    descriptor_pool: object | None = ...,
    create_key: object | None = ...,
) -> None: ...
