import { Entity, EntityRelationSelection, EntitySchema } from "@entity-space/elements"; import { Path } from "@entity-space/utils"; import { EntityMutationType } from "./entity-mutation"; import { EntityChange } from "./structures/entity-change"; export declare class EntityChanges { #private; constructor(schema: EntitySchema, selection: EntityRelationSelection, changes: readonly EntityChange[], entities: readonly Entity[], previous: readonly Entity[]); getSchema(path?: Path): EntitySchema; getSelection(path?: Path): EntityRelationSelection; getEntities(path?: Path): readonly Entity[]; getPrevious(path?: Path): Entity[]; subtractChanges(types: readonly EntityMutationType[], schema: EntitySchema, entities: readonly Entity[]): [changes: EntityChange[], open: EntityChanges | undefined]; }