import type { Range } from '@tiptap/core';
import type { MentionOptions } from '@tiptap/extension-mention';
import { PluginKey } from '@tiptap/pm/state';
export declare const ResourceMentionPluginKey: PluginKey<any>;
export interface CursorCoordinates {
    top: number;
    left: number;
}
interface ResourceSuggestionCallbacks {
    onStart?: (range: Range, coords: CursorCoordinates) => void;
    onExit?: () => void;
    onQueryChange?: (query: string, range: Range) => void;
}
export declare function createResourceSuggestion(callbacks: ResourceSuggestionCallbacks, suppressRef: {
    current: boolean;
}): MentionOptions['suggestion'];
export {};
//# sourceMappingURL=tiptap-resource-suggestion.d.ts.map