/// import type { Editor } from "../../type"; import { SuggestionProps } from '@tiptap/suggestion'; export declare const slashSuggestion: () => { items: ({ query }: { query: string; }) => ({ title: string; shortcutKey: string[]; icon: import("react").JSX.Element; command: ({ editor, range, attrs }: { editor: Editor; range: { from: number; to: number; }; attrs: any; }) => void; } | { title: string; icon: import("react").JSX.Element; command: ({ editor, range, attrs }: { editor: Editor; range: { from: number; to: number; }; attrs: any; }) => void; shortcutKey?: undefined; })[]; decorationTag: string; decorationClass: string; decorationContent: string; command: ({ editor, range, props }: { editor: Editor; range: { from: number; to: number; }; props: any; }) => void; render: () => { onStart: (props: SuggestionProps) => void; onUpdate(props: SuggestionProps): false | undefined; onKeyDown(props: { event: KeyboardEvent; }): boolean; onExit(): false | undefined; }; }; export default slashSuggestion;