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

import sys
from pathlib import PosixPath

"""What follows is awful and will be gone in Sphinx 8"""
_STR_METHODS = ...
_PATH_NAME = ...
_MSG = ...
if sys.platform == 'win32':
    ...
else:
    class _StrPath(PosixPath):
        def replace(self, old, new, count=..., /): # -> str:
            ...
        
        def __getattr__(self, item): # -> Any:
            ...
        
        def __add__(self, other):
            ...
        
        def __bool__(self): # -> bool:
            ...
        
        def __contains__(self, item): # -> bool:
            ...
        
        def __eq__(self, other) -> bool:
            ...
        
        def __hash__(self) -> int:
            ...
        
        def __getitem__(self, item): # -> str:
            ...
        
        def __len__(self): # -> int:
            ...
        
    
    
