export interface ENV < Instance > { param container param child appendChildToContainer ( container , child ) : void ; param container param child param before insertInContainerBefore ( container , child , before ) : void ; param container param child removeChildFromContainer ( container , child ) : void ; param type param stateNode returns isElement ( type , stateNode ? ) : boolean ; } /**
 * The host environment.
 * Default configuration to work with ReactDOM renderer.
 */ export const Env = { appendChildToContainer ( container , child ) { container . appendChild ( child ) ; } , insertInContainerBefore ( container , child , before ) { container . insertBefore ( child , before ) ; } , removeChildFromContainer ( container , child ) { container . removeChild ( child ) ; } , isElement ( _ , stateNode ) { return stateNode instanceof Element ; } , } ; param configuration export function configure < T > ( configuration ) { return Object . assign ( Env , configuration ) ; }