import { AppStore } from "./AppStore"; export declare class TransactionScope { private appStore; private tranState; private committed; private outerZone; private id; private logger; private updateCount; private oldState; private static nextTranId; constructor(appStore: AppStore); update(path: string, changes: any): any; getNewState(): any; getOldState(): any; commit(): void; static current(): TransactionScope; static runInsideTransaction(appStore: AppStore, action: any): any; private ensureNotCommitted(); }