import { IpfsImageUploadResponse } from '../../types';

interface SplitViewMarkdownPaneProps {
    markdown: string;
    onMarkdownChange: (value: string) => void;
    /** Exit Split View (back to the normal editor). */
    onExitSplitView?: () => void;
    /** Same uploader the editor uses — for the markdown toolbar's Image button. */
    ipfsImageUploadFn?: (file: File) => Promise<IpfsImageUploadResponse>;
    onError?: (error: string) => void;
    /** Sizing for the resizable split (flex-grow set by the draggable splitter). */
    style?: React.CSSProperties;
}
/**
 * Split View LEFT pane: the dedicated markdown toolbar + the
 * CodeMirror markdown source editor (both lazy-loaded). The right pane is the
 * real ddoc editor itself — see ddoc-editor.tsx, which keeps that editor mounted
 * in place (never a second <EditorContent>) so its React node views survive.
 */
export declare const SplitViewMarkdownPane: ({ markdown, onMarkdownChange, onExitSplitView, ipfsImageUploadFn, onError, style, }: SplitViewMarkdownPaneProps) => import("react/jsx-runtime").JSX.Element;
export {};
