@searchcraft/react-sdk 0.13.3 → 0.15.0

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.
@@ -369,11 +369,11 @@ export interface SearchcraftConfig {
369
369
  */
370
370
  searchResultsPerPage?: number;
371
371
  /**
372
- * The URL pointing towards Searchcraft Cloud's semantic search and RAG summary processing layer. When using a `searchcraft-summary-box` component, this value must be specified.
372
+ * @deprecated Summary requests now use `endpointURL` and `indexName`. This field is ignored by current SDK summary requests.
373
373
  */
374
374
  cortexURL?: string;
375
375
  /**
376
- * Instructions provided to the LLM when creating search result summaries.
376
+ * @deprecated Summary prompt instructions are configured server-side on the index. This field is ignored by the engine summary endpoint.
377
377
  */
378
378
  summaryInstructionsPrompt?: string;
379
379
  /**
@@ -653,8 +653,16 @@ declare class SummaryClient {
653
653
  private get;
654
654
  private abortController;
655
655
  private timeout;
656
+ private hasWarnedAboutDeprecatedCortexURL;
656
657
  constructor(get: SearchcraftStore["getState"], set: SearchcraftStore["setState"]);
657
- streamSummaryData(): void;
658
+ streamSummaryData(requestProperties: SearchClientRequestProperties | string): void;
659
+ private setSummaryUnavailable;
660
+ private warnIfUsingDeprecatedCortexURL;
661
+ private buildSearchClientRequest;
662
+ private formatParamsForRequest;
663
+ private processSseBuffer;
664
+ private handleSseFrame;
665
+ private parseSseFrame;
658
666
  }
659
667
  /**
660
668
  * Callable functions made available by the SearchcraftStore.
@@ -715,6 +723,7 @@ export interface SearchcraftStateValues {
715
723
  orderByField: string | undefined | null;
716
724
  sortType: "asc" | "desc" | undefined | null;
717
725
  summary: string;
726
+ summaryErrorMessage: string;
718
727
  hasSummaryBox: boolean;
719
728
  isSummaryLoading: boolean;
720
729
  summaryClient?: SummaryClient;
@@ -1054,6 +1063,11 @@ export namespace Components {
1054
1063
  * ```
1055
1064
  */
1056
1065
  interface SearchcraftPagination {
1066
+ /**
1067
+ * The URL query string parameter name used to track the current page. When a user navigates to a URL that contains this parameter, the pagination component will automatically navigate to that page.
1068
+ * @default "p"
1069
+ */
1070
+ "pageQueryParam": string;
1057
1071
  /**
1058
1072
  * Whether to scroll to the top of the search results when pagination buttons are clicked.
1059
1073
  * @default true
@@ -1063,6 +1077,11 @@ export namespace Components {
1063
1077
  * The id of the Searchcraft instance that this component should use.
1064
1078
  */
1065
1079
  "searchcraftId"?: string;
1080
+ /**
1081
+ * Whether to use a query string parameter to track and restore the current page. Set to `false` to disable query string synchronisation entirely.
1082
+ * @default true
1083
+ */
1084
+ "usePageQueryParam": boolean;
1066
1085
  }
1067
1086
  /**
1068
1087
  * Renders a button which, when clicked, turns on popover visibility.
@@ -1116,16 +1135,29 @@ export namespace Components {
1116
1135
  /**
1117
1136
  * The type of popover button to render.
1118
1137
  */
1119
- "type"?: "skeuomorphic";
1138
+ "type"?: "skeuomorphic" | "magnifying-glass";
1120
1139
  }
1121
1140
  /**
1122
1141
  * Renders the footer for the searchcraft-popover-form.
1123
1142
  */
