import { open } from '@op-engineering/op-sqlite'; import { TransactionQueue } from './transactionQueue'; import type { DB } from '@op-engineering/op-sqlite'; type SQLiteOpenParams = Parameters; export type OpenDatabaseOptions = SQLiteOpenParams[0] & { revs_limit?: number; deterministic_revs?: boolean; }; type OpenDatabaseResult = { db: DB; transactionQueue: TransactionQueue; } | { error: Error; }; declare function openDB(opts: OpenDatabaseOptions): OpenDatabaseResult; export declare function closeDB(name: string): void; export default openDB; //# sourceMappingURL=openDatabase.d.ts.map