local x=require(script.GlobalConfig)local t=require(script.createReconciler)local Z=require(script.createReconcilerCompat)local o=require(script.RobloxRenderer)local b=require(script.strict)local V=require(script.Binding)local y=t(o)local j=Z(y)local v=b({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),forwardRef=require(script.forwardRef),createBinding=V.create;joinBindings=V.join;createContext=require(script.createContext),Change=require(script.PropMarkers.Change),Children=require(script.PropMarkers.Children);Event=require(script.PropMarkers.Event);Ref=require(script.PropMarkers.Ref);mount=y.mountVirtualTree;unmount=y.unmountVirtualTree,update=y.updateVirtualTree;reify=j.reify;teardown=j.teardown,reconcile=j.reconcile;setGlobalConfig=x.set,UNSTABLE={}})return v
--~strict
--[[
	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),
	forwardRef = require(script.forwardRef),
	createBinding = Binding.create,
	joinBindings = Binding.join,
	createContext = require(script.createContext),

	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
