import { Entity, EntitySchema } from "@entity-space/elements"; import { EntityMutationType } from "../entity-mutation"; import { EntityChangeDependency } from "./entity-change-dependency"; export declare abstract class EntityChange { #private; constructor(schema: EntitySchema, entity: Entity, dependencies: readonly EntityChangeDependency[]); abstract isType(types: readonly EntityMutationType[]): boolean; getSchema(): EntitySchema; getEntity(): Entity; hasEntity(entity: Entity): boolean; isCreate(): this is CreateEntityChange; isUpdate(): this is UpdateEntityChange; isDelete(): this is DeleteEntityChange; getOutboundDependencies(): EntityChangeDependency[]; getInboundDependencies(): EntityChangeDependency[]; } export declare class CreateEntityChange extends EntityChange { isCreate(): this is CreateEntityChange; isType(types: readonly EntityMutationType[]): boolean; toString(): string; } export declare class UpdateEntityChange extends EntityChange { isUpdate(): this is UpdateEntityChange; isType(types: readonly EntityMutationType[]): boolean; toString(): string; } export declare class DeleteEntityChange extends EntityChange { isDelete(): this is DeleteEntityChange; isType(types: readonly EntityMutationType[]): boolean; toString(): string; }