import { ObjectStoreInterface, TransactionInterface } from '../component/interface/components.interface.js'; import { Database } from '../component/database.js'; export declare class Transaction implements TransactionInterface { private readonly ctx; constructor(ctx: { transaction: IDBTransaction; }); abort(): Promise; commit(): Promise; objectStore(name: string): ObjectStoreInterface; get objectStoreNames(): string[]; get db(): Database; get durability(): IDBTransactionDurability; get error(): DOMException; get mode(): IDBTransactionMode; }