/**
 * Declaration for the raw WASM module import
 */
declare module "@sqlite-actor/sqlite-vec/sqlite-vec.wasm" {
  const wasm: WebAssembly.Module;
  export default wasm;
}

/**
 * Declaration for the underlying sqlite3 init script
 */
declare module "@sqlite-actor/sqlite-vec/sqlite-vec.js" {
  const initSqlite3: (options: any) => Promise<any>;
  export default initSqlite3;
}

import { KVStorage, SqliteActor, SqliteActorOptions, SqliteResult } from "@sqlite-actor/core";

export { KVStorage, SqliteActorOptions, SqliteResult };

export class SqliteVec extends SqliteActor {
  static create(kv: KVStorage, options?: SqliteActorOptions): Promise<SqliteVec>;
}

declare const SQLITE_VEC_WASM_BASE64: string;
export default SQLITE_VEC_WASM_BASE64;
