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

declare const MobileToolbar: ({ editor, onError, isKeyboardVisible, isNavbarVisible, setIsNavbarVisible, ipfsImageUploadFn, isLoading, ipfsImageFetchFn, fetchV1ImageFn, }: {
    editor: Editor | null;
    onError?: (errorString: string) => void;
    isKeyboardVisible: boolean;
    isNavbarVisible: boolean;
    setIsNavbarVisible: React.Dispatch<React.SetStateAction<boolean>>;
    ipfsImageUploadFn?: (file: File) => Promise<IpfsImageUploadResponse>;
    isLoading: boolean;
    ipfsImageFetchFn?: (_data: IpfsImageFetchPayload) => Promise<{
        url: string;
        file: File;
    }>;
    fetchV1ImageFn?: (url: string) => Promise<ArrayBuffer | undefined>;
}) => import("react/jsx-runtime").JSX.Element;
export default MobileToolbar;
