import { RuntimeContext } from "@qorebase/app-runtime/src/RuntimeContext";
import { VariablesContext, VariablesProvider, useVariablesContext, useVariableValues, } from "@qorebase/app-runtime/src/VariablesContext";
import EditorContext from "@qorebase/app-runtime/src/EditorContext";
import useTemplate from "@qorebase/app-runtime/src/hooks/useTemplate";
import { useActionTrigger } from "@qorebase/app-runtime/src/hooks/useActionTrigger";
import { RuntimeInputContext, useRuntimeInput, } from "@qorebase/app-runtime/src/RuntimeInput";
import ListItemVariables from "@qorebase/app-runtime/src/ListItemVariables";
import { FormSubmitHookContext } from "@qorebase/app-runtime/src/hooks/FormSubmitHook";
import iconsList from "@qorebase/app-runtime/src/components/iconsList";
import { useClient, useCurrentUser, useSDK, useStorageToken, } from "@qorebase/app-runtime/src/hooks/qore";
import { useTracking } from "react-tracking";
import { useEvaluate, useEvaluateObject, useEvaluateLazy, } from "@qorebase/app-runtime/src/hooks/useExpression";
import { SourceContext, ModalPageSourceContext, } from "@qorebase/app-runtime/src/SourceContext";
import { useImageUploadTrigger } from "@qorebase/app-runtime/src/hooks/useImageUploadTrigger";
import { useSourceHooks } from "@qorebase/app-runtime/src/hooks/sourceHooks/useSourceHooks";
import useDisableCondition from "@qorebase/app-runtime/src/hooks/useDisableCondition";
import { useQRScannerAction } from "../QRScanner.action";
export const exposeGlobalRuntime = () => {
    if (typeof window !== undefined) {
        // @ts-ignore
        window.qoreApps = Object.assign(Object.assign({}, window.qoreApps), { useTemplate,
            useEvaluate,
            useEvaluateObject,
            useEvaluateLazy,
            useSourceHooks,
            useActionTrigger,
            useRuntimeInput,
            useClient,
            useCurrentUser,
            useSDK,
            useStorageToken,
            useTracking,
            useVariableValues,
            ListItemVariables,
            iconsList,
            RuntimeContext,
            EditorContext,
            RuntimeInputContext,
            VariablesProvider,
            VariablesContext,
            useVariablesContext,
            FormSubmitHookContext,
            SourceContext,
            ModalPageSourceContext,
            useImageUploadTrigger,
            useDisableCondition,
            useQRScannerAction });
    }
};
//# sourceMappingURL=exposeGlobalRuntime.js.map