import { Node } from '@tiptap/vue-3'; import type { SuggestionOptions } from '../slash-command/types.ts'; import { BookmarkAttribute } from './bookmark'; declare module '@tiptap/core' { interface Commands { bookmarkInput: { setBookmarkInput: () => ReturnType; }; } } export interface BookmarkInputOptions extends SuggestionOptions { getLinkPreview?: (url: string) => Promise | BookmarkAttribute; } export declare const BookmarkInput: Node;