import * as React from "react";
//#region src/components/templates/AppShell/AppShellContext.ts
var AppShellContext = React.createContext(null);
/**
* Read AppShell layout context. Returns null when used outside AppShell.Root.
*/
function useAppShell() {
	return React.useContext(AppShellContext);
}
var AppShellProvider = AppShellContext.Provider;
/**
* Internal context for passing the panel index from Panel to Content.
* Content reads this to determine its position in connected mode.
*/
var PanelIndexContext = React.createContext(0);
var PanelLayoutContext = React.createContext({
	visible: true,
	isMobile: false
});
var PanelExpansionContext = React.createContext(null);
function usePanelExpansion() {
	return React.useContext(PanelExpansionContext);
}
//#endregion
export { AppShellProvider, PanelExpansionContext, PanelIndexContext, PanelLayoutContext, useAppShell, usePanelExpansion };

//# sourceMappingURL=index473.js.map