@yext/visual-editor 0.0.40 → 0.0.42

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.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,14 @@
1
1
  import * as React$1 from 'react';
2
2
  import React__default, { ReactNode } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import * as react_i18next from 'react-i18next';
5
+ import * as i18next from 'i18next';
6
+ import { TOptions } from 'i18next';
4
7
  import * as _measured_puck from '@measured/puck';
5
- import { Field, CustomField, Fields, Data, DefaultComponentProps, Config, DefaultRootProps, ArrayField, BaseField, NumberField, ObjectField, ComponentConfig } from '@measured/puck';
8
+ import { Field, CustomField, Data, DefaultComponentProps, DefaultRootProps, Config, ComponentConfig, ArrayField, BaseField, ObjectField, NumberField } from '@measured/puck';
9
+ import { CTA as CTA$1, ImageType, LinkType, HoursTableProps as HoursTableProps$1, ComplexImageType, HoursType, AddressType, DayOfWeekNames, Coordinate } from '@yext/pages-components';
6
10
  import { ClassValue } from 'clsx';
7
11
  import * as _yext_search_headless_react from '@yext/search-headless-react';
8
- import { ImageType, CTA as CTA$1, LinkType, ComplexImageType, AddressType, HoursType, DayOfWeekNames, Coordinate } from '@yext/pages-components';
9
12
  import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
10
13
  import { VariantProps } from 'class-variance-authority';
11
14
  import * as react_jsx_runtime_js from 'react/jsx-runtime.js';
@@ -48,6 +51,25 @@ declare const useDocument: <T>() => T;
48
51
  declare const TailwindConfigContext: React$1.Context<any>;
49
52
  declare const useTailwindConfig: <T>() => T;
50
53
 
