// packages/editor/src/private-apis.js
import * as interfaceApis from "@wordpress/interface";
import { lock } from "./lock-unlock.js";
import { EntitiesSavedStatesExtensible } from "./components/entities-saved-states/index.js";
import BackButton from "./components/header/back-button.js";
import Editor from "./components/editor/index.js";
import PluginPostExcerpt from "./components/post-excerpt/plugin.js";
import PostCardPanel from "./components/post-card-panel/index.js";
import PreferencesModal from "./components/preferences-modal/index.js";
import { usePostActions } from "./components/post-actions/actions.js";
import usePostFields from "./components/post-fields/index.js";
import ToolsMoreMenuGroup from "./components/more-menu/tools-more-menu-group.js";
import ViewMoreMenuGroup from "./components/more-menu/view-more-menu-group.js";
import ResizableEditor from "./components/resizable-editor/index.js";
import {
  CreateTemplatePartModal,
  patternTitleField,
  templateTitleField
} from "@wordpress/fields";
import { registerCoreBlockBindingsSources } from "./bindings/api.js";
import { getTemplateInfo } from "./utils/get-template-info.js";
import GlobalStylesUIWrapper from "./components/global-styles/index.js";
import { StyleBookPreview } from "./components/style-book/index.js";
import { useGlobalStyles, useStyle } from "./components/global-styles/hooks.js";
import { GlobalStylesActionMenu } from "./components/global-styles/menu.js";
import {
  useGenerateBlockPath,
  useRestoreBlockFromPath
} from "./utils/block-selection-path.js";
var { store: interfaceStore, ...remainingInterfaceApis } = interfaceApis;
var privateApis = {};
lock(privateApis, {
  CreateTemplatePartModal,
  patternTitleField,
  templateTitleField,
  BackButton,
  EntitiesSavedStatesExtensible,
  Editor,
  PluginPostExcerpt,
  PostCardPanel,
  PreferencesModal,
  usePostActions,
  usePostFields,
  ToolsMoreMenuGroup,
  ViewMoreMenuGroup,
  ResizableEditor,
  registerCoreBlockBindingsSources,
  getTemplateInfo,
  // Global Styles
  GlobalStylesUIWrapper,
  GlobalStylesActionMenu,
  StyleBookPreview,
  useGlobalStyles,
  useStyle,
  // Block selection
  useGenerateBlockPath,
  useRestoreBlockFromPath,
  // This is a temporary private API while we're updating the site editor to use EditorProvider.
  interfaceStore,
  ...remainingInterfaceApis
});
export {
  privateApis
};
//# sourceMappingURL=private-apis.js.map
