import { IStringMap } from "../types/common"; import { ISuggestionGeneratorOpts } from "../types/web-complete"; export declare const DEFAULT_TERM_KEY = "searchTerm"; export declare function getAjaxSearchUrl(path: string, searchKey: string): string; export declare function getTermReplacer(template: string, key: string, addlReplacements?: IStringMap): (searchTerm: string) => string; export declare function getSuggestionGenerator(baseUrl: string, responseProcessor: (response: T) => K, options?: ISuggestionGeneratorOpts): (searchTerm: string) => Promise;