1124
1143
  interface SearchcraftPopoverFooter {
1144
+ /**
1145
+ * The SDK variant used to render this component. Used for UTM attribution. This isn't exposed for developer consumption, it's set automatically.
1146
+ * @default 'js'
1147
+ */
1148
+ "sdkVariant"?: "js" | "react" | "vue";
1125
1149
  /**
1126
1150
  * The id of the Searchcraft instance that this component should use.
1127
1151
  */
1128
1152
  "searchcraftId"?: string;
1153
+ /**
1154
+ * Optional href for the "View all" button.
1155
+ */
1156
+ "viewAllResultsHref"?: string;
1157
+ /**
1158
+ * Optional label for the "View all" button.
1159
+ */
1160
+ "viewAllResultsLabel"?: string;
1129
1161
  }
1130
1162
  /**
1131
1163
  * This web component is designed to display search results in a popover container that dynamically appears when the user interacts with a search input field, or when a popover-button is pressed.
@@ -1175,15 +1207,33 @@ export namespace Components {
1175
1207
  * Formats the content rendered for each result.
1176
1208
  */
1177
1209
  "popoverResultMappings"?: PopoverResultMappings;
1210
+ /**
1211
+ * The SDK variant used to render this component. Used for UTM attribution on the footer link.
1212
+ * @default 'js'
1213
+ */
1214
+ "sdkVariant"?: "js" | "react" | "vue";
1178
1215
  /**
1179
1216
  * The id of the Searchcraft instance that this component should use.
1180
1217
  */
1181
1218
  "searchcraftId"?: string;
1219
+ /**
1220
+ * Whether to display the AI generative summary box before the search results. NOTE: This requires the usage of a read key that has "SUMMARY" permissions and either a subscription to Searchcraft Cloud with AI features enabled or a self-hosted model connected.
1221
+ * @default false
1222
+ */
1223
+ "showSummaryBox"?: boolean;
1182
1224
  /**
1183
1225
  * The type of popover form to render. - `inline` - Renders inline with the rest of the content on the page. The search results pop over the page content. - `fullscreen` - Renders in fullscreen view. Used together with the `searchcraft-popover-button` component. - `modal` - Renders in a modal view. Used together with the `searchcraft-popover-button` component.
1184
1226
  * @default 'inline'
1185
1227
  */
1186
1228
  "type"?: "inline" | "fullscreen" | "modal";
1229
+ /**
1230
+ * Base URL for the "View all" footer link. The current search term will be appended (URL encoded). For example, in a CMS-backed site you might set this to `/?s=` so the final URL becomes `/?s=<search-term>`.
1231
+ */
1232
+ "viewAllResultsBaseUrl"?: string;
1233
+ /**
1234
+ * Optional label for the "View All" footer button. Defaults to "View All".
1235
+ */
1236
+ "viewAllResultsLabel"?: string;
1187
1237
  }
1188
1238
  /**
1189
1239
  * A single list item rendered in a searchcraft-popover-list-view.
@@ -1269,6 +1319,33 @@ export namespace Components {
1269
1319
  */
1270
1320
  "template"?: ResultsInfoTemplate;
1271
1321
  }
1322
+ /**
1323
+ * This component renders a results summary for RAG search result summaries.
1324
+ * When the user makes a search, a network call is made to retrieve the summary content, which is then
1325
+ * rendered in this box.
1326
+ * NOTE: This component requires the usage of a read key that has "SUMMARY" permissions.
1327
+ * @react-import ```jsx
1328
+ * import { SearchcraftResultsSummary } from "@searchcraft/react-sdk";
1329
+ * ```
1330
+ * @vue-import ```ts
1331
+ * import { SearchcraftResultsSummary } from "@searchcraft/vue-sdk";
1332
+ * ```
1333
+ * @js-example ```html
1334
+ * <searchcraft-results-summary />
1335
+ * ```
1336
+ * @react-example ```jsx
1337
+ * <SearchcraftResultsSummary />
1338
+ * ```
1339
+ * @vue-example ```jsx
1340
+ * <SearchcraftResultsSummary />
1341
+ * ```
1342
+ */
1343
+ interface SearchcraftResultsSummary {
1344
+ /**
1345
+ * The id of the Searchcraft instance that this component should use.
1346
+ */
1347
+ "searchcraftId"?: string;
1348
+ }
1272
1349
  /**
1273
1350
  * This web component is designed to display detailed information for a single search result. Once a query is submitted, the component formats and presents the result.
1274
1351
  */
