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

export declare const getSuggestionItems: ({ query, onError, isConnected, ipfsImageUploadFn, editor, enableCollaboration, }: {
    query: string;
    onError?: (errorString: string) => void;
    ipfsImageUploadFn?: (file: File) => Promise<IpfsImageUploadResponse>;
    isConnected?: boolean;
    editor?: any;
    enableCollaboration?: boolean;
}) => ({
    title: string;
    description: string;
    searchTerms: string[];
    icon: import("react/jsx-runtime").JSX.Element;
    image: string;
    command: ({ editor, range }: CommandProps) => void;
    isDisabled: boolean;
} | {
    title: string;
    description: string;
    searchTerms: string[];
    icon: import("react/jsx-runtime").JSX.Element;
    image: string;
    command: ({ editor, range }: CommandProps) => void;
    isDisabled?: undefined;
} | {
    title: string;
    description: string;
    searchTerms: string[];
    icon: import("react/jsx-runtime").JSX.Element;
    image: string;
    isDisabled: boolean | undefined;
    command: ({ editor, range }: CommandProps) => true | undefined;
})[];
export declare const updateScrollView: (container: HTMLElement, item: HTMLElement) => void;
