import { type Editor, type JSONContent } from '@tiptap/react'; import { type ISelectionInfo } from '../utils/selectionUtils'; interface UseMarkdownEditorProps { value?: string; initialContent?: string; editable: boolean; placeholder: string; publicImagePathPrefix?: string; onContentChange?: (content: JSONContent) => void; onChange?: (markdown: string) => void; onMarkdownChange?: (markdown: string) => void; onSelectionChange?: (selection: ISelectionInfo) => void; onEditorReady?: (editor: Editor) => void; onImageSourceSelect?: (file: File) => string | Promise; isUpdating: boolean; isProcessing: boolean; setIsProcessing: (isProcessing: boolean) => void; setProcessingProgress: (progress: { processed: number; total: number; }) => void; setSelectionInfo: (info: ISelectionInfo | null) => void; setContent: (content: JSONContent) => void; handleLinkContextMenu: (event: React.MouseEvent, linkData: { href: string; text: string; from: number; to: number; }) => void; handleTableContextMenu: (event: React.MouseEvent) => void; pendingImagesRef: React.MutableRefObject>; } export declare const useMarkdownEditor: ({ value, initialContent, editable, placeholder, publicImagePathPrefix, onContentChange, onChange, onMarkdownChange, onSelectionChange, onEditorReady, onImageSourceSelect, isUpdating, isProcessing, setIsProcessing, setProcessingProgress, setSelectionInfo, setContent, handleLinkContextMenu, handleTableContextMenu, pendingImagesRef, }: UseMarkdownEditorProps) => { editor: Editor; }; export {}; //# sourceMappingURL=useMarkdownEditor.d.ts.map