@@ -1450,6 +1527,9 @@ export namespace Components {
1450
1527
  "step": number;
1451
1528
  }
1452
1529
  /**
1530
+ * @deprecated Use `searchcraft-results-summary` instead.
1531
+ * This component is deprecated and will be removed in a future version.
1532
+ * Please update to use `searchcraft-results-summary` which has the same functionality.
1453
1533
  * This component renders a summary box for RAG search result summaries.
1454
1534
  * When the user makes a search, a network call is made to retrieve the summary content, which is then
1455
1535
  * rendered in this box.
@@ -1894,6 +1974,33 @@ declare global {
1894
1974
  prototype: HTMLSearchcraftResultsInfoElement;
1895
1975
  new (): HTMLSearchcraftResultsInfoElement;
1896
1976
  };
1977
+ /**
1978
+ * This component renders a results summary for RAG search result summaries.
1979
+ * When the user makes a search, a network call is made to retrieve the summary content, which is then
1980
+ * rendered in this box.
1981
+ * NOTE: This component requires the usage of a read key that has "SUMMARY" permissions.
1982
+ * @react-import ```jsx
1983
+ * import { SearchcraftResultsSummary } from "@searchcraft/react-sdk";
1984
+ * ```
1985
+ * @vue-import ```ts
1986
+ * import { SearchcraftResultsSummary } from "@searchcraft/vue-sdk";
1987
+ * ```
1988
+ * @js-example ```html
1989
+ * <searchcraft-results-summary />
1990
+ * ```
1991
+ * @react-example ```jsx
1992
+ * <SearchcraftResultsSummary />
1993
+ * ```
1994
+ * @vue-example ```jsx
1995
+ * <SearchcraftResultsSummary />
1996
+ * ```
1997
+ */
1998
+ interface HTMLSearchcraftResultsSummaryElement extends Components.SearchcraftResultsSummary, HTMLStencilElement {
1999
+ }
2000
+ var HTMLSearchcraftResultsSummaryElement: {
2001
+ prototype: HTMLSearchcraftResultsSummaryElement;
2002
+ new (): HTMLSearchcraftResultsSummaryElement;
2003
+ };
1897
2004
  /**
1898
2005
  * This web component is designed to display detailed information for a single search result. Once a query is submitted, the component formats and presents the result.
1899
2006
  */
@@ -2024,6 +2131,9 @@ declare global {
2024
2131
  new (): HTMLSearchcraftSliderElement;
2025
2132
  };
2026
2133
  /**
2134
+ * @deprecated Use `searchcraft-results-summary` instead.
2135
+ * This component is deprecated and will be removed in a future version.
2136
+ * Please update to use `searchcraft-results-summary` which has the same functionality.
2027
2137
  * This component renders a summary box for RAG search result summaries.
2028
2138
  * When the user makes a search, a network call is made to retrieve the summary content, which is then
2029
2139
  * rendered in this box.
@@ -2110,6 +2220,7 @@ declare global {
2110
2220
  "searchcraft-popover-list-item": HTMLSearchcraftPopoverListItemElement;
2111
2221
  "searchcraft-popover-list-view": HTMLSearchcraftPopoverListViewElement;
2112
2222
  "searchcraft-results-info": HTMLSearchcraftResultsInfoElement;
2223
+ "searchcraft-results-summary": HTMLSearchcraftResultsSummaryElement;
2113
2224
  "searchcraft-search-result": HTMLSearchcraftSearchResultElement;
2114
2225
  "searchcraft-search-results": HTMLSearchcraftSearchResultsElement;
2115
2226
  "searchcraft-search-results-per-page": HTMLSearchcraftSearchResultsPerPageElement;
@@ -2411,6 +2522,11 @@ declare namespace LocalJSX {
2411
2522
  * ```
2412
2523
  */
