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