local t=require(script.GlobalConfig)local s=require(script.createReconciler)local P=require(script.createReconcilerCompat)local G=require(script.RobloxRenderer)local W=require(script.strict)local f=require(script.Binding)local g=s(G)local U=P(g)local B=W({Component=require(script.Component);createElement=require(script.createElement);createFragment=require(script.createFragment);oneChild=require(script.oneChild);PureComponent=require(script.PureComponent),None=require(script.None);Portal=require(script.Portal),createRef=require(script.createRef),createBinding=f.create,Change=require(script.PropMarkers.Change);Children=require(script.PropMarkers.Children);Event=require(script.PropMarkers.Event);Ref=require(script.PropMarkers.Ref),mount=g.mountVirtualTree;unmount=g.unmountVirtualTree,update=g.updateVirtualTree,reify=U.reify,teardown=U.teardown;reconcile=U.reconcile,setGlobalConfig=t.set,UNSTABLE={}})return B
--[[
	Packages up the internals of Roact and exposes a public API for it.
]]

local GlobalConfig = require(script.GlobalConfig)
local createReconciler = require(script.createReconciler)
local createReconcilerCompat = require(script.createReconcilerCompat)
local RobloxRenderer = require(script.RobloxRenderer)
local strict = require(script.strict)
local Binding = require(script.Binding)

local robloxReconciler = createReconciler(RobloxRenderer)
local reconcilerCompat = createReconcilerCompat(robloxReconciler)

local Roact = strict({
	Component = require(script.Component),
	createElement = require(script.createElement),
	createFragment = require(script.createFragment),
	oneChild = require(script.oneChild),
	PureComponent = require(script.PureComponent),
	None = require(script.None),
	Portal = require(script.Portal),
	createRef = require(script.createRef),
	createBinding = Binding.create,

	Change = require(script.PropMarkers.Change),
	Children = require(script.PropMarkers.Children),
	Event = require(script.PropMarkers.Event),
	Ref = require(script.PropMarkers.Ref),

	mount = robloxReconciler.mountVirtualTree,
	unmount = robloxReconciler.unmountVirtualTree,
	update = robloxReconciler.updateVirtualTree,

	reify = reconcilerCompat.reify,
	teardown = reconcilerCompat.teardown,
	reconcile = reconcilerCompat.reconcile,

	setGlobalConfig = GlobalConfig.set,

	-- APIs that may change in the future without warning
	UNSTABLE = {},
})

return Roact
