import type { Editor } from '@tiptap/react'; import type { ISelectionInfo } from '../types/index'; export declare class SelectionUtils { private constructor(); /** * 現在の選択範囲からMarkdown構文情報を抽出 */ static getSelectionMarkdownSyntax(editor: Editor | null): ISelectionInfo | null; /** * ノード情報からMarkdown構文を生成 */ private static getNodeMarkdownInfo; /** * カーソル位置の親ノードの情報を取得 */ static getCurrentNodeInfo(editor: Editor | null): { nodeType: string; level?: number; } | null; } export type { ISelectionInfo }; //# sourceMappingURL=selectionUtils.d.ts.map