import { Store } from "../store"; export declare type ConfigAction = { type: "SET_CONFIG"; config: Store.Config; } | { type: "SET_SEARCH_CALLBACK"; searchCallback: (state: Store.SearchState, postBody: { [key: string]: any; }) => Promise; } | { type: "SET_SUGGEST_CALLBACK"; suggestCallback: (state: Store.SearchState, postBody: { [key: string]: any; }) => Promise; }; export declare const setConfig: (config: Store.Config) => ConfigAction; export declare const setSearchCallback: (searchCallback: (state: Store.SearchState, postBody: { [key: string]: any; }) => Promise) => { type: string; searchCallback: (state: Store.SearchState, postBody: { [key: string]: any; }) => Promise; }; export declare const setSuggestCallback: (suggestCallback: (state: Store.SearchState, postBody: { [key: string]: any; }) => Promise) => { type: string; suggestCallback: (state: Store.SearchState, postBody: { [key: string]: any; }) => Promise; };