Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
require("../chunk-9hOWP6kD.cjs");
const require_FluidThemeProvider = require("../FluidThemeProvider-DMfCMPLp.cjs");
const require_use_account = require("../use-account-C596ARpR.cjs");
require("../use-optional-store-DT54mwJS.cjs");
const require_hook_types = require("../hook-types-B8cS7ta0.cjs");
const require_query_keys = require("../query-keys-p6qddudR.cjs");
const require_registries = require("../registries-DgzzKX8_.cjs");
const require_use_store = require("../use-store-Dl3HEHrF.cjs");
const require_AppNavigationContext = require("../AppNavigationContext-D1Xx1-jH.cjs");
const require_authoring = require("../authoring-HytiVeJw.cjs");
//#region src/widgets/authoring-condition.ts
const APP_DATA_QUERY_KEY = ["fluid", "app"];
const PROFILE_QUERY_KEY = ["fluid", "profile"];
const useFluidApp = createRuntimeOnlyExport("useFluidApp");
const useFluidProfile = createRuntimeOnlyExport("useFluidProfile");
const useLogout = createRuntimeOnlyExport("useLogout");
const useCompanySwitch = createRuntimeOnlyExport("useCompanySwitch");
function createRuntimeOnlyExport(name) {
	return function runtimeOnlyPortalSdkExport() {
		throw new Error(`${name} cannot run while the Fluid widget authoring condition is active. Runtime widget bundles receive the host SDK from window.FluidShared.PortalSdk.`);
	};
}
//#endregion
exports.APP_DATA_QUERY_KEY = APP_DATA_QUERY_KEY;
exports.APP_DEFINITION_QUERY_KEY = require_hook_types.APP_DEFINITION_QUERY_KEY;
exports.AppNavigationProvider = require_AppNavigationContext.AppNavigationProvider;
exports.PROFILE_QUERY_KEY = PROFILE_QUERY_KEY;
exports.PROPERTY_FIELD_TYPES = require_registries.PROPERTY_FIELD_TYPES;
exports.applyPropertyValues = require_registries.applyPropertyValues;
exports.buildThemeDefinition = require_FluidThemeProvider.buildThemeDefinition;
exports.createCompanyQueryKey = require_hook_types.createCompanyQueryKey;
exports.defineWidget = require_authoring.defineWidget;
exports.defineWidgetPackage = require_authoring.defineWidgetPackage;
exports.extractPropertyValues = require_registries.extractPropertyValues;
exports.getActiveThemeId = require_FluidThemeProvider.getActiveThemeId;
exports.getProperty = require_hook_types.getProperty;
exports.groupPropertyFields = require_registries.groupPropertyFields;
exports.hasData = require_hook_types.hasData;
exports.isErrorResult = require_hook_types.isErrorResult;
exports.isIdle = require_hook_types.isIdle;
exports.isLoading = require_hook_types.isLoading;
exports.isPropertyFieldType = require_registries.isPropertyFieldType;
exports.isSourceWidgetPackage = require_authoring.isSourceWidgetPackage;
exports.normalizeComponentTree = require_hook_types.normalizeComponentTree;
exports.selectProperty = require_hook_types.selectProperty;
exports.sourceWidgetPackagesToManifests = require_authoring.sourceWidgetPackagesToManifests;
exports.toNavigationItem = require_hook_types.toNavigationItem;
exports.toRawManifest = require_hook_types.toRawManifest;
exports.toScreenDefinition = require_hook_types.toScreenDefinition;
exports.transformManifestToRepAppData = require_hook_types.transformManifestToRepAppData;
exports.transformThemes = require_FluidThemeProvider.transformThemes;
exports.useAccount = require_use_account.useAccount;
exports.useAppDefinition = require_hook_types.useAppDefinition;
exports.useAppDefinitionApi = require_FluidThemeProvider.useAppDefinitionApi;
exports.useAppNavigation = require_AppNavigationContext.useAppNavigation;
exports.useCompanyScopedQueryKey = require_hook_types.useCompanyScopedQueryKey;
exports.useCompanySwitch = useCompanySwitch;
exports.useFluidApp = useFluidApp;
exports.useFluidProfile = useFluidProfile;
exports.useFluidTheme = require_hook_types.useFluidTheme;
exports.useLogout = useLogout;
exports.usePortalTenantClient = require_query_keys.usePortalTenantClient;
exports.useStore = require_use_store.useStore;

//# sourceMappingURL=authoring-condition.cjs.map