2413
2524
  interface SearchcraftPagination {
2525
+ /**
2526
+ * The URL query string parameter name used to track the current page. When a user navigates to a URL that contains this parameter, the pagination component will automatically navigate to that page.
2527
+ * @default "p"
2528
+ */
2529
+ "pageQueryParam"?: string;
2414
2530
  /**
2415
2531
  * Whether to scroll to the top of the search results when pagination buttons are clicked.
2416
2532
  * @default true
@@ -2420,6 +2536,11 @@ declare namespace LocalJSX {
2420
2536
  * The id of the Searchcraft instance that this component should use.
2421
2537
  */
2422
2538
  "searchcraftId"?: string;
2539
+ /**
2540
+ * Whether to use a query string parameter to track and restore the current page. Set to `false` to disable query string synchronisation entirely.
2541
+ * @default true
2542
+ */
2543
+ "usePageQueryParam"?: boolean;
2423
2544
  }
2424
2545
  /**
2425
2546
  * Renders a button which, when clicked, turns on popover visibility.
@@ -2473,16 +2594,29 @@ declare namespace LocalJSX {
2473
2594
  /**
2474
2595
  * The type of popover button to render.
2475
2596
  */
2476
- "type"?: "skeuomorphic";
2597
+ "type"?: "skeuomorphic" | "magnifying-glass";
2477
2598
  }
2478
2599
  /**
2479
2600
  * Renders the footer for the searchcraft-popover-form.
2480
2601
  */
2481
2602
  interface SearchcraftPopoverFooter {
2603
+ /**
2604
+ * The SDK variant used to render this component. Used for UTM attribution. This isn't exposed for developer consumption, it's set automatically.
2605
+ * @default 'js'
2606
+ */
2607
+ "sdkVariant"?: "js" | "react" | "vue";
2482
2608
  /**
2483
2609
  * The id of the Searchcraft instance that this component should use.
2484
2610
  */
2485
2611
  "searchcraftId"?: string;
2612
+ /**
2613
+ * Optional href for the "View all" button.
2614
+ */
2615
+ "viewAllResultsHref"?: string;
2616
+ /**
2617
+ * Optional label for the "View all" button.
2618
+ */
2619
+ "viewAllResultsLabel"?: string;
2486
2620
  }
2487
2621
  /**
2488
2622
  * This web component is designed to display search results in a popover container that dynamically appears when the user interacts with a search input field, or when a popover-button is pressed.
@@ -2532,15 +2666,33 @@ declare namespace LocalJSX {
2532
2666
  * Formats the content rendered for each result.
2533
2667
  */
2534
2668
  "popoverResultMappings"?: PopoverResultMappings;
2669
+ /**
2670
+ * The SDK variant used to render this component. Used for UTM attribution on the footer link.
2671
+ * @default 'js'
2672
+ */
2673
+ "sdkVariant"?: "js" | "react" | "vue";
2535
2674
  /**
2536
2675
  * The id of the Searchcraft instance that this component should use.
2537
2676
  */
2538
2677
  "searchcraftId"?: string;
2678
+ /**
2679
+ * Whether to display the AI generative summary box before the search results. NOTE: This requires the usage of a read key that has "SUMMARY" permissions and either a subscription to Searchcraft Cloud with AI features enabled or a self-hosted model connected.
2680
+ * @default false
2681
+ */
2682
+ "showSummaryBox"?: boolean;
2539
2683
  /**
2540
2684
  * The type of popover form to render. - `inline` - Renders inline with the rest of the content on the page. The search results pop over the page content. - `fullscreen` - Renders in fullscreen view. Used together with the `searchcraft-popover-button` component. - `modal` - Renders in a modal view. Used together with the `searchcraft-popover-button` component.
2541
2685
  * @default 'inline'
2542
2686
  */
