import type AlgoliaAnalytics from "./insights"; import type { InsightsEvent } from "./types"; import type { WithAdditionalParams } from "./utils"; export interface InsightsSearchConversionEvent { eventName: string; userToken?: string; authenticatedUserToken?: string; timestamp?: number; index: string; queryID: string; objectIDs: string[]; objectData?: InsightsEvent["objectData"]; value?: InsightsEvent["value"]; currency?: InsightsEvent["currency"]; } export declare function convertedObjectIDsAfterSearch(this: AlgoliaAnalytics, ...params: Array>): ReturnType; export declare function addedToCartObjectIDsAfterSearch(this: AlgoliaAnalytics, ...params: Array>): ReturnType; export type InsightsSearchPurchaseEvent = Omit & { /** @deprecated Use objectData.queryID instead. */ queryID?: string; }; export declare function purchasedObjectIDsAfterSearch(this: AlgoliaAnalytics, ...params: Array>): ReturnType; export interface InsightsSearchConversionObjectIDsEvent { eventName: string; userToken?: string; authenticatedUserToken?: string; timestamp?: number; index: string; objectIDs: string[]; objectData?: InsightsEvent["objectData"]; value?: InsightsEvent["value"]; currency?: InsightsEvent["currency"]; } export declare function convertedObjectIDs(this: AlgoliaAnalytics, ...params: Array>): ReturnType; export declare function addedToCartObjectIDs(this: AlgoliaAnalytics, ...params: Array>): ReturnType; export declare function purchasedObjectIDs(this: AlgoliaAnalytics, ...params: Array>): ReturnType; export interface InsightsSearchConversionFiltersEvent { eventName: string; userToken?: string; authenticatedUserToken?: string; timestamp?: number; index: string; filters: string[]; } export declare function convertedFilters(this: AlgoliaAnalytics, ...params: Array>): ReturnType;