@coveo/quantic 3.29.0-pre.83b93e5708 → 3.29.0-pre.b3a9f9301c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -90,15 +90,13 @@ export declare class SearchAnalyticsProvider extends BaseAnalyticsProvider<State
90
90
  protected get responseTime(): number;
91
91
  protected get numberOfResults(): number;
92
92
  }
93
- interface LegacyConfigureAnalyticsOptions<State extends ConfigurationSection = StateNeededBySearchAnalyticsProvider> {
93
+ interface LegacyConfigureAnalyticsOptions {
94
94
  logger: Logger;
95
95
  analyticsClientMiddleware?: AnalyticsClientSendEventHook;
96
96
  preprocessRequest?: PreprocessRequest;
97
97
  provider?: SearchPageClientProvider;
98
- getState(): State;
98
+ getState(): StateNeededBySearchAnalyticsProvider;
99
99
  }
100
- export declare const configureLegacyAnalytics: <State extends ConfigurationSection = StateNeededBySearchAnalyticsProvider>({ logger, getState, analyticsClientMiddleware, preprocessRequest, provider, }: LegacyConfigureAnalyticsOptions<State> & {
101
- provider: SearchPageClientProvider;
102
- }) => CoveoSearchPageClient;
100
+ export declare const configureLegacyAnalytics: ({ logger, getState, analyticsClientMiddleware, preprocessRequest, provider, }: LegacyConfigureAnalyticsOptions) => CoveoSearchPageClient;
103
101
  export declare const getPageID: () => string;
104
102
  export {};
@@ -2,7 +2,8 @@ import type { GeneratedAnswerCitation } from '../../controllers/generated-answer
2
2
  import type { SearchAppState } from '../../state/search-app-state.js';
3
3
  import type { GeneratedAnswerSection } from '../../state/state-sections.js';
4
4
  export declare const generativeQuestionAnsweringIdSelector: (state: Partial<SearchAppState>) => {
5
- generativeQuestionAnsweringId: string | undefined;
5
+ answerAPIEnabled: boolean;
6
+ id: string | undefined;
6
7
  };
7
8
  export declare const selectFieldsToIncludeInCitation: (state: Partial<GeneratedAnswerSection>) => string[] | undefined;
8
9
  export declare const citationSourceSelector: ((state: Partial<GeneratedAnswerSection>, citationId: string) => GeneratedAnswerCitation | undefined) & {