"""Auto-generated Python stub file"""


import t, c
import memhub
import string
import json
from stdint import *
VARIANT_NONE: t.CDefine
VARIANT_INT: t.CDefine
VARIANT_FLOAT: t.CDefine
VARIANT_DOUBLE: t.CDefine
VARIANT_STR: t.CDefine
VARIANT_DICT: t.CDefine
VARIANT_LIST: t.CDefine
VARIANT_BOOL: t.CDefine
VARIANT_PTR: t.CDefine
_VARIANT_SIZE: t.CDefine
class dict:
    __keys__: t.CPtr
    __values__: t.CPtr
    __count__: t.CSizeT
    __capacity__: t.CSizeT
    __mbuddy__: memhub.MemBuddy | t.CPtr
    __iter_index__: t.CSizeT
    def __new__(self, mb: memhub.MemBuddy | t.CPtr) -> t.CPtr: pass
    def __init__(self, mb: memhub.MemBuddy | t.CPtr): pass
    def __len__(self) -> t.CSizeT: pass
    def _find(self, key: str) -> t.CSizeT: pass
    def __getitem__(self, key: str) -> t.CPtr: pass
    def __setitem__(self, key: str, val: t.CNeedPtr): pass
    def _set_variant_raw(self, key: str, vtype: t.CInt, ptr: t.CPtr): pass
    def set_int(self, key: str, val: int): pass
    def set_str(self, key: str, val: str): pass
    def set_float(self, key: str, val: float): pass
    def set_double(self, key: str, val: t.CDouble): pass
    def set_dict(self, key: str, val: dict | t.CPtr): pass
    def set_list(self, key: str, val: t.CPtr): pass
    def set_bool(self, key: str, val: t.CInt): pass
    def get_vtype(self, key: str) -> t.CInt: pass
    def get(self, key: str, default: t.CPtr) -> t.CPtr: pass
    def contains(self, key: str) -> t.CInt: pass
    def __iter__(self) -> dict | t.CPtr: pass
    def __next__(self) -> str: pass
    def to_json(self, pool: memhub.MemManager | t.CPtr) -> json.JsonValue | t.CPtr: pass
    def from_json(self, pool: memhub.MemManager | t.CPtr, root: json.JsonValue | t.CPtr): pass
    def dumps(self, pool: memhub.MemManager | t.CPtr) -> str: pass
    def loads(self, pool: memhub.MemManager | t.CPtr, json_str: str): pass