2543
2687
  "type"?: "inline" | "fullscreen" | "modal";
2688
+ /**
2689
+ * Base URL for the "View all" footer link. The current search term will be appended (URL encoded). For example, in a CMS-backed site you might set this to `/?s=` so the final URL becomes `/?s=<search-term>`.
2690
+ */
2691
+ "viewAllResultsBaseUrl"?: string;
2692
+ /**
2693
+ * Optional label for the "View All" footer button. Defaults to "View All".
2694
+ */
2695
+ "viewAllResultsLabel"?: string;
2544
2696
  }
2545
2697
  /**
2546
2698
  * A single list item rendered in a searchcraft-popover-list-view.
@@ -2626,6 +2778,33 @@ declare namespace LocalJSX {
2626
2778
  */
2627
2779
  "template"?: ResultsInfoTemplate;
2628
2780
  }
2781
+ /**
2782
+ * This component renders a results summary for RAG search result summaries.
2783
+ * When the user makes a search, a network call is made to retrieve the summary content, which is then
2784
+ * rendered in this box.
2785
+ * NOTE: This component requires the usage of a read key that has "SUMMARY" permissions.
2786
+ * @react-import ```jsx
2787
+ * import { SearchcraftResultsSummary } from "@searchcraft/react-sdk";
2788
+ * ```
2789
+ * @vue-import ```ts
2790
+ * import { SearchcraftResultsSummary } from "@searchcraft/vue-sdk";
2791
+ * ```
2792
+ * @js-example ```html
2793
+ * <searchcraft-results-summary />
2794
+ * ```
2795
+ * @react-example ```jsx
2796
+ * <SearchcraftResultsSummary />
2797
+ * ```
2798
+ * @vue-example ```jsx
2799
+ * <SearchcraftResultsSummary />
2800
+ * ```
2801
+ */
2802
+ interface SearchcraftResultsSummary {
2803
+ /**
2804
+ * The id of the Searchcraft instance that this component should use.
2805
+ */
2806
+ "searchcraftId"?: string;
2807
+ }
2629
2808
  /**
2630
2809
  * This web component is designed to display detailed information for a single search result. Once a query is submitted, the component formats and presents the result.
2631
2810
  */
@@ -2815,6 +2994,9 @@ declare namespace LocalJSX {
2815
2994
  "step"?: number;
2816
2995
  }
2817
2996
  /**
2997
+ * @deprecated Use `searchcraft-results-summary` instead.
2998
+ * This component is deprecated and will be removed in a future version.
2999
+ * Please update to use `searchcraft-results-summary` which has the same functionality.
2818
3000
  * This component renders a summary box for RAG search result summaries.
2819
3001
  * When the user makes a search, a network call is made to retrieve the summary content, which is then
2820
3002
  * rendered in this box.
@@ -2899,6 +3081,7 @@ declare namespace LocalJSX {
2899
3081
  "searchcraft-popover-list-item": SearchcraftPopoverListItem;
2900
3082
  "searchcraft-popover-list-view": SearchcraftPopoverListView;
2901
3083
  "searchcraft-results-info": SearchcraftResultsInfo;
3084
+ "searchcraft-results-summary": SearchcraftResultsSummary;
2902
3085
  "searchcraft-search-result": SearchcraftSearchResult;
2903
3086
  "searchcraft-search-results": SearchcraftSearchResults;
2904
3087
  "searchcraft-search-results-per-page": SearchcraftSearchResultsPerPage;
@@ -3154,6 +3337,28 @@ declare module "@stencil/core" {
3154
3337
  * ```
3155
3338
  */
3156
3339
  "searchcraft-results-info": LocalJSX.SearchcraftResultsInfo & JSXBase.HTMLAttributes<HTMLSearchcraftResultsInfoElement>;
