//#region src/elements/cloneFactoryRegistry.ts
const registry = /* @__PURE__ */ new WeakMap();
function registerCloneFactory(element, factory) {
	registry.set(element, factory);
}
function unregisterCloneFactory(element) {
	registry.delete(element);
}
function getCloneFactory(element) {
	return registry.get(element);
}

//#endregion
export { getCloneFactory, registerCloneFactory, unregisterCloneFactory };
//# sourceMappingURL=cloneFactoryRegistry.js.map