mirror of
https://github.com/imezx/Warp.git
synced 2025-04-25 07:30:02 +00:00
10 lines
433 B
TypeScript
10 lines
433 B
TypeScript
|
import type { AlgoliaInsightsHit, ClickedObjectIDsAfterSearchParams, InsightsParamsWithItems } from './types';
|
||
|
declare type CreateClickedEventParams = {
|
||
|
item: AlgoliaInsightsHit;
|
||
|
items: AlgoliaInsightsHit[];
|
||
|
};
|
||
|
export declare function createClickedEvent({ item, items, }: CreateClickedEventParams): Omit<InsightsParamsWithItems<ClickedObjectIDsAfterSearchParams>, 'eventName'> & {
|
||
|
algoliaSource?: string[];
|
||
|
};
|
||
|
export {};
|