2 from _typeshed import StrOrBytesPath
3 from os import stat_result
4 from typing import Sequence, Union, overload
6 _FdOrAnyPath = Union[int, StrOrBytesPath]
8 async def stat(path: _FdOrAnyPath, *, dir_fd: int | None = ..., follow_symlinks: bool = ...) -> stat_result: ...
10 src: StrOrBytesPath, dst: StrOrBytesPath, *, src_dir_fd: int | None = ..., dst_dir_fd: int | None = ...
12 async def remove(path: StrOrBytesPath, *, dir_fd: int | None = ...) -> None: ...
13 async def mkdir(path: StrOrBytesPath, mode: int = ..., *, dir_fd: int | None = ...) -> None: ...
14 async def rmdir(path: StrOrBytesPath, *, dir_fd: int | None = ...) -> None: ...
16 if sys.platform != "win32":
18 async def sendfile(__out_fd: int, __in_fd: int, offset: int | None, count: int) -> int: ...
25 headers: Sequence[bytes] = ...,
26 trailers: Sequence[bytes] = ...,