import { Node } from '@tiptap/core'; import { IpfsImageFetchPayload } from '../../types'; export interface IframeOptions { allowFullscreen: boolean; HTMLAttributes: { [key: string]: any; }; width?: number; height?: number; ipfsImageFetchFn: (_data: IpfsImageFetchPayload) => Promise<{ url: string; file: File; }>; fetchV1ImageFn: (hash: string) => Promise; } declare module '@tiptap/core' { interface Commands { iframe: { /** * Add an iframe */ setIframe: (options: { src: string; alt?: string; title?: string; width?: number; height?: number; }) => ReturnType; }; } } export declare const Iframe: Node;