54
+ declare const i18nPlatformInstance: i18next.i18n;
55
+ declare const usePlatformTranslation: () => react_i18next.UseTranslationResponse<"visual-editor", undefined>;
56
+ type MsgString = string & {
57
+ __brand: "i18nPlatform";
58
+ };
59
+ /**
60
+ * msg marks strings for translation in config JSON such
61
+ * as Puck fields or the theme config. The TOptions are
62
+ * stringified in the config and dynamically replaced
63
+ * upon render.
64
+ */
65
+ declare const msg: (key: string, defaultValue: string, options?: TOptions) => MsgString;
66
+ /**
67
+ * pt translates strings based on the platform i18n. It can
68
+ * operate as a normal TFunction or handle configurations that
69
+ * have been stringified by msg.
70
+ */
71
+ declare const pt: (keyOrEncodedValue: string | MsgString, optionsOrDefault?: string | TOptions, options?: TOptions) => string;
72
+
51
73
  type BackgroundStyle = {
52
74
  bgColor: string;
53
75
  textColor: string;
@@ -94,7 +116,7 @@ declare const ThemeOptions: {
94
116
  value: HeadingLevel;
95
117
  }[];
96
118
  TEXT_TRANSFORM: {
97
- label: string;
119
+ label: MsgString;
98
120
  value: string;
99
121
  }[];
100
122
  LETTER_SPACING: {
@@ -112,19 +134,19 @@ declare const ThemeOptions: {
112
134
  color: string;
113
135
  }[];
114
136
  CTA_VARIANT: {
115
- label: string;
137
+ label: MsgString;
116
138
  value: string;
117
139
  }[];
118
140
  ALIGNMENT: {
119
- label: string;
141
+ label: MsgString;
120
142
  value: string;
121
143
  }[];
122
144
  JUSTIFY_CONTENT: {
123
- label: string;
145
+ label: MsgString;
124
146
  value: string;
125
147
  }[];
126
148
  BODY_VARIANT: {
127
- label: string;
149
+ label: MsgString;
128
150
  value: string;
129
151
  }[];
130
152
  BORDER_RADIUS: () => {
@@ -140,11 +162,11 @@ declare const ThemeOptions: {
140
162
  value: string;
141
163
  }[];
142
164
  HOURS_OPTIONS: {
143
- label: string;
165
+ label: MsgString;
144
166
  value: string;
145
167
  }[];
146
168
  PHONE_OPTIONS: {
147
- label: string;
169
+ label: MsgString;
148
170
  value: string;
149
171
  }[];
150
172
  };
@@ -245,25 +267,18 @@ type YextEntityField<T> = {
245
267
  field: string;
246
268
  constantValue: T;
247
269
  constantValueEnabled?: boolean;
248
- };
249
- type YextCollection = {
250
- items: YextEntityField<Array<any>>;
251
- limit: string | number;
270
+ disallowTranslation?: boolean;
252
271
  };
253
272
  type RenderYextEntityFieldSelectorProps<T extends Record<string, any>> = {
254
273
  label: string;
255
274
  filter: RenderEntityFieldFilter<T>;
256
- isCollection?: boolean;
257
275
  disableConstantValueToggle?: boolean;
276
+ disallowTranslation?: boolean;
258
277
  };
259
278
  /**
260
279
  * Allows the user to select an entity field from the document and set a constant value.
261
280
  */
262
281
  declare const YextEntityFieldSelector: <T extends Record<string, any>, U>(props: RenderYextEntityFieldSelectorProps<T>) => Field<YextEntityField<U>>;
263
- /**
264
- * Allows the user to select an entity subfield from the document and set a constant value.
265
- */
266
- declare const YextCollectionSubfieldSelector: <T extends Record<string, any>, U>(props: RenderYextEntityFieldSelectorProps<T>) => Field<YextEntityField<U>>;
267
282
 
268
283
  type EntityFieldTypesFilter = {
269
284
  type: StructEntityFieldTypes;
@@ -272,6 +287,7 @@ type StructEntityFieldTypes = "type.hero_section" | "type.promo_section";
272
287
  type YextStructEntityField<T extends Record<string, any> = any> = {
273
288
  field: string;
274
289
  constantValue: T;
290
+ constantValueEnabled?: boolean;
275
291
  constantValueOverride: {
276
292
  [K in keyof T]: boolean;
277
293
  };
@@ -279,37 +295,25 @@ type YextStructEntityField<T extends Record<string, any> = any> = {
279
295
  type StructSelectorProps = {
280
296
  label: string;
281
297
  filter: EntityFieldTypesFilter;
298
+ disallowTranslation?: boolean;
282
299
  };
283
300
  declare const YextStructFieldSelector: <U extends Record<string, any>>(props: StructSelectorProps) => CustomField<YextStructEntityField<U>>;
284
301
 
285
302
  declare const resolveYextEntityField: <T>(document: any, entityField: YextEntityField<T>) => T | undefined;
286
303
  declare const resolveYextStructField: <T extends Record<string, any>>(document: any, entityField: YextStructEntityField<T>) => T | undefined;
287
- declare const resolveYextSubfield: <T>(parent: any, field: YextEntityField<T> | undefined) => T | undefined;
304
+
288
305
  /**
289
- * handleResolveFieldsForCollections determines if lastFields
290
- * should be returned, returns filters for YextCollectionSubfieldSelector,
291
- * and resets prop data when isCollection changes.
292
- * @param data the data object from Puck's resolveFields
293
- * @param params the params object from Puck's resolveFields
306
+ * Converts a type TranslatableString to a string
307
+ * @param translatableString
308
+ * @param locale
294
309
  */
295
- declare const handleResolveFieldsForCollections: (data: {
296
- props: Record<string, any>;
297
- }, params: {
298
- lastFields: Fields<any>;
299
- parent: {
300
- props: Record<string, any>;
301
- } | null;
302
- }) => {
303
- /** No field updates need. Return params.lastFields */
304
- shouldReturnLastFields: boolean;
305
- /**
306
- * Whether the component is currently in a CollectionSection
307
- * with a field set. Use in YextCollectionSubfieldSelector.
308
- */
309
- isCollection: boolean;
310
- /** The parent's field selected field if applicable. Use in YextCollectionSubfieldSelector. */
311
- directChildrenFilter: string | undefined;
312
- };
310
+ declare const resolveTranslatableString: (translatableString?: TranslatableString, locale?: string) => string;
311
+ /**
312
+ * Converts a type TranslatableRichText to a type that can be viewed on the page
313
+ * @param translatableRichText
314
+ * @param locale
315
+ */
316
+ declare const resolveTranslatableRichText: (translatableRichText?: TranslatableRichText, locale?: string) => string | React__default.ReactElement;
313
317
 
314
318
  declare const themeManagerTwMergeConfiguration: {
315
319
  extend: {
@@ -353,11 +357,14 @@ declare function themeManagerCn(...inputs: ClassValue[]): string;
353
357
 
354
358
  type FontRegistry = Record<string, FontSpecification>;
355
359
  type FontSpecification = {
356
- minWeight: number;
357
- maxWeight: number;
358
360
  italics: boolean;
359
361
  fallback: "sans-serif" | "serif" | "monospace" | "cursive";
360
- };
362
+ } & ({
363
+ minWeight: number;
364
+ maxWeight: number;
365
+ } | {
366
+ weights: number[];
367
+ });
361
368
  declare const defaultFonts: FontRegistry;
362
369
  declare const constructFontSelectOptions: (fonts: FontRegistry) => StyleSelectOption[];
363
370
  type getFontWeightParams = {
@@ -378,7 +385,7 @@ type EditorProps$1 = {
378
385
  tailwindConfig: TailwindConfig;
379
386
  };
380
387
  type VisualEditorProviderProps<T> = UniversalProps<T> & AllOrNothing<EditorProps$1>;
381
- declare const VisualEditorProvider: <T>({ templateProps, entityFields, tailwindConfig, children, }: VisualEditorProviderProps<T>) => react_jsx_runtime.JSX.Element;
388
+ declare const VisualEditorProvider: <T extends Record<string, any>>({ templateProps, entityFields, tailwindConfig, children, }: VisualEditorProviderProps<T>) => react_jsx_runtime.JSX.Element;
382
389
 
383
390
  /**
384
391
  * Check that the string is a valid slug.
@@ -418,19 +425,29 @@ declare const fetchNearbyLocations: ({ businessId, apiKey, contentEndpointId, co
418
425
  limit: number;
419
426
  }) => Promise<Record<string, any>>;
420
427
 
428
+ declare const fetchLocalesToPathsForEntity: ({ businessId, apiKey, contentEndpointId, contentDeliveryAPIDomain, entityId, }: {
429
+ businessId: string;
430
+ apiKey: string;
431
+ contentEndpointId: string;
432
+ contentDeliveryAPIDomain: string;
433
+ entityId: string;
434
+ }) => Promise<Record<string, string>>;
435
+
421
436
  /**
422
437
  * Builds the search headless config for the template. Returns undefined if the config is not valid.
423
438
  * @param document the entity document
439
+ * @param experienceKeyEnvVar can be provided via withPropOverrides for a hybrid developer
424
440
  */
425
- declare const createSearchHeadlessConfig: (document: any) => (_yext_search_headless_react.SearchConfigWithApiKey & {
441
+ declare const createSearchHeadlessConfig: (document: any, experienceKeyEnvVar?: string) => (_yext_search_headless_react.SearchConfigWithApiKey & {
426
442
  headlessId?: string;
427
443
  verticalKey?: string;
428
444
  }) | undefined;
429
445
  /**
430
446
  * Builds the search analytics config for the template. Returns undefined if the config is not valid.
431
447
  * @param document the entity document
448
+ * @param experienceKeyEnvVar can be provided via withPropOverrides for a hybrid developer
432
449
  */
433
- declare const createSearchAnalyticsConfig: (document: any) => {
450
+ declare const createSearchAnalyticsConfig: (document: any, experienceKeyEnvVar?: string) => {
434
451
  businessId: any;
435
452
  experienceKey: any;
436
453
  experienceVersion: string;
@@ -456,50 +473,57 @@ interface RootProps extends DefaultRootProps {
456
473
  }
457
474
  declare const migrate: (data: Data<DefaultComponentProps, RootProps>, migrationRegistry?: MigrationRegistry, config?: Config) => Data;
458
475
 
476
+ declare function withPropOverrides<P extends DefaultComponentProps>(base: ComponentConfig<P>, overrides: Partial<P>): ComponentConfig<P>;
477
+
478
+ declare const i18nComponentsInstance: i18next.i18n;
479
+
480
+ type TranslatableCTA = Omit<CTA$1, "label"> & {
481
+ label: TranslatableString;
482
+ };
459
483
  type HeroSectionType = {
460
484
  image?: ImageType;
461
- primaryCta?: CTA$1;
462
- secondaryCta?: CTA$1;
485
+ primaryCta?: TranslatableCTA;
486
+ secondaryCta?: TranslatableCTA;
463
487
  };
464
488
  type PromoSectionType = {
465
489
  image?: ImageType;
466
- title?: string;
467
- description?: RTF2 | string;
468
- cta?: CTA$1;
490
+ title?: TranslatableString;
491
+ description?: TranslatableRichText;
492
+ cta?: TranslatableCTA;
469
493
  };
470
494
  type ProductSectionType = {
471
495
  products: Array<ProductStruct>;
472
496
  };
473
497
  type ProductStruct = {
474
498
  image?: ImageType;
475
- name?: string;
476
- description?: RTF2 | string;
477
- category?: string;
478
- cta?: CTA$1;
499
+ name?: TranslatableString;
500
+ description?: TranslatableRichText;
501
+ category?: TranslatableString;
502
+ cta?: TranslatableCTA;
479
503
  };
480
504
  type EventSectionType = {
481
505
  events: Array<EventStruct>;
482
506
  };
483
507
  type EventStruct = {
484
508
  image?: ImageType;
485
- title?: string;
509
+ title?: TranslatableString;
486
510
  dateTime?: string;
487
- description?: RTF2 | string;
488
- cta?: CTA$1;
511
+ description?: TranslatableRichText;
512
+ cta?: TranslatableCTA;
489
513
  };
490
514
  type FAQSectionType = {
491
515
  faqs: Array<FAQStruct>;
492
516
  };
493
517
  type FAQStruct = {
494
- question: string;
495
- answer: RTF2 | string;
518
+ question: TranslatableString;
519
+ answer: TranslatableRichText;
496
520
  };
497
521
  type TestimonialSectionType = {
498
522
  testimonials: Array<TestimonialStruct>;
499
523
  };
500
524
  type TestimonialStruct = {
501
- description?: RTF2 | string;
502
- contributorName?: string;
525
+ description?: TranslatableRichText;
526
+ contributorName?: TranslatableString;
503
527
  contributionDate?: string;
504
528
  };
505
529
  type InsightSectionType = {
@@ -507,24 +531,29 @@ type InsightSectionType = {
507
531
  };
508
532
  type InsightStruct = {
509
533
  image?: ImageType;
510
- name?: string;
511
- category?: string;
534
+ name?: TranslatableString;
535
+ category?: TranslatableString;
512
536
  publishTime?: string;
513
- description?: RTF2 | string;
514
- cta?: CTA$1;
537
+ description?: TranslatableRichText;
538
+ cta?: TranslatableCTA;
515
539
  };
516
540
  type TeamSectionType = {
517
541
  people: Array<PersonStruct>;
518
542
  };
519
543
  type PersonStruct = {
520
544
  headshot?: ImageType;
521
- name?: string;
522
- title?: string;
545
+ name?: TranslatableString;
546
+ title?: TranslatableString;
523
547
  phoneNumber?: string;
524
548
  email?: string;
525
- cta?: CTA$1;
526
- };
527
- type RTF2 = {
549
+ cta?: TranslatableCTA;
550
+ };
551
+ type LocalizedValues = {
552
+ hasLocalizedValue: "true";
553
+ } & Record<string, string>;
554
+ type TranslatableString = string | LocalizedValues;
555
+ type TranslatableRichText = (string | RichText) | Record<string, string | RichText>;
556
+ type RichText = {
528
557
  html?: string;
529
558
  json?: string;
530
559
  };
@@ -631,7 +660,14 @@ type Option<T = any> = {
631
660
  value: T;
632
661
  color?: string;
633
662
  };
634
- declare const BasicSelector: (label: string, options: Option[]) => Field;
663
+ type BasicSelectorProps = {
664
+ label: string;
665
+ options: Option[];
666
+ translateOptions?: boolean;
667
+ noOptionsPlaceholder?: string;
668
+ noOptionsMessage?: string;
669
+ };
670
+ declare const BasicSelector: (props: BasicSelectorProps) => Field;
635
671
 
636
672
  /** Copied from Puck, do not change */
637
673
  type FieldOption = {
@@ -668,6 +704,7 @@ type YextSelectField = YextBaseField & {
668
704
  type YextTextField = YextBaseField & {
669
705
  type: "text";
670
706
  isMultiline?: boolean;
707
+ disallowTranslation?: boolean;
671
708
  };
672
709
  type YextOptionalNumberField = YextBaseField & Omit<OptionalNumberFieldProps, "fieldLabel"> & {
673
710
  type: "optionalNumber";
@@ -679,6 +716,23 @@ type YextFieldConfig<Props = any> = YextArrayField<Props extends Record<string,
679
716
  declare function YextField<T = any>(fieldName: string, config: YextFieldConfig<T>): Field<T>;
680
717
  declare function YextField<T extends Record<string, any>, U = any>(fieldName: string, config: YextEntitySelectorField<T>): Field<YextEntityField<U>>;
681
718
 
719
+ declare const KnowledgeGraphIcon: ({ enabled }: {
720
+ enabled: boolean;
721
+ }) => react_jsx_runtime.JSX.Element;
722
+
723
+ /**
724
+ * Generates a translatable string config
725
+ * @param label optional label. Takes in a value from msg.
726
+ * @param fieldType text or textarea display mode
727
+ */
728
+ declare function TranslatableStringField<T extends TranslatableString | undefined = TranslatableString>(label?: MsgString, fieldType?: "text" | "textarea"): CustomField<T>;
729
+
730
+ /**
731
+ * Generates a translatableRichText field config
732
+ * @param label optional label. Takes in a value from msg
733
+ */
734
+ declare function TranslatableRichTextField<T extends TranslatableRichText | undefined = TranslatableRichText>(label?: MsgString): CustomField<T>;
735
+
682
736
  declare const bodyVariants: (props?: ({
683
737
  variant?: "sm" | "lg" | "base" | null | undefined;
684
738
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
@@ -723,6 +777,11 @@ interface HeadingProps extends Omit<React$1.HTMLAttributes<HTMLHeadingElement>,
723
777
  }
724
778
  declare const Heading: React$1.ForwardRefExoticComponent<HeadingProps & React$1.RefAttributes<HTMLHeadingElement>>;
725
779
 
780
+ interface HoursTableAtomProps extends Omit<HoursTableProps$1, "dayOfWeekNames" | "intervalStringsBuilderFn"> {
781
+ className?: string;
782
+ }
783
+ declare const HoursTableAtom: (props: HoursTableAtomProps) => react_jsx_runtime.JSX.Element;
784
+
726
785
  interface ImageProps {
727
786
  image: ImageType | ComplexImageType;
728
787
  layout: "auto" | "fixed";
@@ -744,9 +803,10 @@ type MaybeLinkProps = {
744
803
  declare const MaybeLink: (props: MaybeLinkProps) => react_jsx_runtime.JSX.Element;
745
804
 
746
805
  interface MaybeRTFProps extends Record<string, any> {
747
- data: RTF2 | string | undefined;
806
+ data: RichText | string | undefined;
807
+ bodyVariant?: BodyProps["variant"];
748
808
  }
749
- declare const MaybeRTF: ({ data, ...props }: MaybeRTFProps) => react_jsx_runtime.JSX.Element | undefined;
809
+ declare const MaybeRTF: ({ data, bodyVariant, ...props }: MaybeRTFProps) => react_jsx_runtime.JSX.Element | undefined;
750
810
 
751
811
  declare const pageSectionVariants: (props?: ({
752
812
  verticalPadding?: "default" | "sm" | "footer" | "header" | null | undefined;
@@ -762,6 +822,7 @@ declare const PageSection: React$1.ForwardRefExoticComponent<PageSectionProps &
762
822
  type PhoneAtomProps = {
763
823
  phoneNumber: string;
764
824
  label?: string;
825
+ eventName?: string;
765
826
  backgroundColor?: BackgroundStyle;
766
827
  format: "domestic" | "international" | undefined;
767
828
  includeHyperlink: boolean;
@@ -786,6 +847,17 @@ declare const wrapperVariants: (props?: ({
786
847
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
787
848
  declare const VisibilityWrapper: React$1.FC<VisibilityWrapperProps>;
788
849
 
850
+ interface HoursStatusAtomProps {
851
+ hours: HoursType;
852
+ className?: string;
853
+ showCurrentStatus?: boolean;
854
+ showDayNames?: boolean;
855
+ timeFormat?: "12h" | "24h";
856
+ dayOfWeekFormat?: "short" | "long";
857
+ timezone?: string;
858
+ }
859
+ declare const HoursStatusAtom: ({ hours, className, showCurrentStatus, showDayNames, timeFormat, dayOfWeekFormat, timezone, }: HoursStatusAtomProps) => any;
860
+
789
861
  declare enum TimestampOption {
790
862
  DATE = "DATE",
791
863
  DATE_TIME = "DATE_TIME",
@@ -807,14 +879,19 @@ type BannerSectionProps = {
807
879
  textAlignment: "left" | "right" | "center";
808
880
  };
809
881
  data: {
810
- text: YextEntityField<string>;
882
+ text: YextEntityField<TranslatableString>;
811
883
  };
812
884
  liveVisibility: boolean;
813
885
  };
814
886
  declare const BannerSection: ComponentConfig<BannerSectionProps>;
815
887
 
816
888
  type BreadcrumbsSectionProps = {
817
- separator?: string;
889
+ data: {
890
+ directoryRoot: TranslatableString;
891
+ };
892
+ analytics?: {
893
+ scope?: string;
894
+ };
818
895
  liveVisibility: boolean;
819
896
  };
820
897
  declare const BreadcrumbsSection: ComponentConfig<BreadcrumbsSectionProps>;
@@ -822,31 +899,34 @@ declare const BreadcrumbsSection: ComponentConfig<BreadcrumbsSectionProps>;
822
899
  interface CoreInfoSectionProps {
823
900
  data: {
824
901
  info: {
825
- headingText: YextEntityField<string>;
902
+ headingText: YextEntityField<TranslatableString>;
826
903
  address: YextEntityField<AddressType>;
827
904
  phoneNumbers: Array<{
828
905
  number: YextEntityField<string>;
829
- label: string;
906
+ label: TranslatableString;
830
907
  }>;
831
908
  emails: YextEntityField<string[]>;
832
909
  };
833
910
  hours: {
834
- headingText: YextEntityField<string>;
911
+ headingText: YextEntityField<TranslatableString>;
835
912
  hours: YextEntityField<HoursType>;
836
913
  };
837
914
  services: {
838
- headingText: YextEntityField<string>;
839
- servicesList: YextEntityField<string[]>;
915
+ headingText: YextEntityField<TranslatableString>;
916
+ servicesList: YextEntityField<TranslatableString[]>;
840
917
  };
841
918
  };
842
919
  styles: {
843
- headingLevel: HeadingLevel;
920
+ heading: {
921
+ level: HeadingLevel;
922
+ align: "left" | "center" | "right";
923
+ };
844
924
  backgroundColor?: BackgroundStyle;
845
925
  info: {
846
926
  showGetDirectionsLink: boolean;
847
927
  phoneFormat: "domestic" | "international";
848
928
  includePhoneHyperlink: boolean;
849
- emailsListLength: number;
929
+ emailsListLength?: number;
850
930
  };
851
931
  hours: {
852
932
  startOfWeek: keyof DayOfWeekNames | "today";
@@ -854,19 +934,28 @@ interface CoreInfoSectionProps {
854
934
  showAdditionalHoursText: boolean;
855
935
  };
856
936
  };
937
+ analytics?: {
938
+ scope?: string;
939
+ };
857
940
  liveVisibility: boolean;
858
941
  }
859
942
  declare const CoreInfoSection: ComponentConfig<CoreInfoSectionProps>;
860
943
 
861
944
  interface EventSectionProps {
862
945
  data: {
863
- heading: YextEntityField<string>;
946
+ heading: YextEntityField<TranslatableString>;
864
947
  events: YextEntityField<EventSectionType>;
865
948
  };
866
949
  styles: {
867
950
  backgroundColor?: BackgroundStyle;
868
951
  cardBackgroundColor?: BackgroundStyle;
869
- headingLevel: HeadingLevel;
952
+ heading: {
953
+ level: HeadingLevel;
954
+ align: "left" | "center" | "right";
955
+ };
956
+ };
957
+ analytics?: {
958
+ scope?: string;
870
959
  };
871
960
  liveVisibility: boolean;
872
961
  }
@@ -874,8 +963,8 @@ declare const EventSection: ComponentConfig<EventSectionProps>;
874
963
 
875
964
  interface HeroSectionProps {
876
965
  data: {
877
- businessName: YextEntityField<string>;
878
- localGeoModifier: YextEntityField<string>;
966
+ businessName: YextEntityField<TranslatableString>;
967
+ localGeoModifier: YextEntityField<TranslatableString>;
879
968
  hours: YextEntityField<HoursType>;
880
969
  hero: YextStructEntityField<HeroSectionType>;
881
970
  };
@@ -887,19 +976,28 @@ interface HeroSectionProps {
887
976
  primaryCTA: CTAProps["variant"];
888
977
  secondaryCTA: CTAProps["variant"];
889
978
  };
890
- liveVisibility: boolean;
979
+ analytics?: {
980
+ scope?: string;
981
+ };
982
+ liveVisibility?: boolean;
891
983
  }
892
984
  declare const HeroSection: ComponentConfig<HeroSectionProps>;
893
985
 
894
986
  interface InsightSectionProps {
895
987
  data: {
896
- heading: YextEntityField<string>;
988
+ heading: YextEntityField<TranslatableString>;
897
989
  insights: YextEntityField<InsightSectionType>;
898
990
  };
899
991
  styles: {
900
992
  backgroundColor?: BackgroundStyle;
901
993
  cardBackgroundColor?: BackgroundStyle;
902
- headingLevel: HeadingLevel;
994
+ heading: {
995
+ level: HeadingLevel;
996
+ align: "left" | "center" | "right";
997
+ };
998
+ };
999
+ analytics?: {
1000
+ scope?: string;
903
1001
  };
904
1002
  liveVisibility: boolean;
905
1003
  }
@@ -907,7 +1005,7 @@ declare const InsightSection: ComponentConfig<InsightSectionProps>;
907
1005
 
908
1006
  interface NearbyLocationsSectionProps {
909
1007
  data: {
910
- heading: YextEntityField<string>;
1008
+ heading: YextEntityField<TranslatableString>;
911
1009
  coordinate: YextEntityField<Coordinate>;
912
1010
  radius: number;
913
1011
  limit: number;
@@ -915,7 +1013,10 @@ interface NearbyLocationsSectionProps {
915
1013
  styles: {
916
1014
  backgroundColor?: BackgroundStyle;
917
1015
  cardBackgroundColor?: BackgroundStyle;
918
- headingLevel: HeadingLevel;
1016
+ heading: {
1017
+ level: HeadingLevel;
1018
+ align: "left" | "center" | "right";
1019
+ };
919
1020
  cardHeadingLevel: HeadingLevel;
920
1021
  phoneNumberFormat: "domestic" | "international";
921
1022
  phoneNumberLink: boolean;
@@ -926,19 +1027,29 @@ interface NearbyLocationsSectionProps {
926
1027
  showDayNames?: boolean;
927
1028
  };
928
1029
  };
1030
+ analytics?: {
1031
+ scope?: string;
1032
+ };
929
1033
  liveVisibility: boolean;
1034
+ contentEndpointIdEnvVar?: string;
930
1035
  }
931
1036
  declare const NearbyLocationsSection: ComponentConfig<NearbyLocationsSectionProps>;
932
1037
 
933
1038
  interface ProductSectionProps {
934
1039
  data: {
935
- heading: YextEntityField<string>;
1040
+ heading: YextEntityField<TranslatableString>;
936
1041
  products: YextEntityField<ProductSectionType>;
937
1042
  };
938
1043
  styles: {
939
1044
  backgroundColor?: BackgroundStyle;
940
1045
  cardBackgroundColor?: BackgroundStyle;
941
- headingLevel: HeadingLevel;
1046
+ heading: {
1047
+ level: HeadingLevel;
1048
+ align: "left" | "center" | "right";
1049
+ };
1050
+ };
1051
+ analytics?: {
1052
+ scope?: string;
942
1053
  };
943
1054
  liveVisibility: boolean;
944
1055
  }
@@ -952,19 +1063,29 @@ interface PromoSectionProps {
952
1063
  backgroundColor?: BackgroundStyle;
953
1064
  orientation: "left" | "right";
954
1065
  ctaVariant: CTAProps["variant"];
1066
+ heading: {
1067
+ level: HeadingLevel;
1068
+ align: "left" | "center" | "right";
1069
+ };
955
1070
  };
956
- liveVisibility: boolean;
1071
+ analytics?: {
1072
+ scope?: string;
1073
+ };
1074
+ liveVisibility?: boolean;
957
1075
  }
958
1076
  declare const PromoSection: ComponentConfig<PromoSectionProps>;
959
1077
 
960
1078
  interface PhotoGallerySectionProps {
961
1079
  data: {
962
- heading: YextEntityField<string>;
1080
+ heading: YextEntityField<TranslatableString>;
963
1081
  images: YextEntityField<ImageType[] | ComplexImageType[]>;
964
1082
  };
965
1083
  styles: {
966
1084
  backgroundColor?: BackgroundStyle;
967
- headingLevel: HeadingLevel;
1085
+ heading: {
1086
+ level: HeadingLevel;
1087
+ align: "left" | "center" | "right";
1088
+ };
968
1089
  imageStyle: Omit<ImageWrapperProps, "image">;
969
1090
  };
970
1091
  liveVisibility: boolean;
@@ -973,12 +1094,15 @@ declare const PhotoGallerySection: ComponentConfig<PhotoGallerySectionProps>;
973
1094
 
974
1095
  interface FAQSectionProps {
975
1096
  data: {
976
- heading: YextEntityField<string>;
1097
+ heading: YextEntityField<TranslatableString>;
977
1098
  faqs: YextEntityField<FAQSectionType>;
978
1099
  };
979
1100
  styles: {
980
1101
  backgroundColor?: BackgroundStyle;
981
- headingLevel: HeadingProps["level"];
1102
+ heading: {
1103
+ level: HeadingLevel;
1104
+ align: "left" | "center" | "right";
1105
+ };
982
1106
  };
983
1107
  liveVisibility: boolean;
984
1108
  }
@@ -986,13 +1110,16 @@ declare const FAQSection: ComponentConfig<FAQSectionProps>;
986
1110
 
987
1111
  interface TestimonialSectionProps {
988
1112
  data: {
989
- heading: YextEntityField<string>;
1113
+ heading: YextEntityField<TranslatableString>;
990
1114
  testimonials: YextEntityField<TestimonialSectionType>;
991
1115
  };
992
1116
  styles: {
993
1117
  backgroundColor?: BackgroundStyle;
994
1118
  cardBackgroundColor?: BackgroundStyle;
995
- headingLevel: HeadingLevel;
1119
+ heading: {
1120
+ level: HeadingLevel;
1121
+ align: "left" | "center" | "right";
1122
+ };
996
1123
  };
997
1124
  liveVisibility: boolean;
998
1125
  }
@@ -1002,25 +1129,22 @@ interface TeamSectionProps {
1002
1129
  styles: {
1003
1130
  backgroundColor?: BackgroundStyle;
1004
1131
  cardBackgroundColor?: BackgroundStyle;
1005
- headingLevel: HeadingLevel;
1132
+ heading: {
1133
+ level: HeadingLevel;
1134
+ align: "left" | "center" | "right";
1135
+ };
1006
1136
  };
1007
1137
  data: {
1008
- heading: YextEntityField<string>;
1138
+ heading: YextEntityField<TranslatableString>;
1009
1139
  people: YextEntityField<TeamSectionType>;
1010
1140
  };
1141
+ analytics?: {
1142
+ scope?: string;
1143
+ };
1011
1144
  liveVisibility: boolean;
1012
1145
  }
1013
1146
  declare const TeamSection: ComponentConfig<TeamSectionProps>;
1014
1147
 
1015
- interface CollectionProps {
1016
- collection: YextCollection;
1017
- shouldClearDropZone?: boolean;
1018
- layout?: "grid" | "flex";
1019
- direction?: "flex-row" | "flex-col";
1020
- liveVisibility: boolean;
1021
- }
1022
- declare const Collection: ComponentConfig<CollectionProps>;
1023
-
1024
1148
  declare const layoutVariants: (props?: ({
1025
1149
  gap?: "0" | "1" | "2" | "3" | "4" | "none" | "6" | "8" | "12" | "16" | "24" | "14" | "20" | "0.5" | "1.5" | "2.5" | "10" | "3.5" | "5" | "7" | "9" | "11" | null | undefined;
1026
1150
  verticalPadding?: "0" | "1" | "2" | "3" | "4" | "default" | "none" | "6" | "8" | "12" | "16" | "24" | "14" | "20" | "0.5" | "1.5" | "2.5" | "10" | "3.5" | "5" | "7" | "9" | "11" | null | undefined;
@@ -1054,7 +1178,7 @@ type AddressProps = {
1054
1178
  declare const Address: ComponentConfig<AddressProps>;
1055
1179
 
1056
1180
  interface BodyTextProps extends BodyProps {
1057
- text: YextEntityField<string>;
1181
+ text: YextEntityField<TranslatableString>;
1058
1182
  }
1059
1183
  declare const BodyText: ComponentConfig<BodyTextProps>;
1060
1184
 
@@ -1067,7 +1191,7 @@ declare const CTAWrapper: ComponentConfig<CTAWrapperProps>;
1067
1191
 
1068
1192
  interface EmailsProps {
1069
1193
  list: YextEntityField<string[]>;
1070
- listLength: number;
1194
+ listLength?: number;
1071
1195
  includeHyperlink: boolean;
1072
1196
  }
1073
1197
  declare const Emails: ComponentConfig<EmailsProps>;
@@ -1079,7 +1203,7 @@ type GetDirectionsProps = {
1079
1203
  declare const GetDirections: ComponentConfig<GetDirectionsProps>;
1080
1204
 
1081
1205
  interface HeadingTextProps extends HeadingProps {
1082
- text: YextEntityField<string>;
1206
+ text: YextEntityField<TranslatableString>;
1083
1207
  }
1084
1208
  declare const HeadingText: ComponentConfig<HeadingTextProps>;
1085
1209
 
@@ -1123,99 +1247,44 @@ interface PhoneProps {
1123
1247
  declare const Phone: ComponentConfig<PhoneProps>;
1124
1248
 
1125
1249
  interface TextListProps {
1126
- list: YextEntityField<string[]>;
1250
+ list: YextEntityField<TranslatableString[]>;
1127
1251
  }
1128
1252
  declare const TextList: ComponentConfig<TextListProps>;
1129
1253
 
1130
1254
  type HeaderProps = {
1131
1255
  logoWidth?: number;
1256
+ enableLanguageSelector: boolean;
1257
+ analytics?: {
1258
+ scope?: string;
1259
+ };
1132
1260
  };
1133
1261
  declare const Header: ComponentConfig<HeaderProps>;
1134
1262
 
1135
1263
  type FooterProps = {
1136
1264
  backgroundColor?: BackgroundStyle;
1265
+ analytics?: {
1266
+ scope?: string;
1267
+ };
1137
1268
  };
1138
1269
  declare const Footer: ComponentConfig<FooterProps>;
1139
1270
 
1140
1271
  interface DirectoryProps {
1141
- separator?: string;
1272
+ data: {
1273
+ directoryRoot: TranslatableString;
1274
+ };
1275
+ analytics?: {
1276
+ scope?: string;
1277
+ };
1142
1278
  }
1143
1279
  declare const Directory: ComponentConfig<DirectoryProps>;
1144
1280
 
1145
1281
  type LocatorProps = {
1146
1282
  mapStyle?: string;
1283
+ entityTypeEnvVar?: string;
1284
+ experienceKeyEnvVar?: string;
1147
1285
  };
1148
1286
  declare const LocatorComponent: ComponentConfig<LocatorProps>;
1149
1287
 
1150
- type EventCardProps = {
1151
- card?: {
1152
- title: YextEntityField<string>;
1153
- image: YextEntityField<ImageType>;
1154
- dateTime: YextEntityField<string>;
1155
- description: YextEntityField<string>;
1156
- cta: YextEntityField<CTAProps>;
1157
- };
1158
- collection?: YextCollection;
1159
- };
1160
- declare const EventCard: ComponentConfig<EventCardProps>;
1161
-
1162
- type ProductCardProps = {
1163
- card?: {
1164
- image?: ImageWrapperProps;
1165
- heading?: YextEntityField<string>;
1166
- category?: YextEntityField<string>;
1167
- description?: YextEntityField<string>;
1168
- cta?: YextEntityField<CTAProps>;
1169
- };
1170
- styles: {
1171
- cardBackgroundColor?: BackgroundStyle;
1172
- };
1173
- collection?: YextCollection;
1174
- };
1175
- declare const ProductCard: ComponentConfig<ProductCardProps>;
1176
-
1177
- interface PersonCardProps {
1178
- card?: {
1179
- headshot?: YextEntityField<ImageWrapperProps>;
1180
- name?: YextEntityField<string>;
1181
- title?: YextEntityField<string>;
1182
- phone?: YextEntityField<string>;
1183
- email?: YextEntityField<string>;
1184
- cta?: YextEntityField<CTAProps>;
1185
- };
1186
- styles: {
1187
- cardBackgroundColor?: BackgroundStyle;
1188
- };
1189
- collection?: YextCollection;
1190
- }
1191
- declare const PersonCard: ComponentConfig<PersonCardProps>;
1192
-
1193
- type InsightCardProps = {
1194
- card?: {
1195
- image: YextEntityField<ImageType>;
1196
- title: YextEntityField<string>;
1197
- category: YextEntityField<string>;
1198
- date: YextEntityField<string>;
1199
- description: YextEntityField<string>;
1200
- cta: YextEntityField<CTAProps>;
1201
- };
1202
- collection?: YextCollection;
1203
- };
1204
- declare const InsightCard: ComponentConfig<InsightCardProps>;
1205
-
1206
- type TestimonialCardProps = {
1207
- card?: {
1208
- testimonial: YextEntityField<string>;
1209
- authorName: YextEntityField<string>;
1210
- date: YextEntityField<string>;
1211
- };
1212
- styles: {
1213
- cardBackgroundColor?: BackgroundStyle;
1214
- };
1215
- collection?: YextCollection;
1216
- };
1217
- declare const TestimonialCard: ComponentConfig<TestimonialCardProps>;
1218
-
1219
1288
  type StaticMapSectionProps = {
1220
1289
  data: {
1221
1290
  apiKey: string;
@@ -1281,31 +1350,14 @@ declare const LocatorCategoryComponents: {
1281
1350
  declare const LocatorCategory: (keyof LocatorCategoryProps)[];
1282
1351
  /** THE CATEGORIES BELOW ARE NO LONGER SUPPORTED */
1283
1352
  interface LayoutBlockCategoryProps {
1284
- Collection: CollectionProps;
1285
1353
  Flex: FlexProps;
1286
1354
  Grid: GridProps;
1287
1355
  }
1288
1356
  declare const LayoutBlockCategoryComponents: {
1289
- Collection: _measured_puck.ComponentConfig<CollectionProps>;
1290
1357
  Flex: _measured_puck.ComponentConfig<FlexProps>;
1291
1358
  Grid: _measured_puck.ComponentConfig<GridProps>;
1292
1359
  };
1293
1360
  declare const LayoutBlockCategory: (keyof LayoutBlockCategoryProps)[];
1294
- interface CardCategoryProps {
1295
- EventCard: EventCardProps;
1296
- PersonCard: PersonCardProps;
1297
- InsightCard: InsightCardProps;
1298
- ProductCard: ProductCardProps;
1299
- TestimonialCard: TestimonialCardProps;
1300
- }
1301
- declare const CardCategoryComponents: {
1302
- EventCard: _measured_puck.ComponentConfig<EventCardProps>;
1303
- PersonCard: _measured_puck.ComponentConfig<PersonCardProps>;
1304
- InsightCard: _measured_puck.ComponentConfig<InsightCardProps>;
1305
- ProductCard: _measured_puck.ComponentConfig<ProductCardProps>;
1306
- TestimonialCard: _measured_puck.ComponentConfig<TestimonialCardProps>;
1307
- };
1308
- declare const CardCategory: (keyof CardCategoryProps)[];
1309
1361
  interface ContentBlockCategoryProps {
1310
1362
  Address: AddressProps;
1311
1363
  BodyText: BodyTextProps;
@@ -1336,17 +1388,10 @@ declare const ContentBlockCategoryComponents: {
1336
1388
  };
1337
1389
  declare const ContentBlockCategory: (keyof ContentBlockCategoryProps)[];
1338
1390
 
1339
- type ExampleRepeatableItemProps = {
1340
- text?: YextEntityField<string>;
1341
- image?: YextEntityField<ImageType>;
1342
- collection?: YextCollection;
1343
- };
1344
- declare const ExampleRepeatableItemComponent: ComponentConfig<ExampleRepeatableItemProps>;
1345
-
1346
1391
  type SectionContainerProps = {
1347
1392
  background?: BackgroundStyle;
1348
1393
  sectionHeading: {
1349
- text: YextEntityField<string>;
1394
+ text: YextEntityField<TranslatableString>;
1350
1395
  level: HeadingProps["level"];
1351
1396
  alignment: "left" | "right" | "center";
1352
1397
  };
@@ -1356,6 +1401,8 @@ declare const SectionContainer: ComponentConfig<SectionContainerProps>;
1356
1401
 
1357
1402
  declare const migrationRegistry: MigrationRegistry;
1358
1403
 
1404
+ declare const addHeadingAlignmentMigration: Migration;
1405
+
1359
1406
  declare const defaultThemeConfig: ThemeConfig;
1360
1407
 
1361
- export { Address, type AddressProps, Background, type BackgroundProps, BackgroundProvider, type BackgroundStyle, BannerSection, type BannerSectionProps, BasicSelector, Body, type BodyProps, BodyText, type BodyTextProps, BorderRadiusSelector, BreadcrumbsSection, type BreadcrumbsSectionProps, Button, type ButtonProps, CTA, type CTAProps, CTAWrapper, type CTAWrapperProps, CardCategory, CardCategoryComponents, type CardCategoryProps, Collection, type CollectionProps, type ComponentField, ComponentFields, ContentBlockCategory, ContentBlockCategoryComponents, type ContentBlockCategoryProps, CoreInfoSection, type CoreInfoSectionProps, Directory, DirectoryCategory, DirectoryCategoryComponents, type DirectoryCategoryProps, type DirectoryProps, Editor, Emails, type EmailsProps, EntityField, EventCard, type EventCardProps, EventSection, type EventSectionProps, type EventSectionType, type EventStruct, ExampleRepeatableItemComponent, type ExampleRepeatableItemProps, FAQSection, type FAQSectionProps, type FAQSectionType, type FAQStruct, Flex, type FlexProps, type FontRegistry, FontSizeSelector, Footer, type FooterProps, GetDirections, type GetDirectionsProps, Grid, type GridProps, Header, type HeaderProps, Heading, type HeadingLevel, type HeadingProps, HeadingText, type HeadingTextProps, HeroSection, type HeroSectionProps, type HeroSectionType, HoursStatus, type HoursStatusProps, HoursTable, type HoursTableProps, Image, type ImageProps, ImageWrapper, type ImageWrapperProps, InsightCard, type InsightCardProps, InsightSection, type InsightSectionProps, type InsightSectionType, type InsightStruct, LayoutBlockCategory, LayoutBlockCategoryComponents, type LayoutBlockCategoryProps, LocatorCategory, LocatorCategoryComponents, type LocatorCategoryProps, LocatorComponent, type LocatorProps, MapboxStaticMap, type MapboxStaticProps, MaybeLink, type MaybeLinkProps, MaybeRTF, type MaybeRTFProps, type Migration, type MigrationAction, type MigrationRegistry, NearbyLocationsSection, type NearbyLocationsSectionProps, OptionalNumberField, type OptionalNumberFieldProps, OtherCategory, OtherCategoryComponents, type OtherCategoryProps, PageSection, PageSectionCategory, PageSectionCategoryComponents, type PageSectionCategoryProps, type PageSectionProps, PersonCard, type PersonCardProps, type PersonStruct, Phone, PhoneAtom, type PhoneAtomProps, type PhoneProps, PhotoGallerySection, type PhotoGallerySectionProps, ProductCard, type ProductCardProps, ProductSection, type ProductSectionProps, type ProductSectionType, type ProductStruct, PromoSection, type PromoSectionProps, type PromoSectionType, type RTF2, type RenderYextEntityFieldSelectorProps, SectionContainer, type SectionContainerProps, SpacingSelector, TailwindConfigContext, TeamSection, type TeamSectionProps, type TeamSectionType, TemplatePropsContext, TestimonialCard, type TestimonialCardProps, TestimonialSection, type TestimonialSectionProps, type TestimonialSectionType, type TestimonialStruct, TextList, type TextListProps, type ThemeConfig, ThemeOptions, Timestamp, TimestampOption, type TimestampProps, VisibilityWrapper, VisualEditorProvider, type YextCollection, YextCollectionSubfieldSelector, type YextEntityField, YextEntityFieldSelector, YextField, type YextFieldDefinition, type YextSchemaField, type YextStructEntityField, YextStructFieldSelector, applyAnalytics, applyHeaderScript, applyTheme, backgroundColors, bodyVariants, buttonVariants, constructFontSelectOptions, createSearchAnalyticsConfig, createSearchHeadlessConfig, defaultFonts, defaultThemeConfig, defaultThemeTailwindExtensions, fetchNearbyLocations, getFontWeightOptions, getFontWeightOverrideOptions, getPageMetadata, handleResolveFieldsForCollections, headingVariants, migrate, migrationRegistry, normalizeSlug, resolveYextEntityField, resolveYextStructField, resolveYextSubfield, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, useBackground, useDocument, useEntityFields, usePlatformBridgeDocument, usePlatformBridgeEntityFields, useTailwindConfig, useTemplateProps, validateSlug };
1408
+ export { Address, type AddressProps, Background, type BackgroundProps, BackgroundProvider, type BackgroundStyle, BannerSection, type BannerSectionProps, BasicSelector, Body, type BodyProps, BodyText, type BodyTextProps, BorderRadiusSelector, BreadcrumbsSection, type BreadcrumbsSectionProps, Button, type ButtonProps, CTA, type CTAProps, CTAWrapper, type CTAWrapperProps, type ComponentField, ComponentFields, ContentBlockCategory, ContentBlockCategoryComponents, type ContentBlockCategoryProps, CoreInfoSection, type CoreInfoSectionProps, Directory, DirectoryCategory, DirectoryCategoryComponents, type DirectoryCategoryProps, type DirectoryProps, Editor, Emails, type EmailsProps, EntityField, EventSection, type EventSectionProps, type EventSectionType, type EventStruct, FAQSection, type FAQSectionProps, type FAQSectionType, type FAQStruct, Flex, type FlexProps, type FontRegistry, FontSizeSelector, Footer, type FooterProps, GetDirections, type GetDirectionsProps, Grid, type GridProps, Header, type HeaderProps, Heading, type HeadingLevel, type HeadingProps, HeadingText, type HeadingTextProps, HeroSection, type HeroSectionProps, type HeroSectionType, HoursStatus, HoursStatusAtom, type HoursStatusAtomProps, type HoursStatusProps, HoursTable, HoursTableAtom, type HoursTableAtomProps, type HoursTableProps, Image, type ImageProps, ImageWrapper, type ImageWrapperProps, InsightSection, type InsightSectionProps, type InsightSectionType, type InsightStruct, KnowledgeGraphIcon, LayoutBlockCategory, LayoutBlockCategoryComponents, type LayoutBlockCategoryProps, LocatorCategory, LocatorCategoryComponents, type LocatorCategoryProps, LocatorComponent, type LocatorProps, MapboxStaticMap, type MapboxStaticProps, MaybeLink, type MaybeLinkProps, MaybeRTF, type MaybeRTFProps, type Migration, type MigrationAction, type MigrationRegistry, NearbyLocationsSection, type NearbyLocationsSectionProps, OptionalNumberField, type OptionalNumberFieldProps, OtherCategory, OtherCategoryComponents, type OtherCategoryProps, PageSection, PageSectionCategory, PageSectionCategoryComponents, type PageSectionCategoryProps, type PageSectionProps, type PersonStruct, Phone, PhoneAtom, type PhoneAtomProps, type PhoneProps, PhotoGallerySection, type PhotoGallerySectionProps, ProductSection, type ProductSectionProps, type ProductSectionType, type ProductStruct, PromoSection, type PromoSectionProps, type PromoSectionType, type RenderYextEntityFieldSelectorProps, type RichText, SectionContainer, type SectionContainerProps, SpacingSelector, TailwindConfigContext, TeamSection, type TeamSectionProps, type TeamSectionType, TemplatePropsContext, TestimonialSection, type TestimonialSectionProps, type TestimonialSectionType, type TestimonialStruct, TextList, type TextListProps, type ThemeConfig, ThemeOptions, Timestamp, TimestampOption, type TimestampProps, type TranslatableCTA, type TranslatableRichText, TranslatableRichTextField, type TranslatableString, TranslatableStringField, VisibilityWrapper, VisualEditorProvider, type YextEntityField, YextEntityFieldSelector, YextField, type YextFieldDefinition, type YextSchemaField, type YextStructEntityField, YextStructFieldSelector, addHeadingAlignmentMigration, applyAnalytics, applyHeaderScript, applyTheme, backgroundColors, bodyVariants, buttonVariants, constructFontSelectOptions, createSearchAnalyticsConfig, createSearchHeadlessConfig, defaultFonts, defaultThemeConfig, defaultThemeTailwindExtensions, fetchLocalesToPathsForEntity, fetchNearbyLocations, getFontWeightOptions, getFontWeightOverrideOptions, getPageMetadata, headingVariants, i18nComponentsInstance, i18nPlatformInstance, migrate, migrationRegistry, msg, normalizeSlug, pt, resolveTranslatableRichText, resolveTranslatableString, resolveYextEntityField, resolveYextStructField, themeManagerCn, themeManagerTwMergeConfiguration, themeResolver, useBackground, useDocument, useEntityFields, usePlatformBridgeDocument, usePlatformBridgeEntityFields, usePlatformTranslation, useTailwindConfig, useTemplateProps, validateSlug, withPropOverrides };