import type { InsightsSearchClickEvent } from 'search-insights/dist/click';
declare const searchInsight: {
    /**
     * Initialise algolia search insights.
     * Will asynchronously import the search-insight library
     * @param appId
     * @param apiKey
     */
    init: (appId: string, apiKey: string) => Promise<void>;
    /**
     * Sends a `clickedObjectIDsAfterSearch` event to algolia search-insights.
     * `init(...)` Must have been called first.
     * @param params
     */
    sendClick: (params: InsightsSearchClickEvent) => void;
    /**
     * Associates algolia analytics with a user id
     * @param userToken
     */
    setUser: (userToken: string) => void;
};
export default searchInsight;
