import { Editor } from '@tiptap/core';
import { EditorBubbleMenuProps } from './types';

export declare const bubbleMenuProps: (props: EditorBubbleMenuProps) => {
    tippyOptions: {
        moveTransition: string;
        duration: number;
        animation: string;
        zIndex: number;
        appendTo: () => HTMLElement | null;
        popperOptions: {
            strategy: string;
            modifiers: ({
                name: string;
                options: {
                    fallbackPlacements: string[];
                    altAxis?: undefined;
                    tether?: undefined;
                };
            } | {
                name: string;
                options: {
                    altAxis: boolean;
                    tether: boolean;
                    fallbackPlacements?: undefined;
                };
            })[];
        };
    };
    className?: string | undefined;
    editor: import('@tiptap/extension-bubble-menu').BubbleMenuPluginProps["editor"] | null;
    pluginKey?: string | import('prosemirror-state').PluginKey<any> | undefined;
    updateDelay?: number | undefined;
    shouldShow?: ((props: {
        editor: Editor;
        element: HTMLElement;
        view: import('prosemirror-view').EditorView;
        state: import('prosemirror-state').EditorState;
        oldState?: import('prosemirror-state').EditorState;
        from: number;
        to: number;
    }) => boolean) | null | undefined;
    activeCommentId: string | null;
    isPreviewMode: boolean;
    disableInlineComment: boolean;
    onError?: (errorString: string) => void;
    zoomLevel: string;
    setIsCommentSectionOpen?: (isOpen: boolean) => void;
    inlineCommentData?: import('../../types').InlineCommentData;
    setInlineCommentData?: React.Dispatch<React.SetStateAction<import('../../types').InlineCommentData>>;
    walletAddress?: string;
    username?: string;
    onInlineComment?: () => void;
    commentDrawerOpen?: boolean;
    setCommentDrawerOpen?: React.Dispatch<import('react').SetStateAction<boolean>>;
    isCollabDocumentPublished?: boolean | undefined;
    ipfsImageUploadFn?: (file: File) => Promise<import('../../types').IpfsImageUploadResponse>;
    ipfsImageFetchFn?: (_data: import('../../types').IpfsImageFetchPayload) => Promise<{
        url: string;
        file: File;
    }>;
    fetchV1ImageFn?: (url: string) => Promise<ArrayBuffer | undefined>;
    onReminderCreate?: (reminder: import('../../..').Reminder, type: string) => void;
    isConnected?: boolean;
    isCollabDocOwner?: boolean;
    enableCollaboration?: boolean;
};
export declare const shouldShow: ({ editor }: {
    editor: Editor;
}) => boolean;
