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

import re
from typing import Any, TYPE_CHECKING
from sphinx.builders import Builder
from sphinx.environment import BuildEnvironment

"""Index entries adapters for sphinx.environment."""
if TYPE_CHECKING:
    ...
logger = ...
class IndexEntries:
    def __init__(self, env: BuildEnvironment) -> None:
        ...
    
    def create_index(self, builder: Builder, group_entries: bool = ..., _fixre: re.Pattern = ...) -> list[tuple[str, list[tuple[str, Any]]]]:
        """Create the real index from the collected index entries."""
        ...
    


