/* tslint:disable */
/* eslint-disable */
/**
 * Call once at module start to install a panic hook that routes Rust
 * panics to `console.error`. No-op if compiled without the default feature.
 */
export function init(): void;
/**
 * In-memory Lora graph database handle.
 */
export class WasmDatabase {
  free(): void;
  nodeCount(): number;
  relationshipCount(): number;
  constructor();
  clear(): void;
  /**
   * Execute a Lora query. `params` may be `undefined`, `null`, or a
   * plain object keyed by parameter name.
   *
   * Returns `{ columns: string[], rows: Array<Record<string, LoraValue>> }`
   * as a plain JS object (structured-clonable).
   */
  execute(query: string, params: any): any;
}
