/**
 * VelociousDatabaseDriversSqliteWeb class.
 * @typedef {{query: (sql: string) => Promise<Record<string, ?>[]>, close: () => Promise<void>}} SqliteWebConnection
 */
export default class VelociousDatabaseDriversSqliteWeb extends Base {
    /**
     * Better local storage.
      @type {BetterLocalStorage | undefined} */
    betterLocalStorage: BetterLocalStorage | undefined;
    /**
     * Connection.
      @type {ConnectionSqlJs | undefined} */
    _connection: ConnectionSqlJs | undefined;
    /**
     * Runs sql js locate file.
     * @returns {(file: string) => string} - locateFile callback for sql.js.
     */
    sqlJsLocateFile(): (file: string) => string;
    args: import("../../../configuration-types.js").DatabaseConfigurationType | undefined;
    /**
     * Runs get connection.
     * @returns {ConnectionSqlJs | SqliteWebConnection} - The connection.
     */
    getConnection(): ConnectionSqlJs | SqliteWebConnection;
    localStorageName(): string;
}
/**
 * VelociousDatabaseDriversSqliteWeb class.
 */
export type SqliteWebConnection = {
    query: (sql: string) => Promise<Record<string, unknown>[]>;
    close: () => Promise<void>;
};
import Base from "./base.js";
import BetterLocalStorage from "better-localstorage";
import ConnectionSqlJs from "./connection-sql-js.js";
//# sourceMappingURL=index.web.d.ts.map