import type { Schema } from 'prosemirror-model'; import type { AppThunk } from '../../types'; import type { LinkResult } from '../types'; import type { SearchContext } from '../../../connect'; export declare const startingSuggestions: (search: string, create?: boolean) => Promise; export declare function setSearchContext(searchContext: SearchContext): void; export declare function chooseSelection(result: LinkResult): AppThunk; export declare function filterResults(schema: Schema, search: string, callback: (results: LinkResult[]) => void): void;