"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ValidNode=exports.VTree=exports.Transaction=exports.State=exports.RenderFunction=exports.Props=exports.MountCache=exports.InstanceCache=exports.EMPTY=exports.DIFF_BINDING=exports.Context=exports.ComponentTreeCache=exports.ActiveRenderState=void 0;/**
 * @type {{ [type: string]: any }}
 */const EMPTY={OBJ:{},ARR:[],BOOL:true,FUN:()=>{}};/**
 * @typedef {any[]} ActiveTreeCache
 * @type {ActiveTreeCache}
 */exports.EMPTY=EMPTY;const ActiveRenderState=[];exports.ActiveRenderState=ActiveRenderState;const ComponentTreeCache=new Map;/**
 * @typedef {Map<VTree, any>} InstanceCache
 * @type {InstanceCache}
 */exports.ComponentTreeCache=ComponentTreeCache;const InstanceCache=new Map;/**
 * @typedef {Map<Transaction, Set<any>>} MountCache
 * @type {MountCache}
 */exports.InstanceCache=InstanceCache;const MountCache=new Map;/**
 * @typedef {Function} RenderFunction
 *
 * @property {Props} props
 * @property {State} state
 *
 * @returns {VTree[] | VTree | null | undefined}
 */exports.MountCache=MountCache;const RenderFunction=EMPTY.OBJ;/** @typedef {{ [key: string]: any }} Props */exports.RenderFunction=RenderFunction;const Props=EMPTY.OBJ;/** @typedef {{ [key: string]: any }} Context */exports.Props=Props;const Context=EMPTY.OBJ;/** @typedef {{ [key: string]: any }} State */exports.Context=Context;const State=EMPTY.OBJ;/** @typedef {import('diffhtml/dist/typings/util/types').ValidNode & { shadowRoot: any }} ValidNode */exports.State=State;const ValidNode=EMPTY.OBJ;/** @typedef {import('diffhtml/dist/typings/util/types').VTree} VTree */exports.ValidNode=ValidNode;const VTree=EMPTY.OBJ;/** @typedef {import('diffhtml/dist/typings/transaction').default} Transaction */exports.VTree=VTree;const Transaction=EMPTY.OBJ;/** @typedef {import('diffhtml/dist/typings/index')} DIFF_BINDING */exports.Transaction=Transaction;const DIFF_BINDING=EMPTY.OBJ;exports.DIFF_BINDING=DIFF_BINDING;