import { Node } from '@tiptap/core'; import { GeneralOptions } from '../../type'; export interface MenuItem { label: string; prompt?: string; children?: MenuItem[]; } export interface AIOptions extends GeneralOptions { completions: (history: Array<{ role: string; content: string; }>, signal?: AbortSignal) => Promise; /** * AI Shortcuts Menu */ shortcuts: MenuItem[]; } export declare const AI: Node;