import { IDbPlugin, IdType, NonNullCreateEntity, NonNullEntity, CompiledSchema } from "@agrejus/db-framework-core"; import { EntityCallbackMany } from "../types"; import { IChangeTracker } from "./types"; export declare class SingleKeyChangeTracker implements IChangeTracker { protected removals: Map>; protected additions: Map>; protected removeById: Set; protected attachments: Map>; private _schema; private readonly _dbPlugin; constructor(schema: CompiledSchema, dbPlugin: IDbPlugin); saveChanges(done: (result: number, error?: any) => void): void; add(entities: NonNullCreateEntity[], done: EntityCallbackMany): void; }