1 from _typeshed import StrOrBytesPath
2 from typing import BinaryIO, Iterable, Tuple
4 from ..base import AsyncBase
6 class AsyncTextIOWrapper(AsyncBase[str]):
7 async def close(self) -> None: ...
8 async def flush(self) -> None: ...
9 async def isatty(self) -> bool: ...
10 async def read(self, __size: int | None = ...) -> str: ...
11 async def readline(self, __size: int = ...) -> str: ...
12 async def readlines(self, __hint: int = ...) -> list[str]: ...
13 async def seek(self, __offset: int, __whence: int = ...) -> int: ...
14 async def seekable(self) -> bool: ...
15 async def tell(self) -> int: ...
16 async def truncate(self, __size: int | None = ...) -> int: ...
17 async def writable(self) -> bool: ...
18 async def write(self, __b: str) -> int: ...
19 async def writelines(self, __lines: Iterable[str]) -> None: ...
20 def detach(self) -> BinaryIO: ...
21 def fileno(self) -> int: ...
22 def readable(self) -> bool: ...
24 def buffer(self) -> BinaryIO: ...
26 def closed(self) -> bool: ...
28 def encoding(self) -> str: ...
30 def errors(self) -> str | None: ...
32 def line_buffering(self) -> bool: ...
34 def newlines(self) -> str | Tuple[str, ...] | None: ...
36 def name(self) -> StrOrBytesPath | int: ...
38 def mode(self) -> str: ...