typing and refactoring on the way
diff --git a/stubs/yaml.pyi b/stubs/yaml.pyi
new file mode 100644
index 0000000..d8d6516
--- /dev/null
+++ b/stubs/yaml.pyi
@@ -0,0 +1,9 @@
+from typing import Union, List, Dict, Any, IO
+
+
+Basic = Union[List, Dict[str, Any]]
+
+
+def load(stream: IO, loader: Any) -> Any: ...
+class CLoader: ...
+