
  
import * as _lib from "./pkg_napi/index.js";
  
  
export function accdist(ctx) {
    return _lib.Incr_fn_accdist_14fb3e.make(ctx).collect()
  }

class AccdistLocals {
    constructor(inner) {
        self.__inner = inner
    }

    

      
}

export class Accdist {
  constructor(ctx) {
    this.ctx = ctx;
    this.inner = _lib.Incr_fn_accdist_14fb3e.make(this.ctx)
    this.locals = AccdistLocals(this.inner)
  }

/* 
getCtx() {
    throw new Error("Not implemented yet");
  }
    */

  next() {
    return this.inner.next()
  }
}
    

export function rsi(ctx, src, length) {
    return _lib.Incr_fn_rsi_483c27.make(ctx).collect(src, length)
  }

class RsiLocals {
    constructor(inner) {
        self.__inner = inner
    }

    

      
}

export class Rsi {
  constructor(ctx) {
    this.ctx = ctx;
    this.inner = _lib.Incr_fn_rsi_483c27.make(this.ctx)
    this.locals = RsiLocals(this.inner)
  }

/* 
getCtx() {
    throw new Error("Not implemented yet");
  }
    */

  next(src, length) {
    return this.inner.next(src, length)
  }
}
    
  
 /* module.exports = {
      accdist,Accdist,rsi,Rsi
  }*/
          