import { Node } from "@tiptap/core";
import type { EditorLocale } from "@/shared/locales";
type VideoAlign = "left" | "center" | "right";
interface VideoOptions {
    locale: EditorLocale;
}
/** 视频节点属性。 */
export interface VideoAttributes {
    src: string;
    title?: string | null;
    width?: number | null;
    align?: VideoAlign | null;
}
declare module "@tiptap/core" {
    interface Commands<ReturnType> {
        video: {
            setVideo: (attrs: VideoAttributes) => ReturnType;
        };
    }
}
/** 最小视频节点扩展：插入并渲染原生 video 标签。 */
export declare const Video: Node<VideoOptions, any>;
export {};
