import type { Request } from './ResourceInterface.ts';
export declare function transaction<T>(context: Request, callback: (transaction: TransactionSet) => T, options?: any): T;
export declare function transaction<T>(callback: (transaction: TransactionSet) => T): T;
export declare namespace transaction {
    var commit: (contextSource: any) => any;
    var abort: (contextSource: any) => any;
}
