import { NodeWithOptionalId, RelationWithOptionalId, Uuid } from '../../Type/Definition/index.js'; import { EventIdentifier } from '../../Type/Enum/index.js'; type PostElementEventDetails = { parentId: Uuid; element: NodeWithOptionalId | RelationWithOptionalId; elementId: Promise | null; }; declare class PostElementEvent extends CustomEvent { static type: EventIdentifier; constructor(parentId: Uuid, element: NodeWithOptionalId | RelationWithOptionalId); getParentId(): Uuid; getElement(): NodeWithOptionalId | RelationWithOptionalId; getElementId(): Promise | null; setElementId(elementId: Promise | null): PostElementEvent; } export { PostElementEvent, PostElementEventDetails };