import { DBAdapter, type ILogLevel } from '@powersync/common';
import { AbstractWebSQLOpenFactory } from '../AbstractWebSQLOpenFactory.js';
import { AsyncDatabaseConnection } from '../AsyncDatabaseConnection.js';
import { ResolvedWebSQLOpenOptions, WebSQLOpenFactoryOptions } from '../web-sql-flags.js';
import { WASQLiteVFS } from './WASQLiteConnection.js';
export interface WASQLiteOpenFactoryOptions extends WebSQLOpenFactoryOptions {
    vfs?: WASQLiteVFS;
}
export interface ResolvedWASQLiteOpenFactoryOptions extends ResolvedWebSQLOpenOptions {
    vfs: WASQLiteVFS;
}
export interface WorkerDBOpenerOptions extends ResolvedWASQLiteOpenFactoryOptions {
    logLevel: ILogLevel;
}
/**
 * Opens a SQLite connection using WA-SQLite.
 */
export declare class WASQLiteOpenFactory extends AbstractWebSQLOpenFactory {
    constructor(options: WASQLiteOpenFactoryOptions);
    get waOptions(): WASQLiteOpenFactoryOptions;
    protected openAdapter(): DBAdapter;
    openConnection(): Promise<AsyncDatabaseConnection>;
}
