import { Editor } from '@tiptap/react'; export interface MediaResizeProps { editor: Editor; updateAttributes: (attrs: Record) => void; [x: string]: any; } type ResizableElt = HTMLImageElement | HTMLVideoElement | HTMLIFrameElement; export declare const useResizeMedia: (props: MediaResizeProps, refResizable: React.RefObject, forcedAspectRatio?: number) => { startVerticalResize: (event: React.MouseEvent) => void; stopVerticalResize: () => void; isVerticalResizeActive: import('react').MutableRefObject; }; export {};