import { EditorView } from '@codemirror/view'; import { IpfsImageUploadResponse } from '../../types'; interface SplitViewToolbarProps { /** The CodeMirror view of the markdown pane (null until it mounts). */ view: EditorView | null; /** Same uploader the editor uses — for the Image button. */ ipfsImageUploadFn?: (file: File) => Promise; onError?: (error: string) => void; } export default function SplitViewToolbar({ view, ipfsImageUploadFn, onError, }: SplitViewToolbarProps): import("react/jsx-runtime").JSX.Element; export {};