import { Node } from '@tiptap/core'; import './index.less'; export interface ImageOptions { oss: string; inline: boolean; allowBase64: boolean; HTMLAttributes: Record; onClick?: (src: string) => void; } declare module '@tiptap/core' { interface Commands { image: { /** * Add an image */ setImage: (options: { src: string; alt?: string; title?: string; }) => ReturnType; }; } } export declare const inputRegex: RegExp; export declare const Image: Node;