import { Entity, EntityRelationSelection, EntitySchema } from "@entity-space/elements"; import { EntityMutationType } from "./entity-mutation"; import { EntityMutationFn } from "./entity-mutator"; import { EntityChange } from "./structures/entity-change"; import { EntityChangeDependency } from "./structures/entity-change-dependency"; import { EntityMutationContext } from "./structures/entity-mutation-context"; export declare class AcceptedEntityMutation { #private; constructor(schema: EntitySchema, type: EntityMutationType, entities: readonly Entity[], acceptedChanges: readonly EntityChange[], mutateFn: EntityMutationFn, selection: EntityRelationSelection, previous?: readonly Entity[]); getSchema(): EntitySchema; getType(): EntityMutationType; isCreate(): boolean; isUpdate(): boolean; isDelete(): boolean; isSave(): boolean; mutate(entities: Entity[], selection: EntityRelationSelection, context: EntityMutationContext): Promise; getEntities(): readonly Entity[]; getPreviousEntities(): readonly Entity[]; getChanges(): readonly EntityChange[]; includesEntity(entity: Entity): boolean; getSelection(): EntityRelationSelection; getOutboundDependencies(): readonly EntityChangeDependency[]; getInboundDependencies(): readonly EntityChangeDependency[]; hasChangesRelatedToDependency(dependency: EntityChangeDependency): boolean; isDependencyOf(other: AcceptedEntityMutation): boolean; }