import { ElementInstance } from './instance' ; export type ComponentInstance = any ; export interface PublicInstance { unsafe_originalInstance : ElementInstance ; unsafe_gojiId : number ; getComponentInstance : ( ) => Promise < ComponentInstance > ; } export const subtreeInstances = new Map < number , ComponentInstance > ( ) ;