import { r as FocusScopesStorage } from "../focus-scopes-BLTX2pJU.cjs";
import { a as KnownThemeComponents, i as KnownCssProperties, o as PanelGroup } from "../types-DUTo2zJ5.cjs";
import { a as SlashCommandRootProps, i as SlashCommandRenderProps, n as SlashCommandItem, r as SlashCommandProps, t as SearchableItem } from "../types-ALwc36ll.cjs";
import { Attrs } from "@tiptap/pm/model";
import { Editor } from "@tiptap/core";
import { EditorState, PluginKey } from "@tiptap/pm/state";
import * as React$2 from "react";
import React$1, { ElementType } from "react";
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
import { EditorView } from "@tiptap/pm/view";
//#region src/ui/bubble-menu/create-mark-bubble-item.d.ts
interface PreWiredItemProps {
  className?: string;
  /** Override the default icon */
  children?: React$2.ReactNode;
}
//#endregion
//#region src/ui/bubble-menu/align-center.d.ts
declare function BubbleMenuAlignCenter({
  className,
  children
}: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/align-left.d.ts
declare function BubbleMenuAlignLeft({
  className,
  children
}: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/align-right.d.ts
declare function BubbleMenuAlignRight({
  className,
  children
}: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/button-default.d.ts
interface BubbleMenuButtonDefaultProps extends Omit<React$2.ComponentPropsWithoutRef<'div'>, 'children'> {
  placement?: 'top' | 'bottom';
  offset?: number;
  onHide?: () => void;
  validateUrl?: (value: string) => string | null;
  onLinkApply?: (href: string) => void;
  onLinkRemove?: () => void;
}
declare function BubbleMenuButtonDefault({
  placement,
  offset,
  onHide,
  className,
  validateUrl,
  onLinkApply,
  onLinkRemove,
  ...rest
}: BubbleMenuButtonDefaultProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/button-edit-link.d.ts
interface BubbleMenuButtonEditLinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
declare function BubbleMenuButtonEditLink({
  className,
  children,
  onClick,
  onMouseDown,
  ...rest
}: BubbleMenuButtonEditLinkProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/button-form.d.ts
interface BubbleMenuButtonFormProps {
  className?: string;
  validateUrl?: (value: string) => string | null;
  onLinkApply?: (href: string) => void;
  onLinkRemove?: () => void;
}
declare function BubbleMenuButtonForm({
  className,
  validateUrl,
  onLinkApply,
  onLinkRemove
}: BubbleMenuButtonFormProps): _$react_jsx_runtime0.JSX.Element | null;
//#endregion
//#region src/ui/bubble-menu/button-toolbar.d.ts
interface BubbleMenuButtonToolbarProps extends React$2.ComponentProps<'div'> {}
declare function BubbleMenuButtonToolbar({
  children,
  ...rest
}: BubbleMenuButtonToolbarProps): _$react_jsx_runtime0.JSX.Element | null;
//#endregion
//#region src/ui/bubble-menu/button-unlink.d.ts
interface BubbleMenuButtonUnlinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {
  onLinkRemove?: () => void;
}
declare function BubbleMenuButtonUnlink({
  className,
  children,
  onClick,
  onMouseDown,
  onLinkRemove,
  ...rest
}: BubbleMenuButtonUnlinkProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/group.d.ts
interface BubbleMenuItemGroupProps {
  className?: string;
  children: React$2.ReactNode;
}
declare function BubbleMenuItemGroup({
  className,
  children
}: BubbleMenuItemGroupProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/image-default.d.ts
type ExcludableItem$1 = 'edit-link' | 'unlink';
interface BubbleMenuImageDefaultProps extends Omit<React$2.ComponentPropsWithoutRef<'div'>, 'children'> {
  excludeItems?: ExcludableItem$1[];
  placement?: 'top' | 'bottom';
  offset?: number;
  onHide?: () => void;
  validateUrl?: (value: string) => string | null;
  onLinkApply?: (href: string) => void;
  onLinkRemove?: () => void;
}
declare function BubbleMenuImageDefault({
  excludeItems,
  placement,
  offset,
  onHide,
  className,
  validateUrl,
  onLinkApply,
  onLinkRemove,
  ...rest
}: BubbleMenuImageDefaultProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/image-edit-link.d.ts
interface BubbleMenuImageEditLinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
declare function BubbleMenuImageEditLink({
  className,
  children,
  onClick,
  onMouseDown,
  ...rest
}: BubbleMenuImageEditLinkProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/image-form.d.ts
interface BubbleMenuImageFormProps {
  className?: string;
  validateUrl?: (value: string) => string | null;
  onLinkApply?: (href: string) => void;
  onLinkRemove?: () => void;
}
declare function BubbleMenuImageForm({
  className,
  validateUrl,
  onLinkApply,
  onLinkRemove
}: BubbleMenuImageFormProps): _$react_jsx_runtime0.JSX.Element | null;
//#endregion
//#region src/ui/bubble-menu/image-toolbar.d.ts
interface BubbleMenuImageToolbarProps extends React$2.ComponentProps<'div'> {}
declare function BubbleMenuImageToolbar({
  children,
  ...rest
}: BubbleMenuImageToolbarProps): _$react_jsx_runtime0.JSX.Element | null;
//#endregion
//#region src/ui/bubble-menu/image-unlink.d.ts
interface BubbleMenuImageUnlinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {
  onLinkRemove?: () => void;
}
declare function BubbleMenuImageUnlink({
  className,
  children,
  onClick,
  onMouseDown,
  onLinkRemove,
  ...rest
}: BubbleMenuImageUnlinkProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/item.d.ts
interface BubbleMenuItemProps extends React$2.ComponentProps<'button'> {
  /** Used for aria-label and data-item attribute */
  name: string;
  /** Whether this item is currently active */
  isActive: boolean;
  /** Called when clicked */
  onCommand: () => void;
}
declare function BubbleMenuItem({
  name,
  isActive,
  onCommand,
  className,
  children,
  ...rest
}: BubbleMenuItemProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/link-default.d.ts
type ExcludableItem = 'edit-link' | 'open-link' | 'unlink';
interface BubbleMenuLinkDefaultProps extends Omit<React$2.ComponentPropsWithoutRef<'div'>, 'children'> {
  excludeItems?: ExcludableItem[];
  placement?: 'top' | 'bottom';
  offset?: number;
  onHide?: () => void;
  validateUrl?: (value: string) => string | null;
  onLinkApply?: (href: string) => void;
  onLinkRemove?: () => void;
}
declare function BubbleMenuLinkDefault({
  excludeItems,
  placement,
  offset,
  onHide,
  className,
  validateUrl,
  onLinkApply,
  onLinkRemove,
  ...rest
}: BubbleMenuLinkDefaultProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/link-edit-link.d.ts
interface BubbleMenuLinkEditLinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
declare function BubbleMenuLinkEditLink({
  className,
  children,
  onClick,
  onMouseDown,
  ...rest
}: BubbleMenuLinkEditLinkProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/link-form.d.ts
interface BubbleMenuLinkFormProps {
  className?: string;
  validateUrl?: (value: string) => string | null;
  onLinkApply?: (href: string) => void;
  onLinkRemove?: () => void;
  children?: React$2.ReactNode;
}
declare function BubbleMenuLinkForm({
  className,
  validateUrl,
  onLinkApply,
  onLinkRemove,
  children
}: BubbleMenuLinkFormProps): _$react_jsx_runtime0.JSX.Element | null;
//#endregion
//#region src/ui/bubble-menu/link-open-link.d.ts
interface BubbleMenuLinkOpenLinkProps extends Omit<React$2.ComponentProps<'a'>, 'href' | 'target' | 'rel'> {}
declare function BubbleMenuLinkOpenLink({
  className,
  children,
  ...rest
}: BubbleMenuLinkOpenLinkProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/link-selector.d.ts
interface BubbleMenuLinkSelectorProps {
  className?: string;
  /** Whether to show the link icon toggle button (default: true) */
  showToggle?: boolean;
  /** Custom URL validator. Return the valid URL string or null. */
  validateUrl?: (value: string) => string | null;
  /** Called after link is applied */
  onLinkApply?: (href: string) => void;
  /** Called after link is removed */
  onLinkRemove?: () => void;
  /** Plugin slot: extra actions rendered inside the link input form */
  children?: React$2.ReactNode;
  /** Controlled open state */
  open?: boolean;
  /** Called when open state changes */
  onOpenChange?: (open: boolean) => void;
}
declare function BubbleMenuLinkSelector({
  className,
  showToggle,
  validateUrl,
  onLinkApply,
  onLinkRemove,
  children,
  open: controlledOpen,
  onOpenChange
}: BubbleMenuLinkSelectorProps): _$react_jsx_runtime0.JSX.Element | null;
//#endregion
//#region src/ui/bubble-menu/link-toolbar.d.ts
interface BubbleMenuLinkToolbarProps extends React$2.ComponentProps<'div'> {}
declare function BubbleMenuLinkToolbar({
  children,
  ...rest
}: BubbleMenuLinkToolbarProps): _$react_jsx_runtime0.JSX.Element | null;
//#endregion
//#region src/ui/bubble-menu/link-unlink.d.ts
interface BubbleMenuLinkUnlinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
declare function BubbleMenuLinkUnlink({
  className,
  children,
  onClick,
  onMouseDown,
  ...rest
}: BubbleMenuLinkUnlinkProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/node-selector.d.ts
type NodeType = 'Text' | 'Title' | 'Subtitle' | 'Heading' | 'Bullet List' | 'Numbered List' | 'Quote' | 'Code';
interface NodeSelectorItem {
  name: NodeType;
  icon: React$2.ComponentType<React$2.SVGAttributes<SVGSVGElement>>;
  command: () => void;
  isActive: boolean;
}
interface NodeSelectorRootProps {
  /** Block types to exclude */
  omit?: string[];
  /** Controlled open state */
  open?: boolean;
  /** Called when open state changes */
  onOpenChange?: (open: boolean) => void;
  className?: string;
  children: React$2.ReactNode;
}
declare function NodeSelectorRoot({
  omit,
  open: controlledOpen,
  onOpenChange,
  className,
  children
}: NodeSelectorRootProps): _$react_jsx_runtime0.JSX.Element | null;
interface NodeSelectorTriggerProps {
  className?: string;
  children?: React$2.ReactNode;
}
declare function NodeSelectorTrigger({
  className,
  children
}: NodeSelectorTriggerProps): _$react_jsx_runtime0.JSX.Element;
interface NodeSelectorContentProps {
  className?: string;
  /** Popover alignment (default: "start") */
  align?: 'start' | 'center' | 'end';
  /** Render-prop for full control over item rendering.
   *  Receives the filtered items and a `close` function to dismiss the popover. */
  children?: (items: NodeSelectorItem[], close: () => void) => React$2.ReactNode;
}
declare function NodeSelectorContent({
  className,
  align,
  children
}: NodeSelectorContentProps): _$react_jsx_runtime0.JSX.Element;
interface BubbleMenuNodeSelectorProps {
  /** Block types to exclude */
  omit?: string[];
  className?: string;
  /** Override the trigger content (default: active item name + chevron icon) */
  triggerContent?: React$2.ReactNode;
  /** Controlled open state */
  open?: boolean;
  /** Called when open state changes */
  onOpenChange?: (open: boolean) => void;
}
declare function BubbleMenuNodeSelector({
  omit,
  className,
  triggerContent,
  open,
  onOpenChange
}: BubbleMenuNodeSelectorProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/triggers.d.ts
interface TriggerParams {
  editor: Editor;
  view: EditorView;
  state: EditorState;
  from: number;
  to: number;
}
type TriggerFn = (params: TriggerParams) => boolean;
declare const bubbleMenuTriggers: {
  textSelection(hideWhenActiveNodes?: string[], hideWhenActiveMarks?: string[]): TriggerFn;
  node(name: string): TriggerFn;
  nodeWithoutSelection(name: string): TriggerFn;
};
//#endregion
//#region src/ui/bubble-menu/root.d.ts
interface BubbleMenuRootProps extends React$2.ComponentPropsWithoutRef<'div'> {
  trigger?: TriggerFn;
  pluginKey?: PluginKey;
  hideWhenActiveNodes?: string[];
  hideWhenActiveMarks?: string[];
  placement?: 'top' | 'bottom';
  offset?: number;
  onHide?: () => void;
}
declare function RootWithDefault({
  children,
  ...rest
}: BubbleMenuRootProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/separator.d.ts
interface BubbleMenuSeparatorProps {
  className?: string;
}
declare function BubbleMenuSeparator({
  className
}: BubbleMenuSeparatorProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/bubble-menu/bold.d.ts
declare const BubbleMenuBold: {
  ({
    className,
    children
  }: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
  displayName: string;
};
//#endregion
//#region src/ui/bubble-menu/code.d.ts
declare const BubbleMenuCode: {
  ({
    className,
    children
  }: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
  displayName: string;
};
//#endregion
//#region src/ui/bubble-menu/context.d.ts
interface BubbleMenuContextValue {
  editor: Editor;
  isEditing: boolean;
  setIsEditing: (value: boolean) => void;
}
declare function useBubbleMenuContext(): BubbleMenuContextValue;
//#endregion
//#region src/ui/bubble-menu/italic.d.ts
declare const BubbleMenuItalic: {
  ({
    className,
    children
  }: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
  displayName: string;
};
//#endregion
//#region src/ui/bubble-menu/strike.d.ts
declare const BubbleMenuStrike: {
  ({
    className,
    children
  }: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
  displayName: string;
};
//#endregion
//#region src/ui/bubble-menu/underline.d.ts
declare const BubbleMenuUnderline: {
  ({
    className,
    children
  }: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
  displayName: string;
};
//#endregion
//#region src/ui/bubble-menu/uppercase.d.ts
declare const BubbleMenuUppercase: {
  ({
    className,
    children
  }: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
  displayName: string;
};
//#endregion
//#region src/ui/bubble-menu/index.d.ts
declare const BubbleMenu: typeof RootWithDefault & {
  readonly Root: typeof RootWithDefault;
  readonly ItemGroup: typeof BubbleMenuItemGroup;
  readonly Separator: typeof BubbleMenuSeparator;
  readonly Item: typeof BubbleMenuItem;
  readonly Bold: {
    ({
      className,
      children
    }: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
    displayName: string;
  };
  readonly Italic: {
    ({
      className,
      children
    }: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
    displayName: string;
  };
  readonly Underline: {
    ({
      className,
      children
    }: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
    displayName: string;
  };
  readonly Strike: {
    ({
      className,
      children
    }: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
    displayName: string;
  };
  readonly Code: {
    ({
      className,
      children
    }: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
    displayName: string;
  };
  readonly Uppercase: {
    ({
      className,
      children
    }: PreWiredItemProps): _$react_jsx_runtime0.JSX.Element;
    displayName: string;
  };
  readonly AlignLeft: typeof BubbleMenuAlignLeft;
  readonly AlignCenter: typeof BubbleMenuAlignCenter;
  readonly AlignRight: typeof BubbleMenuAlignRight;
  readonly NodeSelector: typeof BubbleMenuNodeSelector & {
    Root: typeof NodeSelectorRoot;
    Trigger: typeof NodeSelectorTrigger;
    Content: typeof NodeSelectorContent;
  };
  readonly LinkSelector: typeof BubbleMenuLinkSelector;
  readonly ButtonToolbar: typeof BubbleMenuButtonToolbar;
  readonly ButtonEditLink: typeof BubbleMenuButtonEditLink;
  readonly ButtonUnlink: typeof BubbleMenuButtonUnlink;
  readonly ButtonForm: typeof BubbleMenuButtonForm;
  readonly ButtonDefault: typeof BubbleMenuButtonDefault;
  readonly LinkToolbar: typeof BubbleMenuLinkToolbar;
  readonly LinkEditLink: typeof BubbleMenuLinkEditLink;
  readonly LinkUnlink: typeof BubbleMenuLinkUnlink;
  readonly LinkOpenLink: typeof BubbleMenuLinkOpenLink;
  readonly LinkForm: typeof BubbleMenuLinkForm;
  readonly LinkDefault: typeof BubbleMenuLinkDefault;
  readonly ImageToolbar: typeof BubbleMenuImageToolbar;
  readonly ImageEditLink: typeof BubbleMenuImageEditLink;
  readonly ImageUnlink: typeof BubbleMenuImageUnlink;
  readonly ImageForm: typeof BubbleMenuImageForm;
  readonly ImageDefault: typeof BubbleMenuImageDefault;
};
//#endregion
//#region src/ui/editor-focus-scope.d.ts
declare const FocusScopeContext: React$2.Context<FocusScopesStorage | null>;
declare function useEditorFocusScope(): FocusScopesStorage;
interface EditorFocusScopeProviderProps {
  children: React$2.ReactNode;
  clearSelectionOnBlur?: boolean;
}
/**
 * @deprecated Focus scope tracking now lives in the FocusScopes extension,
 * included by default through StarterKit. This component is kept as a
 * compatibility wrapper for editors that do not use StarterKit.
 */
declare function EditorFocusScopeProvider({
  children,
  clearSelectionOnBlur
}: EditorFocusScopeProviderProps): _$react_jsx_runtime0.JSX.Element;
interface EditorFocusScopeProps {
  children: React$2.ReactNode;
}
declare function EditorFocusScope({
  children
}: EditorFocusScopeProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/types.d.ts
interface IconProps extends React$2.SVGAttributes<SVGSVGElement> {
  size?: number | string;
}
//#endregion
//#region src/ui/icons/align-center.d.ts
declare function AlignCenterIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/align-center-vertical.d.ts
declare function AlignCenterVerticalIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/align-end-vertical.d.ts
declare function AlignEndVerticalIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/align-left.d.ts
declare function AlignLeftIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/align-right.d.ts
declare function AlignRightIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/align-start-vertical.d.ts
declare function AlignStartVerticalIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/bold.d.ts
declare function BoldIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/box.d.ts
declare function BoxIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/case-upper.d.ts
declare function CaseUpperIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/check.d.ts
declare function CheckIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/chevron-down.d.ts
declare function ChevronDownIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/code.d.ts
declare function CodeIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/columns-2.d.ts
declare function Columns2Icon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/columns-3.d.ts
declare function Columns3Icon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/columns-4.d.ts
declare function Columns4Icon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/corner-bottom-left.d.ts
declare function CornerBottomLeftIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/corner-bottom-right.d.ts
declare function CornerBottomRightIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/corner-top-left.d.ts
declare function CornerTopLeftIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/corner-top-right.d.ts
declare function CornerTopRightIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/external-link.d.ts
declare function ExternalLinkIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/heading-1.d.ts
declare function Heading1Icon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/heading-2.d.ts
declare function Heading2Icon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/heading-3.d.ts
declare function Heading3Icon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/image.d.ts
declare function ImageIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/italic.d.ts
declare function ItalicIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/layout.d.ts
declare function LayoutIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/link.d.ts
declare function LinkIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/list.d.ts
declare function ListIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/list-ordered.d.ts
declare function ListOrderedIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/minus.d.ts
declare function MinusIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/mouse-pointer.d.ts
declare function MousePointerIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/mouse-pointer-click.d.ts
declare function MousePointerClickIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/panel-bottom.d.ts
declare function PanelBottomIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/panel-left.d.ts
declare function PanelLeftIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/panel-right.d.ts
declare function PanelRightIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/panel-top.d.ts
declare function PanelTopIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/pencil.d.ts
declare function PencilIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/plus.d.ts
declare function PlusIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/rows-2.d.ts
declare function Rows2Icon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/split-square-vertical.d.ts
declare function SplitSquareVerticalIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/square.d.ts
declare function SquareIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/square-code.d.ts
declare function SquareCodeIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/square-dashed.d.ts
declare function SquareDashedIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/square-round-corner.d.ts
declare function SquareRoundCornerIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/strikethrough.d.ts
declare function StrikethroughIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/table.d.ts
declare function TableIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/text.d.ts
declare function TextIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/text-quote.d.ts
declare function TextQuoteIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/type.d.ts
declare function TypeIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/underline.d.ts
declare function UnderlineIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/unlink.d.ts
declare function UnlinkIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/icons/x.d.ts
declare function XIcon({
  size,
  width,
  height,
  ...props
}: IconProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/inspector/root.d.ts
interface FocusedNode {
  nodeType: string;
  nodeAttrs: Attrs;
  nodePos: {
    pos: number;
    inside: number;
  };
}
interface RootProps extends React$2.ComponentPropsWithRef<'aside'> {
  asChild?: boolean;
}
//#endregion
//#region src/ui/inspector/breadcrumb.d.ts
interface InspectorBreadcrumbSegment {
  node: FocusedNode;
  focus: () => void;
}
interface InspectorBreadcrumbProps {
  children?: (segments: InspectorBreadcrumbSegment[]) => React$1.ReactNode;
}
declare function InspectorBreadcrumb({
  children
}: InspectorBreadcrumbProps): string | number | bigint | boolean | _$react_jsx_runtime0.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
//#endregion
//#region src/ui/inspector/document.d.ts
type SetGlobalStyle = (classReference: KnownThemeComponents, property: KnownCssProperties, value: unknown) => void;
type BatchSetGlobalStyle = (changes: Array<{
  classReference: KnownThemeComponents;
  property: KnownCssProperties;
  value: unknown;
}>) => void;
type FindStyleValue = (classReference: KnownThemeComponents, prop: KnownCssProperties) => string | number;
interface InspectorDocumentContext {
  styles: PanelGroup[];
  setGlobalStyle: SetGlobalStyle;
  batchSetGlobalStyle: BatchSetGlobalStyle;
  findStyleValue: FindStyleValue;
}
interface InspectorDocumentProps {
  children?: (context: InspectorDocumentContext) => React.ReactNode;
}
declare function InspectorDocument({
  children
}: InspectorDocumentProps): _$react_jsx_runtime0.JSX.Element | null;
//#endregion
//#region src/ui/inspector/node.d.ts
interface InspectorNodeContext {
  nodeType: string;
  nodePos: {
    pos: number;
    inside: number;
  };
  getStyle: (prop: KnownCssProperties) => string | number | undefined;
  setStyle: (prop: KnownCssProperties, value: string | number) => void;
  batchSetStyle: (changes: Array<{
    prop: KnownCssProperties;
    value: string | number;
  }>) => void;
  getAttr: (name: string) => unknown;
  setAttr: (name: string, value: unknown) => void;
  themeDefaults: Record<string, string | number | undefined>;
  presetColors: string[];
}
interface InspectorNodeProps {
  children?: (context: InspectorNodeContext) => React$2.ReactNode;
}
declare function InspectorNode({
  children
}: InspectorNodeProps): _$react_jsx_runtime0.JSX.Element | null;
//#endregion
//#region src/ui/inspector/sections/attributes.d.ts
type InspectorAttributesProps = InspectorNodeContext;
declare function AttributesSection({
  nodeType,
  getAttr,
  setAttr
}: InspectorAttributesProps): _$react_jsx_runtime0.JSX.Element | null;
//#endregion
//#region src/ui/inspector/sections/background.d.ts
type InspectorBackgroundProps = InspectorNodeContext;
declare function BackgroundSection({
  getStyle,
  setStyle
}: InspectorBackgroundProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/inspector/sections/border.d.ts
type InspectorBorderProps = InspectorNodeContext;
declare function BorderSection({
  getStyle,
  setStyle,
  batchSetStyle
}: InspectorBorderProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/inspector/sections/column-spacing.d.ts
type InspectorColumnSpacingProps = InspectorNodeContext;
declare function ColumnSpacingSection({
  nodeType,
  getAttr,
  setAttr
}: InspectorColumnSpacingProps): _$react_jsx_runtime0.JSX.Element | null;
//#endregion
//#region src/ui/inspector/text.d.ts
interface InspectorTextContext {
  marks: Record<string, boolean>;
  toggleMark: (mark: string) => void;
  alignment: string;
  setAlignment: (value: string) => void;
  linkHref: string;
  linkColor: string;
  setLinkColor: (color: string) => void;
  isLinkActive: boolean;
  getStyle: (prop: KnownCssProperties) => string | number | undefined;
  setStyle: (prop: KnownCssProperties, value: string | number) => void;
  presetColors: string[];
}
interface InspectorTextProps {
  children?: (context: InspectorTextContext) => React$2.ReactNode;
}
declare function InspectorText({
  children
}: InspectorTextProps): _$react_jsx_runtime0.JSX.Element | null;
//#endregion
//#region src/ui/inspector/sections/link.d.ts
type InspectorLinkProps = Pick<InspectorTextContext, 'linkHref' | 'linkColor' | 'setLinkColor' | 'isLinkActive' | 'presetColors'>;
declare function LinkSection({
  linkHref,
  linkColor,
  setLinkColor,
  isLinkActive
}: InspectorLinkProps): _$react_jsx_runtime0.JSX.Element | null;
//#endregion
//#region src/ui/inspector/sections/padding.d.ts
type InspectorPaddingProps = InspectorNodeContext;
declare function PaddingSection({
  getStyle,
  batchSetStyle
}: InspectorPaddingProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/inspector/sections/size.d.ts
type InspectorSizeProps = InspectorNodeContext;
declare function SizeSection({
  nodeType,
  getStyle,
  setStyle,
  getAttr,
  setAttr
}: InspectorSizeProps): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/inspector/sections/typography.d.ts
type TypographyContext = Pick<InspectorNodeContext | InspectorTextContext, 'getStyle' | 'setStyle' | 'presetColors'> & Partial<Pick<InspectorTextContext, 'marks' | 'toggleMark' | 'alignment' | 'setAlignment'>>;
declare function TypographySection({
  getStyle,
  setStyle,
  marks,
  toggleMark,
  alignment,
  setAlignment
}: TypographyContext): _$react_jsx_runtime0.JSX.Element;
//#endregion
//#region src/ui/inspector/config/node-meta.d.ts
interface NodeMeta {
  icon: ElementType;
  label: string;
}
declare function getNodeMeta(nodeType: string): NodeMeta;
//#endregion
//#region src/ui/inspector/index.d.ts
declare const Inspector: {
  Root: React$2.ForwardRefExoticComponent<Omit<RootProps, "ref"> & React$2.RefAttributes<HTMLElement>>;
  Breadcrumb: typeof InspectorBreadcrumb;
  Document: typeof InspectorDocument;
  Node: typeof InspectorNode;
  Text: typeof InspectorText;
  Attributes: typeof AttributesSection;
  Background: typeof BackgroundSection;
  Border: typeof BorderSection;
  ColumnSpacing: typeof ColumnSpacingSection;
  Link: typeof LinkSection;
  Padding: typeof PaddingSection;
  Size: typeof SizeSection;
  Typography: typeof TypographySection;
};
//#endregion
//#region src/ui/slash-command/commands.d.ts
declare const TEXT: SlashCommandItem;
declare const H1: SlashCommandItem;
declare const H2: SlashCommandItem;
declare const H3: SlashCommandItem;
declare const BULLET_LIST: SlashCommandItem;
declare const NUMBERED_LIST: SlashCommandItem;
declare const QUOTE: SlashCommandItem;
declare const CODE: SlashCommandItem;
declare const BUTTON: SlashCommandItem;
declare const DIVIDER: SlashCommandItem;
declare const SECTION: SlashCommandItem;
declare const TWO_COLUMNS: SlashCommandItem;
declare const THREE_COLUMNS: SlashCommandItem;
declare const FOUR_COLUMNS: SlashCommandItem;
declare const defaultSlashCommands: SlashCommandItem[];
//#endregion
//#region src/ui/slash-command/root.d.ts
declare function SlashCommandRoot({
  items: itemsProp,
  filterItems: filterItemsProp,
  char,
  allow: allowProp,
  children
}: SlashCommandRootProps): React$2.ReactPortal | null;
//#endregion
//#region src/ui/slash-command/search.d.ts
declare function scoreItem(item: SearchableItem, query: string): number;
declare function filterAndRankItems<T extends SearchableItem>(items: T[], query: string): T[];
//#endregion
//#region src/ui/slash-command/utils.d.ts
declare function isInsideNode(editor: Editor, type: string): boolean;
declare function isAtMaxColumnsDepth(editor: Editor): boolean;
//#endregion
export { AlignCenterIcon, AlignCenterVerticalIcon, AlignEndVerticalIcon, AlignLeftIcon, AlignRightIcon, AlignStartVerticalIcon, BULLET_LIST, BUTTON, BoldIcon, BoxIcon, BubbleMenu, BubbleMenuAlignCenter, BubbleMenuAlignLeft, BubbleMenuAlignRight, BubbleMenuBold, BubbleMenuButtonDefault, type BubbleMenuButtonDefaultProps, BubbleMenuButtonEditLink, type BubbleMenuButtonEditLinkProps, BubbleMenuButtonForm, type BubbleMenuButtonFormProps, BubbleMenuButtonToolbar, type BubbleMenuButtonToolbarProps, BubbleMenuButtonUnlink, type BubbleMenuButtonUnlinkProps, BubbleMenuCode, type BubbleMenuContextValue, BubbleMenuImageDefault, type BubbleMenuImageDefaultProps, BubbleMenuImageEditLink, type BubbleMenuImageEditLinkProps, BubbleMenuImageForm, type BubbleMenuImageFormProps, BubbleMenuImageToolbar, type BubbleMenuImageToolbarProps, BubbleMenuImageUnlink, type BubbleMenuImageUnlinkProps, BubbleMenuItalic, BubbleMenuItem, BubbleMenuItemGroup, type BubbleMenuItemGroupProps, type BubbleMenuItemProps, BubbleMenuLinkDefault, type BubbleMenuLinkDefaultProps, BubbleMenuLinkEditLink, type BubbleMenuLinkEditLinkProps, BubbleMenuLinkForm, type BubbleMenuLinkFormProps, BubbleMenuLinkOpenLink, type BubbleMenuLinkOpenLinkProps, BubbleMenuLinkSelector, type BubbleMenuLinkSelectorProps, BubbleMenuLinkToolbar, type BubbleMenuLinkToolbarProps, BubbleMenuLinkUnlink, type BubbleMenuLinkUnlinkProps, BubbleMenuNodeSelector, type BubbleMenuNodeSelectorProps, RootWithDefault as BubbleMenuRoot, type BubbleMenuRootProps, BubbleMenuSeparator, type BubbleMenuSeparatorProps, BubbleMenuStrike, BubbleMenuUnderline, BubbleMenuUppercase, CODE, CaseUpperIcon, CheckIcon, ChevronDownIcon, CodeIcon, Columns2Icon, Columns3Icon, Columns4Icon, CornerBottomLeftIcon, CornerBottomRightIcon, CornerTopLeftIcon, CornerTopRightIcon, DIVIDER, EditorFocusScope, EditorFocusScopeProps, EditorFocusScopeProvider, EditorFocusScopeProviderProps, ExternalLinkIcon, FOUR_COLUMNS, FocusScopeContext, H1, H2, H3, Heading1Icon, Heading2Icon, Heading3Icon, type IconProps, ImageIcon, Inspector, type InspectorDocumentProps, type InspectorNodeContext, type InspectorNodeProps, type InspectorTextContext, type InspectorTextProps, ItalicIcon, LayoutIcon, LinkIcon, ListIcon, ListOrderedIcon, MinusIcon, MousePointerClickIcon, MousePointerIcon, NUMBERED_LIST, type NodeMeta, NodeSelectorContent, type NodeSelectorContentProps, type NodeSelectorItem, NodeSelectorRoot, type NodeSelectorRootProps, NodeSelectorTrigger, type NodeSelectorTriggerProps, type NodeType, PanelBottomIcon, PanelLeftIcon, PanelRightIcon, PanelTopIcon, PencilIcon, PlusIcon, type PreWiredItemProps, QUOTE, Rows2Icon, SECTION, type SearchableItem, SlashCommandRoot as SlashCommand, type SlashCommandItem, type SlashCommandProps, type SlashCommandRenderProps, type SlashCommandRootProps, SplitSquareVerticalIcon, SquareCodeIcon, SquareDashedIcon, SquareIcon, SquareRoundCornerIcon, StrikethroughIcon, TEXT, THREE_COLUMNS, TWO_COLUMNS, TableIcon, TextIcon, TextQuoteIcon, type TriggerFn, type TriggerParams, TypeIcon, UnderlineIcon, UnlinkIcon, XIcon, bubbleMenuTriggers, defaultSlashCommands, filterAndRankItems, getNodeMeta, isAtMaxColumnsDepth, isInsideNode, scoreItem, useBubbleMenuContext, useEditorFocusScope };
//# sourceMappingURL=index.d.cts.map