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;
    /** Exit Split View (back to the normal editor). */
    onExit?: () => void;
    /** Same uploader the editor uses — for the Image button. */
    ipfsImageUploadFn?: (file: File) => Promise<IpfsImageUploadResponse>;
    onError?: (error: string) => void;
}
export default function SplitViewToolbar({ view, onExit, ipfsImageUploadFn, onError, }: SplitViewToolbarProps): import("react/jsx-runtime").JSX.Element;
export {};
