local d=require(script.GlobalConfig)local R=require(script.createReconciler)local v=require(script.createReconcilerCompat)local b=require(script.RobloxRenderer)local x=require(script.strict)local i=require(script.Binding)local L=R(b)local f=v(L)local N=x({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=i.create,joinBindings=i.join,Change=require(script.PropMarkers.Change),Children=require(script.PropMarkers.Children),Event=require(script.PropMarkers.Event),Ref=require(script.PropMarkers.Ref);mount=L.mountVirtualTree,unmount=L.unmountVirtualTree,update=L.updateVirtualTree,reify=f.reify;teardown=f.teardown,reconcile=f.reconcile,setGlobalConfig=d.set;UNSTABLE={}})return N
--[[
	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,
	joinBindings = Binding.join,

	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
