import { CommonElementStyle } from '../RichTextLib.ts'; import { Selection } from '@tiptap/pm/state'; import { Node as ProseMirrorNode } from '@tiptap/pm/model'; export type VideoInfo = CommonElementStyle & { src: string; controls?: boolean; autoplay?: boolean; loop?: boolean; muted?: boolean; }; export declare const findVideoNode: (selection: Selection) => { node?: ProseMirrorNode; nodePos?: number; }; export declare const videoInfoNumberToPixel: (data: VideoInfo) => VideoInfo;