import type { AutocompleteAction, KEEP_OPEN } from 'prosemirror-autocomplete'; import type { EditorView } from 'prosemirror-view'; import type { SuggestionActionTypes, Range } from './types'; import { SuggestionKind } from './types'; import type { AppThunk } from '../types'; export { executeCommand } from './results/command'; export declare function updateSuggestion(open: boolean, kind: SuggestionKind, search: string | null, view: EditorView, range: Range, trigger: string): SuggestionActionTypes; export declare function closeSuggestion(): { type: string; payload: { open: boolean; }; }; export declare function updateResults(results: any[]): SuggestionActionTypes; export declare function selectSuggestion(selection: number): SuggestionActionTypes; export declare function chooseSelection(selected: number): AppThunk; export declare function filterResults(view: EditorView, search: string): AppThunk; export declare function handleSuggestion(action: AutocompleteAction): AppThunk;