UNPKG

@empathyco/x-components

Version:
16 lines 675 B
import type { AiSuggestionSearch, AiSuggestionsRequest, AiSuggestionsSearchRequest, Result } from '@empathyco/x-types'; /** * Dictionary of the events of AI XModule, where each key is the event name, and the value is * the event payload type or `void` if it has no payload. * * @public */ export interface AiXEvents { AiSuggestionsRequestUpdated: AiSuggestionsRequest | null; AiSuggestionsSearchRequestUpdated: AiSuggestionsSearchRequest | null; AiSuggestionsSearchChanged: AiSuggestionSearch[]; UserClickedAnAiCarouselResult: Result; UserClickedAnAiCarouselAdd2Cart: Result; AiComponentMounted: void; } //# sourceMappingURL=events.types.d.ts.map