3340
+ /**
3341
+ * This component renders a results summary for RAG search result summaries.
3342
+ * When the user makes a search, a network call is made to retrieve the summary content, which is then
3343
+ * rendered in this box.
3344
+ * NOTE: This component requires the usage of a read key that has "SUMMARY" permissions.
3345
+ * @react-import ```jsx
3346
+ * import { SearchcraftResultsSummary } from "@searchcraft/react-sdk";
3347
+ * ```
3348
+ * @vue-import ```ts
3349
+ * import { SearchcraftResultsSummary } from "@searchcraft/vue-sdk";
3350
+ * ```
3351
+ * @js-example ```html
3352
+ * <searchcraft-results-summary />
3353
+ * ```
3354
+ * @react-example ```jsx
3355
+ * <SearchcraftResultsSummary />
3356
+ * ```
3357
+ * @vue-example ```jsx
3358
+ * <SearchcraftResultsSummary />
3359
+ * ```
3360
+ */
3361
+ "searchcraft-results-summary": LocalJSX.SearchcraftResultsSummary & JSXBase.HTMLAttributes<HTMLSearchcraftResultsSummaryElement>;
3157
3362
  /**
3158
3363
  * This web component is designed to display detailed information for a single search result. Once a query is submitted, the component formats and presents the result.
3159
3364
  */
