import { Entity } from "./Entity"; import { Context } from "./Context"; export declare type EntityStates = "unmodified" | "add" | "modified" | "delete"; export declare class ChangeProxy> { private _state; private _isNew; private _entityObj; private _entity; readonly state: EntityStates; readonly obj: R; readonly entity: Entity; readonly isDirty: boolean; constructor(entity: Entity, entityObject: R, isNew: boolean); setDirty(): ChangeProxy; setDelete(): ChangeProxy; setCleaned(): ChangeProxy; setSaved(): ChangeProxy; }