import { EditorFnProps } from "../../../type"; import { NodeViewProps } from "@tiptap/react"; import React from "react"; export interface ImageAttributes { src: string; title?: string; width: number; } export declare const imageDimensionsCache: Map; export declare const getImageDimensions: (src: string) => Promise<{ width: number; height: number; }>; export declare const getImageDimensionsFromFile: (file: File) => Promise<{ width: number; height: number; }>; declare const ImageViewWrapper: React.FC; export default ImageViewWrapper;