import { LightWeightObjectChangeTracker } from '@schoolbelle/common/object-change-tracker'; import { AngularFirebaseDatabaseStub } from './AngularFirebaseDatabaseStub'; import { TransactionServiceStub } from './TransactionServiceStub'; export declare type DataChanges = { deletes: { path: string; from: any; }[]; inserts: { path: string; to: any; }[]; updates: { path: string; from: any; to: any; }[]; }; export declare class FirebaseFunctionsStub { private tracker; private db; private transaction; private history; readonly from: any; readonly to: any; private changes; private checkPathAndMoreRegex; constructor(tracker: LightWeightObjectChangeTracker, db: AngularFirebaseDatabaseStub, transaction: TransactionServiceStub); private recordInHistory; private updateChanges; private onCheckCreation; private onCheckUpdate; private onCheckDeletion; private getQuotaRef; withDiff(refOrPath: string | firebase.database.Reference, diff: number): Promise; private addGarbadgeCollection; private removeGarbadgeCollection; private runGarbadgeCollections; }