--- /dev/null
+from typing import Text, Type
+
+from boto.connection import AWSAuthConnection
+from boto.regioninfo import RegionInfo
+
+from .connection import S3Connection
+
+class S3RegionInfo(RegionInfo):
+ def connect(
+ self,
+ name: Text | None = ...,
+ endpoint: str | None = ...,
+ connection_cls: Type[AWSAuthConnection] | None = ...,
+ **kw_params,
+ ) -> S3Connection: ...
+
+def regions() -> list[S3RegionInfo]: ...
+def connect_to_region(region_name: Text, **kw_params): ...