"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useFleetServerStandalone = useFleetServerStandalone; var _use_config = require("./use_config"); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ function useFleetServerStandalone() { var _config$internal$flee, _config$internal; const config = (0, _use_config.useConfig)(); const isFleetServerStandalone = (_config$internal$flee = (_config$internal = config.internal) === null || _config$internal === void 0 ? void 0 : _config$internal.fleetServerStandalone) !== null && _config$internal$flee !== void 0 ? _config$internal$flee : false; return { isFleetServerStandalone }; }