"""
Auto-generated Python stub file from vector.py
Module: vector
"""


import t, c
from stdint import *
import memhub

class Vector[T]:
    data: t.CVoid | t.CPtr
    length: t.CSizeT
    capacity: t.CSizeT
    elem_size: t.CSizeT
    pool: memhub.MemManager | t.CPtr
    def __init__(self: Vector, pool: memhub.MemManager | t.CPtr, capacity: t.CSizeT, _hint: T) -> t.CInt: pass
    def push(self: Vector, value: T) -> t.CInt: pass
    def _grow(self: Vector) -> t.CInt: pass
    def get(self: Vector, index: t.CSizeT) -> T: pass
    def set(self: Vector, index: t.CSizeT, value: T) -> t.CInt: pass
    def len(self: Vector) -> t.CSizeT: pass
    def clear(self: Vector) -> t.CInt: pass
    def free(self: Vector) -> t.CInt: pass