import { Slate, unstable_IconRadioGroup } from "@makeswift/controls";
const supportedInlineOptions = [
  {
    icon: unstable_IconRadioGroup.Icon.Superscript,
    label: "Superscript",
    value: "superscript"
  },
  {
    icon: unstable_IconRadioGroup.Icon.Subscript,
    label: "Subscript",
    value: "subscript"
  },
  {
    icon: unstable_IconRadioGroup.Icon.Code,
    label: "Code",
    value: "code"
  }
];
function isSupportedInlineType(inline) {
  return supportedInlineOptions.findIndex((option) => option.value === inline) !== -1;
}
function isSupportedInlineNode(node) {
  return Slate.isInline(node) && isSupportedInlineType(node.type);
}
function isSupportedInlineEntry(entry) {
  return isSupportedInlineNode(entry[0]);
}
export {
  isSupportedInlineEntry,
  isSupportedInlineNode,
  isSupportedInlineType,
  supportedInlineOptions
};
//# sourceMappingURL=types.js.map