import type { NodeViewProps } from "@tiptap/core"; import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; import type ResizableImage from "./ResizableImage"; interface ImageNodeAttributes extends Record { src: string; alt?: string | null; title?: string | null; } interface ResizableImageNodeAttributes extends ImageNodeAttributes { width: string | number | null; aspectRatio: string | null; } interface ResizableImageNode extends ProseMirrorNode { attrs: ResizableImageNodeAttributes; } interface Props extends NodeViewProps { node: ResizableImageNode; extension: typeof ResizableImage; } declare function ResizableImageComponent(props: Props): import("react/jsx-runtime").JSX.Element; export default ResizableImageComponent;