import type { EditorView } from 'prosemirror-view'; import type { AppThunk } from '../../types'; import type { CommandResult } from '../commands'; import { CommandNames } from '../commands'; export declare const startingSuggestions: (view: EditorView) => CommandResult[]; export declare function executeCommand(command: CommandNames, viewOrId: EditorView | string | null, removeText?: () => boolean, replace?: boolean): AppThunk>; export declare function chooseSelection(result: CommandResult): AppThunk>; export declare function filterResults(view: EditorView, search: string, callback: (results: CommandResult[]) => void): void;