import { __ } from "@wordpress/i18n";
import { privateApis as patternPrivateApis } from "@wordpress/patterns";
import { unlock } from "../lock-unlock";
const NAVIGATION_POST_TYPE = "wp_navigation";
const TEMPLATE_POST_TYPE = "wp_template";
const TEMPLATE_PART_POST_TYPE = "wp_template_part";
const TEMPLATE_ORIGINS = {
  custom: "custom",
  theme: "theme",
  plugin: "plugin"
};
const TEMPLATE_PART_AREA_DEFAULT_CATEGORY = "uncategorized";
const TEMPLATE_PART_ALL_AREAS_CATEGORY = "all-parts";
const {
  PATTERN_TYPES,
  PATTERN_DEFAULT_CATEGORY,
  PATTERN_USER_CATEGORY,
  EXCLUDED_PATTERN_SOURCES,
  PATTERN_SYNC_TYPES
} = unlock(patternPrivateApis);
const FOCUSABLE_ENTITIES = [
  TEMPLATE_PART_POST_TYPE,
  NAVIGATION_POST_TYPE,
  PATTERN_TYPES.user
];
const POST_TYPE_LABELS = {
  [TEMPLATE_POST_TYPE]: __("Template"),
  [TEMPLATE_PART_POST_TYPE]: __("Template part"),
  [PATTERN_TYPES.user]: __("Pattern"),
  [NAVIGATION_POST_TYPE]: __("Navigation")
};
const LAYOUT_GRID = "grid";
const LAYOUT_TABLE = "table";
const LAYOUT_LIST = "list";
const OPERATOR_IS = "is";
const OPERATOR_IS_NOT = "isNot";
const OPERATOR_IS_ANY = "isAny";
const OPERATOR_IS_NONE = "isNone";
export {
  EXCLUDED_PATTERN_SOURCES,
  FOCUSABLE_ENTITIES,
  LAYOUT_GRID,
  LAYOUT_LIST,
  LAYOUT_TABLE,
  NAVIGATION_POST_TYPE,
  OPERATOR_IS,
  OPERATOR_IS_ANY,
  OPERATOR_IS_NONE,
  OPERATOR_IS_NOT,
  PATTERN_DEFAULT_CATEGORY,
  PATTERN_SYNC_TYPES,
  PATTERN_TYPES,
  PATTERN_USER_CATEGORY,
  POST_TYPE_LABELS,
  TEMPLATE_ORIGINS,
  TEMPLATE_PART_ALL_AREAS_CATEGORY,
  TEMPLATE_PART_AREA_DEFAULT_CATEGORY,
  TEMPLATE_PART_POST_TYPE,
  TEMPLATE_POST_TYPE
};
//# sourceMappingURL=constants.js.map
