import type { Schema } from 'prosemirror-model'; import { KEEP_OPEN } from 'prosemirror-autocomplete'; import type { AppThunk, State, Dispatch } from '../../types'; import type { VariableResult } from '../types'; import { SuggestionKind } from '../types'; declare type VarSuggestionKinds = SuggestionKind.variable | SuggestionKind.display; export declare const startingSuggestions: (kind: VarSuggestionKinds, getState: () => State) => Partial[]; export declare function chooseSelection(kind: VarSuggestionKinds, result: VariableResult): AppThunk; export declare function filterResults(kind: VarSuggestionKinds, schema: Schema, search: string, dispatch: Dispatch, getState: () => State, callback: (results: VariableResult[]) => void): void; export {};