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


import t, c
from stdint import *
import memhub
import string
class ParseState:
    src: t.CChar | t.CPtr
    pos: t.CSizeT
    len: t.CSizeT
    pool: memhub.MemManager | t.CPtr
    def __init__(self, src: t.CChar | t.CPtr, pool: memhub.MemManager | t.CPtr): pass

def _peek(s: ParseState | t.CPtr) -> t.CChar: pass

def _advance(s: ParseState | t.CPtr) -> t.CChar: pass

def _skip_whitespace(s: ParseState | t.CPtr): pass

def _expect(s: ParseState | t.CPtr, ch: t.CChar) -> bool: pass

def _parse_string(s: ParseState | t.CPtr) -> t.CChar | t.CPtr: pass

def _parse_number(s: ParseState | t.CPtr) -> JsonValue | t.CPtr: pass

def _parse_value(s: ParseState | t.CPtr) -> JsonValue | t.CPtr: pass

def _parse_array(s: ParseState | t.CPtr) -> JsonValue | t.CPtr: pass

def _parse_object(s: ParseState | t.CPtr) -> JsonValue | t.CPtr: pass

def parse(pool: memhub.MemManager | t.CPtr, src: t.CChar | t.CPtr) -> JsonValue | t.CPtr: pass

