import { default as React } from 'react';
import { Editor } from '@tiptap/react';
import { IpfsImageFetchPayload, IpfsImageUploadResponse } from '../types';

declare const TiptapToolBar: ({ editor, onError, zoomLevel, setZoomLevel, isNavbarVisible, setIsNavbarVisible, ipfsImageUploadFn, onMarkdownExport, onMarkdownImport, onPdfExport, onHtmlExport, onTxtExport, onDocxImport, isLoading, ipfsImageFetchFn, fetchV1ImageFn, }: {
    editor: Editor | null;
    onError?: (errorString: string) => void;
    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;
    onDocxImport?: () => void;
    isLoading: boolean;
    fetchV1ImageFn?: (url: string) => Promise<ArrayBuffer | undefined>;
    ipfsImageFetchFn?: (_data: IpfsImageFetchPayload) => Promise<{
        url: string;
        file: File;
    }>;
}) => import("react/jsx-runtime").JSX.Element;
export default TiptapToolBar;
