import { BSModal } from '../../../modal/modalPlugin.ts'; import { Editor } from '@tiptap/vue-3'; import { Node } from '@tiptap/core'; import { MenuItem } from '../../../contextmenu/contextMenuPlugin.ts'; export interface VideoOptions { inline: boolean; HTMLAttributes: Record; } declare module '@tiptap/core' { interface Commands { video: { /** * Add a video * @param options The video attributes * @example * editor * .commands * .setVideo({ src: 'https://tiptap.dev/logo.mpg'}) */ setVideo: (options: { src: string; }) => ReturnType; }; } } export declare const RichTextVideo: Node; export declare const videoContextMenu: (modal: BSModal, editor: Editor) => MenuItem[]; export declare const insertVideo: (modal: BSModal, editor: Editor) => void;