@empathyco/x-components
Version:
Empathy X Components
16 lines • 677 B
TypeScript
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[];
UserClickedAiOverviewExpandButton: boolean;
UserClickedAnAiOverviewResult: Result;
AiOverviewMounted: void;
}
//# sourceMappingURL=events.types.d.ts.map