import { Node } from '@tiptap/core';

declare global {
    interface Window {
        iframely?: {
            load: (container: HTMLElement, src: string) => void;
        };
    }
}
declare module "@tiptap/core" {
    interface Commands<ReturnType> {
        iframely: {
            setIframelyEmbed: (options: {
                src: string;
            }) => ReturnType;
        };
    }
}
declare const Iframely: Node<any, any>;

export { Iframely };