@@ -3237,6 +3442,9 @@ declare module "@stencil/core" {
3237
3442
  */
3238
3443
  "searchcraft-slider": LocalJSX.SearchcraftSlider & JSXBase.HTMLAttributes<HTMLSearchcraftSliderElement>;
3239
3444
  /**
3445
+ * @deprecated Use `searchcraft-results-summary` instead.
3446
+ * This component is deprecated and will be removed in a future version.
3447
+ * Please update to use `searchcraft-results-summary` which has the same functionality.
3240
3448
  * This component renders a summary box for RAG search result summaries.
3241
3449
  * When the user makes a search, a network call is made to retrieve the summary content, which is then
3242
3450
  * rendered in this box.
@@ -3285,15 +3493,6 @@ declare module "@stencil/core" {
3285
3493
  }
3286
3494
  }
3287
3495
  export declare const defineCustomElements: () => void;
3288
- /**
3289
- * The props for the SearchcraftSearchResults server component.
3290
- */
3291
- export interface SearchcraftSearchResultsProps extends Components.SearchcraftSearchResults {
3292
- }
3293
- /**
3294
- * A react server component that renders a list of search results with customizable styles, layout, and link behavior.
3295
- */
3296
- export declare function SearchcraftSearchResults(props: SearchcraftSearchResultsProps): Promise<import("react/jsx-runtime").JSX.Element>;
3297
3496
  /**
3298
3497
  * The props for the SearchcraftFilterPanel.
3299
3498
  */
@@ -3314,6 +3513,16 @@ export interface SearchcraftInputFormProps extends Components.SearchcraftInputFo
3314
3513
  * of index-based searching, making it accessible to users of all technical levels.
3315
3514
  */
3316
3515
  export declare function SearchcraftInputForm(props: SearchcraftInputFormProps): Promise<import("react/jsx-runtime").JSX.Element>;
3516
+ /**
3517
+ * The props for the SearchcraftPagination component.
3518
+ */
3519
+ export interface SearchcraftPaginationProps extends Components.SearchcraftPagination {
3520
+ }
3521
+ /**
3522
+ * This React server component is designed to facilitate pagination of search results.
3523
+ * Once a query is submitted, calculates the number for pages.
3524
+ */
3525
+ export declare function SearchcraftPagination(props: SearchcraftPaginationProps): Promise<import("react/jsx-runtime").JSX.Element>;
3317
3526
  /**
3318
3527
  * The props for the SearchcraftPopoverButton.
3319
3528
  */
@@ -3343,25 +3552,23 @@ export interface SearchcraftResultsInfoProps extends Components.SearchcraftResul
3343
3552
  */
3344
3553
  export declare function SearchcraftResultsInfo(props: SearchcraftResultsInfoProps): Promise<import("react/jsx-runtime").JSX.Element>;
3345
3554
  /**
3346
- * The Props for the SearchcraftTheme component.
3555
+ * The Props for the SearchcraftResultsSummary component.
3347
3556
  */
3348
- export interface SearchcraftThemeProps extends Components.SearchcraftTheme {
3557
+ export interface SearchcraftResultsSummaryProps extends Components.SearchcraftResultsSummary {
3349
3558
  }
3350
3559
  /**
3351
- * A react server component that applies Searchcraft's built-in CSS theme to your page.
3352
- * It does not render anything visible—its only function is to manage the CSS styles on the page.
3560
+ * This React component displays an ai-generated results summary of the given search term.
3353
3561
  */
3354
- export declare function SearchcraftTheme(props: SearchcraftThemeProps): Promise<import("react/jsx-runtime").JSX.Element>;
3562
+ export declare function SearchcraftResultsSummary(props: SearchcraftResultsSummaryProps): Promise<import("react/jsx-runtime").JSX.Element>;
3355
3563
  /**
3356
- * The props for the SearchcraftPagination component.
3564
+ * The props for the SearchcraftSearchResults server component.
3357
3565
  */
3358
- export interface SearchcraftPaginationProps extends Components.SearchcraftPagination {
3566
+ export interface SearchcraftSearchResultsProps extends Components.SearchcraftSearchResults {
3359
3567
  }
3360
3568
  /**
3361
- * This React server component is designed to facilitate pagination of search results.
3362
- * Once a query is submitted, calculates the number for pages.
3569
+ * A react server component that renders a list of search results with customizable styles, layout, and link behavior.
3363
3570
  */
3364
- export declare function SearchcraftPagination(props: SearchcraftPaginationProps): Promise<import("react/jsx-runtime").JSX.Element>;
3571
+ export declare function SearchcraftSearchResults(props: SearchcraftSearchResultsProps): Promise<import("react/jsx-runtime").JSX.Element>;
3365
3572
  /**
3366
3573
  * The Props for the SearchcraftSearchResultsPerPage component.
3367
3574
  */
@@ -3372,14 +3579,29 @@ export interface SearchcraftSearchResultsPerPageProps extends Components.Searchc
3372
3579
  */
3373
3580
  export declare function SearchcraftSearchResultsPerPage(props: SearchcraftSearchResultsPerPageProps): Promise<import("react/jsx-runtime").JSX.Element>;
3374
3581
  /**
3582
+ * @deprecated Use `SearchcraftResultsSummary` instead.
3583
+ * This component is deprecated and will be removed in a future version.
3584
+ * Please update to use `SearchcraftResultsSummary` which has the same functionality.
3585
+ *
3375
3586
  * The Props for the SearchcraftSummaryBox component.
3376
3587
  */
3377
3588
  export interface SearchcraftSummaryBoxProps extends Components.SearchcraftSummaryBox {
3378
3589
  }
3379
3590
  /**
3380
3591
  * This React component displays an ai-generated summary of the given search term.
3592
+ * @deprecated Use `SearchcraftResultsSummary` instead.
3381
3593
  */
3382
3594
  export declare function SearchcraftSummaryBox(props: SearchcraftSummaryBoxProps): Promise<import("react/jsx-runtime").JSX.Element>;
3595
+ /**
3596
+ * The Props for the SearchcraftTheme component.
3597
+ */
3598
+ export interface SearchcraftThemeProps extends Components.SearchcraftTheme {
3599
+ }
3600
+ /**
3601
+ * A react server component that applies Searchcraft's built-in CSS theme to your page.
3602
+ * It does not render anything visible—its only function is to manage the CSS styles on the page.
3603
+ */
3604
+ export declare function SearchcraftTheme(props: SearchcraftThemeProps): Promise<import("react/jsx-runtime").JSX.Element>;
3383
3605
  /**
3384
3606
  * The consumer-facing Searchcraft class.
3385
3607
  */