import type { EditorState, Command } from 'prosemirror-state'; export interface ImageAttrs { alt?: string; title?: string; width?: string; } declare class Image { insert(src: string, attrs: ImageAttrs): Command; isActive(state: EditorState): boolean; } export default Image;