import { default as React } from 'react';
import { Editor } from '@tiptap/react';
import { IpfsImageFetchPayload, IpfsImageUploadResponse } from '../types';
import { Tab } from './tabs/utils/tab-utils';

import * as Y from 'yjs';
declare const MemoizedTiptapToolBar: React.MemoExoticComponent<({ editor, onError, isPresentationMode, setIsPresentationMode, enableCollaboration, zoomLevel, setZoomLevel, isNavbarVisible, setIsNavbarVisible, ipfsImageUploadFn, onMarkdownExport, onMarkdownImport, onPdfExport, onHtmlExport, onTxtExport, onOdtExport, onDocxImport, isLoading, ipfsImageFetchFn, fetchV1ImageFn, isConnected, tabs, ydoc, onRegisterExportTrigger, toggleFocusMode, }: {
    editor: Editor | null;
    onError?: (errorString: string) => void;
    isPresentationMode?: boolean;
    setIsPresentationMode: () => void;
    enableCollaboration?: boolean;
    zoomLevel: string;
    setZoomLevel: (zoom: string) => void;
    isNavbarVisible: boolean;
    setIsNavbarVisible: React.Dispatch<React.SetStateAction<boolean>>;
    ipfsImageUploadFn?: (file: File) => Promise<IpfsImageUploadResponse>;
    onMarkdownExport?: () => void;
    onMarkdownImport?: () => void;
    onPdfExport?: () => void;
    onHtmlExport?: () => void;
    onTxtExport?: () => void;
    onOdtExport?: () => void;
    onDocxImport?: () => void;
    isLoading: boolean;
    fetchV1ImageFn?: (url: string) => Promise<ArrayBuffer | undefined>;
    ipfsImageFetchFn?: (_data: IpfsImageFetchPayload) => Promise<{
        url: string;
        file: File;
    }>;
    isConnected?: boolean;
    tabs: Tab[];
    ydoc: Y.Doc;
    toggleFocusMode?: () => void;
    onRegisterExportTrigger?: ((trigger: ((format?: string, name?: string) => void) | null) => void) | undefined;
}) => import("react/jsx-runtime").JSX.Element>;
export default MemoizedTiptapToolBar;
