@revturbine/sdk 0.7.3 → 0.7.5

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.
Files changed (27) hide show
  1. package/dist/headless.d.ts +205 -48
  2. package/dist/headless.js +2 -2
  3. package/dist/headless.js.map +1 -1
  4. package/dist/index.d.ts +342 -145
  5. package/dist/index.js +2 -2
  6. package/dist/index.js.map +1 -1
  7. package/dist/types/web-sdk/customer-side.d.ts +27 -7
  8. package/dist/types/web-sdk/customer-side.d.ts.map +1 -1
  9. package/dist/types/web-sdk/placements/PlacementRenderer.d.ts +4 -2
  10. package/dist/types/web-sdk/placements/PlacementRenderer.d.ts.map +1 -1
  11. package/dist/types/web-sdk/placements/SurfaceSlotComponent.d.ts +3 -1
  12. package/dist/types/web-sdk/placements/SurfaceSlotComponent.d.ts.map +1 -1
  13. package/dist/types/web-sdk/placements/builtin.d.ts +18 -0
  14. package/dist/types/web-sdk/placements/builtin.d.ts.map +1 -1
  15. package/dist/types/web-sdk/placements/cta-resolvers.d.ts +33 -1
  16. package/dist/types/web-sdk/placements/cta-resolvers.d.ts.map +1 -1
  17. package/dist/types/web-sdk/placements/index.d.ts +7 -2
  18. package/dist/types/web-sdk/placements/index.d.ts.map +1 -1
  19. package/dist/types/web-sdk/placements/registry.d.ts +5 -3
  20. package/dist/types/web-sdk/placements/registry.d.ts.map +1 -1
  21. package/dist/types/web-sdk/placements/slots/index.d.ts +27 -1
  22. package/dist/types/web-sdk/placements/slots/index.d.ts.map +1 -1
  23. package/dist/types/web-sdk/placements/types.d.ts +16 -5
  24. package/dist/types/web-sdk/placements/types.d.ts.map +1 -1
  25. package/dist/types/web-sdk/placements/useSurfaceSlot.d.ts +3 -1
  26. package/dist/types/web-sdk/placements/useSurfaceSlot.d.ts.map +1 -1
  27. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -52,6 +52,28 @@ declare const BillingCadenceSchema: z.ZodEnum<{
52
52
  one_time: "one_time";
53
53
  usage_based: "usage_based";
54
54
  }>;
55
+ declare const COMPONENT_TYPE_VALUES: readonly ["banner", "modal", "tooltip", "sidebar", "inline", "toast", "fullscreen", "email", "sms", "push", "in_page", "button", "full_page", "agent", "cli", "custom"];
56
+ /** What rendering component a template uses. Wire values are unchanged from SurfaceType. */
57
+ declare const ComponentTypeSchema: z.ZodEnum<{
58
+ custom: "custom";
59
+ push: "push";
60
+ banner: "banner";
61
+ modal: "modal";
62
+ tooltip: "tooltip";
63
+ sidebar: "sidebar";
64
+ inline: "inline";
65
+ toast: "toast";
66
+ fullscreen: "fullscreen";
67
+ email: "email";
68
+ sms: "sms";
69
+ in_page: "in_page";
70
+ button: "button";
71
+ full_page: "full_page";
72
+ agent: "agent";
73
+ cli: "cli";
74
+ }>;
75
+ type ComponentType$1 = (typeof COMPONENT_TYPE_VALUES)[number];
76
+ /** @deprecated Use {@link ComponentTypeSchema}. */
55
77
  declare const SurfaceTypeSchema: z.ZodEnum<{
56
78
  custom: "custom";
57
79
  push: "push";
@@ -70,6 +92,80 @@ declare const SurfaceTypeSchema: z.ZodEnum<{
70
92
  agent: "agent";
71
93
  cli: "cli";
72
94
  }>;
95
+ /** Built-in template catalog. Customer-defined template ids remain free strings. */
96
+ declare const DefaultTemplateIdsSchema: z.ZodEnum<{
97
+ push: "push";
98
+ banner: "banner";
99
+ tooltip: "tooltip";
100
+ toast: "toast";
101
+ email: "email";
102
+ sms: "sms";
103
+ button: "button";
104
+ cli: "cli";
105
+ plans_page_ctas: "plans_page_ctas";
106
+ plans_page_full: "plans_page_full";
107
+ inline_gate_message: "inline_gate_message";
108
+ in_page_card: "in_page_card";
109
+ usage_counter: "usage_counter";
110
+ credit_counter: "credit_counter";
111
+ trial_counter: "trial_counter";
112
+ modal_optional: "modal_optional";
113
+ modal_blocking: "modal_blocking";
114
+ agent_connector: "agent_connector";
115
+ custom_in_app: "custom_in_app";
116
+ }>;
117
+ /** @deprecated These values identify default templates, not rendering types. */
118
+ declare const StudioSurfaceTypeSchema: z.ZodEnum<{
119
+ push: "push";
120
+ banner: "banner";
121
+ tooltip: "tooltip";
122
+ toast: "toast";
123
+ email: "email";
124
+ sms: "sms";
125
+ button: "button";
126
+ cli: "cli";
127
+ plans_page_ctas: "plans_page_ctas";
128
+ plans_page_full: "plans_page_full";
129
+ inline_gate_message: "inline_gate_message";
130
+ in_page_card: "in_page_card";
131
+ usage_counter: "usage_counter";
132
+ credit_counter: "credit_counter";
133
+ trial_counter: "trial_counter";
134
+ modal_optional: "modal_optional";
135
+ modal_blocking: "modal_blocking";
136
+ agent_connector: "agent_connector";
137
+ custom_in_app: "custom_in_app";
138
+ }>;
139
+ /** Canonical Appendix A template → rendering-component mapping. */
140
+ declare const DEFAULT_TEMPLATE_COMPONENT_TYPES: {
141
+ readonly button: "button";
142
+ readonly plans_page_ctas: "in_page";
143
+ readonly plans_page_full: "full_page";
144
+ readonly inline_gate_message: "inline";
145
+ readonly tooltip: "tooltip";
146
+ readonly in_page_card: "in_page";
147
+ readonly usage_counter: "in_page";
148
+ readonly credit_counter: "in_page";
149
+ readonly trial_counter: "in_page";
150
+ readonly banner: "banner";
151
+ readonly modal_optional: "modal";
152
+ readonly modal_blocking: "modal";
153
+ readonly toast: "toast";
154
+ readonly email: "email";
155
+ readonly sms: "sms";
156
+ readonly push: "push";
157
+ readonly cli: "cli";
158
+ readonly agent_connector: "agent";
159
+ readonly custom_in_app: "custom";
160
+ };
161
+ /**
162
+ * Built-in payload template ids, including the legacy seed handles still read by
163
+ * local Playbooks. Resolver code consumes this schema-owned table rather than
164
+ * carrying a private patch map.
165
+ */
166
+ declare const BUILT_IN_TEMPLATE_COMPONENT_TYPES: Readonly<Record<string, ComponentType$1>>;
167
+ /** Resolve a canonical ComponentType or a legacy default-template classification. */
168
+ declare function resolveComponentType(value: string): ComponentType$1 | undefined;
73
169
  /**
74
170
  * The entitlement verdict vocabulary, declared once (plan 182 REQ-8).
75
171
  *
@@ -166,28 +262,6 @@ declare const SeveritySchema: z.ZodEnum<{
166
262
  warning: "warning";
167
263
  critical: "critical";
168
264
  }>;
169
- /** Studio surface type — the full set used by SurfaceTemplate and the Playbook. */
170
- declare const StudioSurfaceTypeSchema: z.ZodEnum<{
171
- push: "push";
172
- banner: "banner";
173
- tooltip: "tooltip";
174
- toast: "toast";
175
- email: "email";
176
- sms: "sms";
177
- button: "button";
178
- cli: "cli";
179
- plans_page_ctas: "plans_page_ctas";
180
- plans_page_full: "plans_page_full";
181
- inline_gate_message: "inline_gate_message";
182
- in_page_card: "in_page_card";
183
- usage_counter: "usage_counter";
184
- credit_counter: "credit_counter";
185
- trial_counter: "trial_counter";
186
- modal_optional: "modal_optional";
187
- modal_blocking: "modal_blocking";
188
- agent_connector: "agent_connector";
189
- custom_in_app: "custom_in_app";
190
- }>;
191
265
  /** CTA action type — canonical set of user journey actions. */
192
266
  declare const CtaActionTypeSchema: z.ZodEnum<{
193
267
  custom: "custom";
@@ -2517,7 +2591,24 @@ declare const SurfaceTemplateSchema: z.ZodObject<{
2517
2591
  anchor_id: z.ZodString;
2518
2592
  name: z.ZodString;
2519
2593
  handle: z.ZodString;
2520
- surface_type: z.ZodEnum<{
2594
+ surface_type: z.ZodUnion<readonly [z.ZodEnum<{
2595
+ custom: "custom";
2596
+ push: "push";
2597
+ banner: "banner";
2598
+ modal: "modal";
2599
+ tooltip: "tooltip";
2600
+ sidebar: "sidebar";
2601
+ inline: "inline";
2602
+ toast: "toast";
2603
+ fullscreen: "fullscreen";
2604
+ email: "email";
2605
+ sms: "sms";
2606
+ in_page: "in_page";
2607
+ button: "button";
2608
+ full_page: "full_page";
2609
+ agent: "agent";
2610
+ cli: "cli";
2611
+ }>, z.ZodEnum<{
2521
2612
  push: "push";
2522
2613
  banner: "banner";
2523
2614
  tooltip: "tooltip";
@@ -2537,7 +2628,7 @@ declare const SurfaceTemplateSchema: z.ZodObject<{
2537
2628
  modal_blocking: "modal_blocking";
2538
2629
  agent_connector: "agent_connector";
2539
2630
  custom_in_app: "custom_in_app";
2540
- }>;
2631
+ }>]>;
2541
2632
  field_definitions: z.ZodDefault<z.ZodArray<z.ZodObject<{
2542
2633
  name: z.ZodString;
2543
2634
  field_type: z.ZodEnum<{
@@ -13488,6 +13579,7 @@ type ChangeLogAction = z.infer<typeof ChangeLogActionSchema>;
13488
13579
  type ChangeLogEntry = z.infer<typeof ChangeLogEntrySchema>;
13489
13580
  type ClientContext = z.infer<typeof ClientContextSchema>;
13490
13581
  type CohortMonth = z.infer<typeof CohortMonthSchema>;
13582
+ type ComponentType = z.infer<typeof ComponentTypeSchema>;
13491
13583
  type ContentPayloadSegmentEntry = z.infer<typeof ContentPayloadSegmentEntrySchema>;
13492
13584
  type ContentPlacementPayload = z.infer<typeof ContentPlacementPayloadSchema>;
13493
13585
  type ContentPromotion = z.infer<typeof ContentPromotionSchema>;
@@ -13505,6 +13597,7 @@ type CustomerOverride = z.infer<typeof CustomerOverrideSchema>;
13505
13597
  type CustomerOverrideStatus = z.infer<typeof CustomerOverrideStatusSchema>;
13506
13598
  type CustomerOverrideType = z.infer<typeof CustomerOverrideTypeSchema>;
13507
13599
  type Customer = z.infer<typeof CustomerSchema>;
13600
+ type DefaultTemplateIds = z.infer<typeof DefaultTemplateIdsSchema>;
13508
13601
  type DetectorRequirements = z.infer<typeof DetectorRequirementsSchema>;
13509
13602
  type DimensionCategory = z.infer<typeof DimensionCategorySchema>;
13510
13603
  type DimensionSourceType = z.infer<typeof DimensionSourceTypeSchema>;
@@ -13757,7 +13850,9 @@ source: string, legacyTargetDefaults?: LegacyConfigTargetDefaults): Playbook | u
13757
13850
  * The web-sdk re-exports them for backward compatibility.
13758
13851
  */
13759
13852
 
13760
- type RevTurbineSurfaceType = SurfaceType;
13853
+ type RevTurbineComponentType = ComponentType;
13854
+ /** @deprecated Use {@link RevTurbineComponentType}. */
13855
+ type RevTurbineSurfaceType = RevTurbineComponentType;
13761
13856
  /**
13762
13857
  * Full placement output for rich rendering.
13763
13858
  * Re-exported from the schema's `PlacementDecisionOutput`.
@@ -13813,14 +13908,16 @@ interface RevTurbinePlacementDecisionInput {
13813
13908
  *
13814
13909
  * Mirrors the six-stage runtime model in placement-prioritization.md §1
13815
13910
  * (Qualification includes the slot match) and the `--slot` CLI contract in
13816
- * cli.md (`getPlacement({ slotId, surfaceType?, planHandle? })`). Kept in core so
13911
+ * cli.md (`getPlacement({ slotId, componentType?, planHandle? })`). Kept in core so
13817
13912
  * the SDK, CLI, and server share one shape (Appendix C: the same shared scaffold
13818
13913
  * logic runs both sides).
13819
13914
  */
13820
13915
  interface RevTurbinePlacementRequestConfig$1 {
13821
13916
  /** Surface slot id to resolve (matches `placement_slots[].id`). */
13822
13917
  slotId?: string;
13823
- /** Surface type; disambiguates a slot that can render more than one surface. */
13918
+ /** Component type; disambiguates a slot that can render more than one component. */
13919
+ componentType?: RevTurbineComponentType;
13920
+ /** @deprecated Use {@link componentType}. */
13824
13921
  surfaceType?: RevTurbineSurfaceType;
13825
13922
  /** Entitlement handle for entitlement-gated (Access Gate) resolution. */
13826
13923
  entitlementHandle?: string;
@@ -15916,15 +16013,20 @@ interface PlacementSlotType<P extends PlacementSlotProps = PlacementSlotProps> {
15916
16013
  label: string;
15917
16014
  /** Description of this placement type. */
15918
16015
  description: string;
15919
- /** The surface type this slot type handles, or 'custom' for custom types. */
15920
- surfaceType: RevTurbineSurfaceType;
16016
+ /** The canonical component type this renderer handles. */
16017
+ componentType: RevTurbineComponentType;
16018
+ /**
16019
+ * Canonical content fields this component renders. Validation and Studio
16020
+ * previews use this contract to identify authored fields the component ignores.
16021
+ */
16022
+ renderedFields: readonly string[];
15921
16023
  /** The React component that renders this placement type. */
15922
16024
  component: React.ComponentType<P>;
15923
16025
  /** Default props merged with resolved props before rendering. */
15924
16026
  defaultProps?: Partial<P>;
15925
16027
  /**
15926
16028
  * Predicate to determine if this slot type can handle a given output.
15927
- * Defaults to matching on `surfaceType`. Custom implementations can
16029
+ * Defaults to matching on `componentType`. Custom implementations can
15928
16030
  * match on template name, content shape, etc.
15929
16031
  */
15930
16032
  accepts?: (output: PlacementOutput) => boolean;
@@ -15940,9 +16042,15 @@ interface PlacementSlotType<P extends PlacementSlotProps = PlacementSlotProps> {
15940
16042
  * Options for registering a custom placement type.
15941
16043
  * Identical to PlacementSlotType but all fields are required except defaultProps, accepts, and priority.
15942
16044
  */
15943
- type RegisterPlacementSlotTypeOptions<P extends PlacementSlotProps = PlacementSlotProps> = Omit<PlacementSlotType<P>, 'accepts' | 'defaultProps' | 'priority'> & {
16045
+ type RegisterPlacementSlotTypeOptions<P extends PlacementSlotProps = PlacementSlotProps> = Omit<PlacementSlotType<P>, 'componentType' | 'accepts' | 'defaultProps' | 'priority' | 'renderedFields'> & {
16046
+ /** Canonical component type handled by this renderer. */
16047
+ componentType?: RevTurbineComponentType;
16048
+ /** @deprecated Use `componentType`. */
16049
+ surfaceType?: RevTurbineComponentType;
15944
16050
  defaultProps?: Partial<P>;
15945
16051
  accepts?: (output: PlacementOutput) => boolean;
16052
+ /** Machine-readable fields rendered by this component. */
16053
+ renderedFields?: readonly string[];
15946
16054
  /** Resolution priority (default `0`). Higher values are evaluated first. */
15947
16055
  priority?: number;
15948
16056
  };
@@ -16019,7 +16127,7 @@ interface PlacementCustomCode {
16019
16127
  */
16020
16128
  declare class PlacementTypeRegistry {
16021
16129
  private readonly types;
16022
- private readonly surfaceIndex;
16130
+ private readonly componentIndex;
16023
16131
  /**
16024
16132
  * Register a placement slot type. If a type with the same id already exists,
16025
16133
  * it is replaced (allows customer overrides of built-in types).
@@ -16052,7 +16160,9 @@ declare class PlacementTypeRegistry {
16052
16160
  /**
16053
16161
  * List slot types for a specific surface type.
16054
16162
  */
16055
- listBySurfaceType(surfaceType: RevTurbineSurfaceType): PlacementSlotType[];
16163
+ listByComponentType(componentType: RevTurbineComponentType): PlacementSlotType[];
16164
+ /** @deprecated Use {@link listByComponentType}. */
16165
+ listBySurfaceType(componentType: RevTurbineComponentType): PlacementSlotType[];
16056
16166
  /**
16057
16167
  * Check if a slot type id is registered.
16058
16168
  */
@@ -16096,6 +16206,134 @@ declare function getDefaultRegistry(): PlacementTypeRegistry;
16096
16206
  */
16097
16207
  declare function resetDefaultRegistry(): void;
16098
16208
 
16209
+ /** Context supplied to an app-owned server mutation handler. */
16210
+ interface ServerActionContext {
16211
+ /** The placement whose CTA initiated the action. */
16212
+ placement: CtaResolverContext['placement'];
16213
+ /** The authored CTA action type (v1 documents `extend_trial`). */
16214
+ actionType: string;
16215
+ /** Tenant-authored custom CTA parameters, when present. */
16216
+ params: Record<string, unknown>;
16217
+ }
16218
+ /** Result returned after the app's backend accepts or refuses the mutation. */
16219
+ interface ServerActionResult {
16220
+ success: boolean;
16221
+ /** Fresh server-authoritative context to merge after a successful mutation. */
16222
+ userContext?: UserContextInput;
16223
+ }
16224
+ /** App handler that calls its own backend for a server-owned mutation. */
16225
+ type ServerActionHandler = (context: ServerActionContext) => Promise<ServerActionResult>;
16226
+ /** Map of authored CTA action type to app-owned server mutation handler. */
16227
+ type ServerActionMap = Record<string, ServerActionHandler>;
16228
+ interface ServerActionResolverCallbacks {
16229
+ applyUserContext: (context: UserContextInput) => void;
16230
+ trackResult: (context: ServerActionContext, success: boolean, error?: Error) => void | Promise<void>;
16231
+ }
16232
+ /**
16233
+ * Registry mapping CTA action types to resolver functions.
16234
+ *
16235
+ * Customers register a {@link CtaResolver} against an action type — typically a
16236
+ * tenant-defined custom action name surfaced through `parseUiPath` — so the
16237
+ * {@link PlacementRenderer} can dispatch a CTA click to dedicated logic instead
16238
+ * of the generic `onCtaClick` callback. Built-in action types may also be
16239
+ * overridden by registering a resolver for them.
16240
+ */
16241
+ declare class CtaResolverRegistry {
16242
+ private readonly resolvers;
16243
+ /**
16244
+ * Register a resolver for an action type. Re-registering the same type
16245
+ * replaces the previous resolver (and warns), matching the slot-type
16246
+ * registry's override semantics.
16247
+ */
16248
+ register(type: string, resolver: CtaResolver): void;
16249
+ /**
16250
+ * Remove the resolver for an action type.
16251
+ * Returns true if a resolver was registered and removed.
16252
+ */
16253
+ unregister(type: string): boolean;
16254
+ /** Look up the resolver registered for an action type, if any. */
16255
+ get(type: string): CtaResolver | undefined;
16256
+ /** Whether a resolver is registered for an action type. */
16257
+ has(type: string): boolean;
16258
+ /** Remove every registered resolver. */
16259
+ clear(): void;
16260
+ }
16261
+ /**
16262
+ * Get or create the default global CTA resolver registry. The
16263
+ * {@link PlacementRenderer} uses this when no `ctaResolvers` prop is supplied.
16264
+ */
16265
+ declare function getDefaultCtaResolverRegistry(): CtaResolverRegistry;
16266
+ /**
16267
+ * Reset the default CTA resolver registry (useful for testing and for tearing
16268
+ * down tenant-specific resolvers).
16269
+ */
16270
+ declare function resetDefaultCtaResolverRegistry(): void;
16271
+ /**
16272
+ * Register a {@link CtaResolver} on the default global registry.
16273
+ *
16274
+ * This is the ergonomic entry point for customers:
16275
+ *
16276
+ * ```ts
16277
+ * registerCtaResolver('connect_crm', (uiPath) => {
16278
+ * openCrmModal(uiPath.url, uiPath.params);
16279
+ * });
16280
+ * ```
16281
+ */
16282
+ declare function registerCtaResolver(type: string, resolver: CtaResolver): void;
16283
+ /**
16284
+ * Remove a resolver from the default global registry.
16285
+ * Returns true if a resolver was registered and removed.
16286
+ */
16287
+ declare function unregisterCtaResolver(type: string): boolean;
16288
+ /**
16289
+ * Bridge an SDK-init `uiPathResolvers` map into a {@link CtaResolverRegistry}
16290
+ * so resolvers supplied at init actually dispatch on CTA clicks (plan 174
16291
+ * TASK-1 / F-70). Called by the SDK constructor after the init-time coverage
16292
+ * check runs.
16293
+ *
16294
+ * Explicit registrations take precedence: an action type already present in
16295
+ * the registry (via {@link registerCtaResolver} or a direct `register`) is
16296
+ * left untouched, and a later explicit registration replaces the bridged
16297
+ * entry through the registry's normal override semantics. Each bridged
16298
+ * resolver receives the placement's raw authored `cta_path` record — the same
16299
+ * shape init-time validation checked. A rejected async resolver is logged,
16300
+ * never thrown into the click handler.
16301
+ *
16302
+ * Returns a cleanup function that unregisters exactly the entries this call
16303
+ * bridged, skipping any the customer has since replaced.
16304
+ */
16305
+ declare function bridgeUiPathResolversIntoRegistry(resolvers: Record<string, (uiPath: JsonObject) => void | Promise<void>>, registry?: CtaResolverRegistry): () => void;
16306
+ /**
16307
+ * Register the built-in `snooze` CTA resolver (plan 174 TASK-6 companion /
16308
+ * Q-5): an authored `snooze` ui-path dispatches to the SDK's remind-later
16309
+ * verb, honoring a payload-authored `remind_later_minutes` window when the
16310
+ * placement output carries one (plan 167; the verb's default matches the
16311
+ * 60-minute tenant default). Called by the SDK constructor AFTER the init
16312
+ * `uiPathResolvers` bridge, and skips registration when a `snooze` resolver
16313
+ * already exists — so a customer's resolver (init map or explicit
16314
+ * registration, before or after init) always wins. Returns a cleanup that
16315
+ * unregisters only this entry.
16316
+ */
16317
+ declare function registerBuiltinSnoozeResolver(snooze: (outputId: string, seconds?: number) => void, registry?: CtaResolverRegistry): () => void;
16318
+ /**
16319
+ * Register app-owned server actions behind the existing CTA registry.
16320
+ *
16321
+ * Called after the init `uiPathResolvers` bridge and built-ins, so any resolver
16322
+ * the customer registered through those surfaces wins. A later explicit
16323
+ * `registerCtaResolver()` still replaces this entry normally. Handler failures
16324
+ * are contained, reported, and tracked without applying context.
16325
+ */
16326
+ declare function registerServerActionResolvers(actions: ServerActionMap, callbacks: ServerActionResolverCallbacks, registry?: CtaResolverRegistry): () => void;
16327
+ /**
16328
+ * Dispatch a CTA activation: invoke the registered resolver for the action
16329
+ * type if one exists, otherwise fall back to the supplied callback.
16330
+ *
16331
+ * Returns `true` when a registered resolver handled the click, `false` when it
16332
+ * fell through to `fallback`. A registered resolver fully handles the action —
16333
+ * the fallback is not also called.
16334
+ */
16335
+ declare function dispatchCtaClick(uiPath: PlacementUiPath, context: CtaResolverContext, resolvers: CtaResolverRegistry, fallback?: (uiPath: PlacementUiPath) => void): boolean;
16336
+
16099
16337
  /** The spec-defined per-placement recommendation strategy. */
16100
16338
  type RecommendationStrategy = 'next_tier_up' | 'best_value' | 'custom';
16101
16339
 
@@ -16309,7 +16547,9 @@ type EntitlementStatus = EntitlementStatus$1;
16309
16547
  interface RevTurbinePlacementRequestConfig {
16310
16548
  /** Slot identifier used for slot-based decisions. */
16311
16549
  slotId?: string;
16312
- /** Surface type declared by the slot integration point. */
16550
+ /** Component type declared by the slot integration point. */
16551
+ componentType?: RevTurbineComponentType;
16552
+ /** @deprecated Use `componentType`. */
16313
16553
  surfaceType?: RevTurbineSurfaceType;
16314
16554
  /** Entitlement handle used for entitlement-based decisions. */
16315
16555
  entitlementHandle?: string;
@@ -16758,6 +16998,16 @@ interface RevTurbineInitOptions {
16758
16998
  domainProviders?: AnyDomainProvider[];
16759
16999
  /** Optional UI path resolver map used by `validateUiPathResolvers()`. */
16760
17000
  uiPathResolvers?: RevTurbineUiPathResolverMap;
17001
+ /**
17002
+ * App-owned handlers for CTA-triggered server mutations.
17003
+ *
17004
+ * A handler calls your backend and returns fresh server-authoritative user
17005
+ * context. On success the SDK merges that context and re-evaluates mounted
17006
+ * decisions. `extend_trial` is the documented v1 action. A matching
17007
+ * `uiPathResolvers` or explicit `registerCtaResolver()` entry takes
17008
+ * precedence.
17009
+ */
17010
+ serverActions?: ServerActionMap;
16761
17011
  user?: RevTurbineUserContext;
16762
17012
  /**
16763
17013
  * Mint a short-lived client-session token (`rt_client_`, plan 157) for the
@@ -17043,7 +17293,7 @@ declare function createLocalRuntimeConfig(options: RevTurbineInitBaseOptions & {
17043
17293
  *
17044
17294
  * Unlike {@link createLocalRuntimeConfig}, this helper always requires
17045
17295
  * `exportedConfig.content_ui_paths` and complete `uiPathResolvers` coverage at
17046
- * compile time for action types present in that exported config.
17296
+ * compile time for action types present in that Playbook.
17047
17297
  */
17048
17298
  declare function createStrictLocalRuntimeConfig<const TUiPaths extends readonly unknown[]>(options: RevTurbineInitBaseOptions & {
17049
17299
  localRuntime: RevTurbineLocalRuntimeOptions & ({
@@ -17070,6 +17320,8 @@ interface RevTurbineSlotPlacementRequestOptions {
17070
17320
  /** Optional context for entitlement-based placement requests. */
17071
17321
  interface RevTurbineEntitlementPlacementRequestOptions {
17072
17322
  slotId?: string;
17323
+ componentType?: RevTurbineComponentType;
17324
+ /** @deprecated Use `componentType`. */
17073
17325
  surfaceType?: RevTurbineSurfaceType;
17074
17326
  planHandle?: string;
17075
17327
  placementHandle?: string;
@@ -17077,6 +17329,8 @@ interface RevTurbineEntitlementPlacementRequestOptions {
17077
17329
  /** Optional context for chained placement requests. */
17078
17330
  interface RevTurbineChainedPlacementRequestOptions {
17079
17331
  slotId?: string;
17332
+ componentType?: RevTurbineComponentType;
17333
+ /** @deprecated Use `componentType`. */
17080
17334
  surfaceType?: RevTurbineSurfaceType;
17081
17335
  entitlementHandle?: string;
17082
17336
  planHandle?: string;
@@ -17084,7 +17338,7 @@ interface RevTurbineChainedPlacementRequestOptions {
17084
17338
  /**
17085
17339
  * Create a typed placement request for slot + surface lookups.
17086
17340
  */
17087
- declare function createSlotPlacementRequest(slotId: string, surfaceType: RevTurbineSurfaceType, options?: RevTurbineSlotPlacementRequestOptions): RevTurbinePlacementRequestConfig;
17341
+ declare function createSlotPlacementRequest(slotId: string, componentType: RevTurbineComponentType, options?: RevTurbineSlotPlacementRequestOptions): RevTurbinePlacementRequestConfig;
17088
17342
  /**
17089
17343
  * Create a typed placement request for entitlement-gated lookups.
17090
17344
  */
@@ -17341,8 +17595,10 @@ declare class RevTurbineCustomerSdk {
17341
17595
  private derivedPlacementBehaviorMemo;
17342
17596
  private readonly providerFailureSlotBehavior;
17343
17597
  private readonly uiPathResolvers;
17598
+ private readonly serverActions;
17344
17599
  private unbridgeUiPathCtaResolvers;
17345
17600
  private unregisterBuiltinSnoozeResolver;
17601
+ private unregisterServerActionResolvers;
17346
17602
  private readonly persistentStore;
17347
17603
  private readonly sessionStore;
17348
17604
  private readonly anonymousId;
@@ -18187,7 +18443,7 @@ declare class RevTurbineCustomerSdk {
18187
18443
  * `trial_converted` placements. The same evaluator runs in the Python server
18188
18444
  * SDK, so both decide identically.
18189
18445
  *
18190
- * Requires an initialized exported config (static mode, or any mode with a
18446
+ * Requires an initialized Playbook (static mode, or any mode with a
18191
18447
  * config provider). Returns the derived status, or `{ in_trial: false }`
18192
18448
  * when no active trial instance applies.
18193
18449
  *
@@ -19949,12 +20205,14 @@ interface components {
19949
20205
  anchor_id: components["schemas"]["Anon_fb248bf5a9f7_2"];
19950
20206
  name: components["schemas"]["Anon_4c26b3baab05_4"];
19951
20207
  handle: components["schemas"]["Anon_af12d548dbee_4"];
19952
- surface_type: components["schemas"]["Anon_5bda92aa4322"];
20208
+ surface_type: components["schemas"]["Anon_b5b008cadebe"];
19953
20209
  field_definitions?: components["schemas"]["Anon_4a3cd2d08b03"];
19954
20210
  description?: components["schemas"]["Anon_ee9224780226_1"];
19955
20211
  };
19956
20212
  /** @enum {string} */
19957
- StudioSurfaceType: "button" | "plans_page_ctas" | "plans_page_full" | "inline_gate_message" | "tooltip" | "in_page_card" | "usage_counter" | "credit_counter" | "trial_counter" | "banner" | "modal_optional" | "modal_blocking" | "toast" | "email" | "sms" | "push" | "cli" | "agent_connector" | "custom_in_app";
20213
+ ComponentType: "banner" | "modal" | "tooltip" | "sidebar" | "inline" | "toast" | "fullscreen" | "email" | "sms" | "push" | "in_page" | "button" | "full_page" | "agent" | "cli" | "custom";
20214
+ /** @enum {string} */
20215
+ DefaultTemplateIds: "button" | "plans_page_ctas" | "plans_page_full" | "inline_gate_message" | "tooltip" | "in_page_card" | "usage_counter" | "credit_counter" | "trial_counter" | "banner" | "modal_optional" | "modal_blocking" | "toast" | "email" | "sms" | "push" | "cli" | "agent_connector" | "custom_in_app";
19958
20216
  FieldDefinition: {
19959
20217
  name: components["schemas"]["Anon_9ac136edb99a_1"];
19960
20218
  field_type: components["schemas"]["TemplateFieldType"];
@@ -20724,7 +20982,7 @@ interface components {
20724
20982
  Anon_fb248bf5a9f7_2: string;
20725
20983
  Anon_4c26b3baab05_4: components["schemas"]["Anon_52ba84a4bbf3"];
20726
20984
  Anon_af12d548dbee_4: components["schemas"]["Anon_0eb2e3b6e08c"];
20727
- Anon_5bda92aa4322: components["schemas"]["StudioSurfaceType"];
20985
+ Anon_b5b008cadebe: components["schemas"]["ComponentType"] | components["schemas"]["DefaultTemplateIds"];
20728
20986
  /** @default [] */
20729
20987
  Anon_4a3cd2d08b03: components["schemas"]["Anon_614b5f6483c2"];
20730
20988
  Anon_614b5f6483c2: components["schemas"]["FieldDefinition"][];
@@ -21827,7 +22085,7 @@ interface components {
21827
22085
  sequence: components["schemas"]["Anon_ffffc3c874cb_1"];
21828
22086
  base_sequence: components["schemas"]["Anon_71a2fb329804_1"];
21829
22087
  surface_slot_handle: components["schemas"]["Anon_872e58432369_3"];
21830
- surface_type: components["schemas"]["Anon_d8a06421c676"];
22088
+ surface_type: components["schemas"]["Anon_67e8169f51c4"];
21831
22089
  surface_template_ids: components["schemas"]["Anon_f8dbfffc0ce2_16"];
21832
22090
  surface_slot_category: components["schemas"]["Anon_28f393a0fbc4"];
21833
22091
  first_seen: components["schemas"]["Anon_be3e2585472d_4"];
@@ -21835,8 +22093,6 @@ interface components {
21835
22093
  status: components["schemas"]["Anon_4bdd7a28c3fc"];
21836
22094
  placement_count: components["schemas"]["Anon_b32f11b2ff5e_2"];
21837
22095
  };
21838
- /** @enum {string} */
21839
- SurfaceType: "banner" | "modal" | "tooltip" | "sidebar" | "inline" | "toast" | "fullscreen" | "email" | "sms" | "push" | "in_page" | "button" | "full_page" | "agent" | "cli" | "custom";
21840
22096
  Customer: {
21841
22097
  id: components["schemas"]["Anon_fb248bf5a9f7_9"];
21842
22098
  created_at: components["schemas"]["Anon_be3e2585472d_2"];
@@ -23308,7 +23564,7 @@ interface components {
23308
23564
  Anon_96f9066c2fdc_45: components["schemas"]["Anon_00404e686415_48"];
23309
23565
  Anon_00404e686415_48: string;
23310
23566
  Anon_872e58432369_3: string;
23311
- Anon_d8a06421c676: components["schemas"]["SurfaceType"];
23567
+ Anon_67e8169f51c4: components["schemas"]["ComponentType"];
23312
23568
  /** @default [] */
23313
23569
  Anon_f8dbfffc0ce2_16: components["schemas"]["Anon_681004346c78_19"];
23314
23570
  Anon_681004346c78_19: string[];
@@ -23409,7 +23665,7 @@ interface components {
23409
23665
  Anon_fb248bf5a9f7_21: string;
23410
23666
  Anon_4c26b3baab05_19: components["schemas"]["Anon_52ba84a4bbf3_2"];
23411
23667
  Anon_af12d548dbee_23: components["schemas"]["Anon_0eb2e3b6e08c_1"];
23412
- Anon_5bda92aa4322_1: components["schemas"]["StudioSurfaceType"];
23668
+ Anon_b5b008cadebe_1: components["schemas"]["ComponentType"] | components["schemas"]["DefaultTemplateIds"];
23413
23669
  /** @default [] */
23414
23670
  Anon_3b6346b139c2: components["schemas"]["Anon_f836473839d1"];
23415
23671
  Anon_f836473839d1: components["schemas"]["FieldDefinitionOutput"][];
@@ -25022,7 +25278,7 @@ interface components {
25022
25278
  anchor_id: components["schemas"]["Anon_fb248bf5a9f7_21"];
25023
25279
  name: components["schemas"]["Anon_4c26b3baab05_19"];
25024
25280
  handle: components["schemas"]["Anon_af12d548dbee_23"];
25025
- surface_type: components["schemas"]["Anon_5bda92aa4322_1"];
25281
+ surface_type: components["schemas"]["Anon_b5b008cadebe_1"];
25026
25282
  field_definitions: components["schemas"]["Anon_3b6346b139c2"];
25027
25283
  description?: components["schemas"]["Anon_ee9224780226_6"];
25028
25284
  };
@@ -28122,102 +28378,6 @@ type PlacementProps = {
28122
28378
  */
28123
28379
  declare function Placement({ placement, userId, contextMode, overrides, traits, ttlMs, autoLoad, fallback, children, }: PlacementProps): React__default.JSX.Element;
28124
28380
 
28125
- /**
28126
- * Registry mapping CTA action types to resolver functions.
28127
- *
28128
- * Customers register a {@link CtaResolver} against an action type — typically a
28129
- * tenant-defined custom action name surfaced through `parseUiPath` — so the
28130
- * {@link PlacementRenderer} can dispatch a CTA click to dedicated logic instead
28131
- * of the generic `onCtaClick` callback. Built-in action types may also be
28132
- * overridden by registering a resolver for them.
28133
- */
28134
- declare class CtaResolverRegistry {
28135
- private readonly resolvers;
28136
- /**
28137
- * Register a resolver for an action type. Re-registering the same type
28138
- * replaces the previous resolver (and warns), matching the slot-type
28139
- * registry's override semantics.
28140
- */
28141
- register(type: string, resolver: CtaResolver): void;
28142
- /**
28143
- * Remove the resolver for an action type.
28144
- * Returns true if a resolver was registered and removed.
28145
- */
28146
- unregister(type: string): boolean;
28147
- /** Look up the resolver registered for an action type, if any. */
28148
- get(type: string): CtaResolver | undefined;
28149
- /** Whether a resolver is registered for an action type. */
28150
- has(type: string): boolean;
28151
- /** Remove every registered resolver. */
28152
- clear(): void;
28153
- }
28154
- /**
28155
- * Get or create the default global CTA resolver registry. The
28156
- * {@link PlacementRenderer} uses this when no `ctaResolvers` prop is supplied.
28157
- */
28158
- declare function getDefaultCtaResolverRegistry(): CtaResolverRegistry;
28159
- /**
28160
- * Reset the default CTA resolver registry (useful for testing and for tearing
28161
- * down tenant-specific resolvers).
28162
- */
28163
- declare function resetDefaultCtaResolverRegistry(): void;
28164
- /**
28165
- * Register a {@link CtaResolver} on the default global registry.
28166
- *
28167
- * This is the ergonomic entry point for customers:
28168
- *
28169
- * ```ts
28170
- * registerCtaResolver('connect_crm', (uiPath) => {
28171
- * openCrmModal(uiPath.url, uiPath.params);
28172
- * });
28173
- * ```
28174
- */
28175
- declare function registerCtaResolver(type: string, resolver: CtaResolver): void;
28176
- /**
28177
- * Remove a resolver from the default global registry.
28178
- * Returns true if a resolver was registered and removed.
28179
- */
28180
- declare function unregisterCtaResolver(type: string): boolean;
28181
- /**
28182
- * Bridge an SDK-init `uiPathResolvers` map into a {@link CtaResolverRegistry}
28183
- * so resolvers supplied at init actually dispatch on CTA clicks (plan 174
28184
- * TASK-1 / F-70). Called by the SDK constructor after the init-time coverage
28185
- * check runs.
28186
- *
28187
- * Explicit registrations take precedence: an action type already present in
28188
- * the registry (via {@link registerCtaResolver} or a direct `register`) is
28189
- * left untouched, and a later explicit registration replaces the bridged
28190
- * entry through the registry's normal override semantics. Each bridged
28191
- * resolver receives the placement's raw authored `cta_path` record — the same
28192
- * shape init-time validation checked. A rejected async resolver is logged,
28193
- * never thrown into the click handler.
28194
- *
28195
- * Returns a cleanup function that unregisters exactly the entries this call
28196
- * bridged, skipping any the customer has since replaced.
28197
- */
28198
- declare function bridgeUiPathResolversIntoRegistry(resolvers: Record<string, (uiPath: JsonObject) => void | Promise<void>>, registry?: CtaResolverRegistry): () => void;
28199
- /**
28200
- * Register the built-in `snooze` CTA resolver (plan 174 TASK-6 companion /
28201
- * Q-5): an authored `snooze` ui-path dispatches to the SDK's remind-later
28202
- * verb, honoring a payload-authored `remind_later_minutes` window when the
28203
- * placement output carries one (plan 167; the verb's default matches the
28204
- * 60-minute tenant default). Called by the SDK constructor AFTER the init
28205
- * `uiPathResolvers` bridge, and skips registration when a `snooze` resolver
28206
- * already exists — so a customer's resolver (init map or explicit
28207
- * registration, before or after init) always wins. Returns a cleanup that
28208
- * unregisters only this entry.
28209
- */
28210
- declare function registerBuiltinSnoozeResolver(snooze: (outputId: string, seconds?: number) => void, registry?: CtaResolverRegistry): () => void;
28211
- /**
28212
- * Dispatch a CTA activation: invoke the registered resolver for the action
28213
- * type if one exists, otherwise fall back to the supplied callback.
28214
- *
28215
- * Returns `true` when a registered resolver handled the click, `false` when it
28216
- * fell through to `fallback`. A registered resolver fully handles the action —
28217
- * the fallback is not also called.
28218
- */
28219
- declare function dispatchCtaClick(uiPath: PlacementUiPath, context: CtaResolverContext, resolvers: CtaResolverRegistry, fallback?: (uiPath: PlacementUiPath) => void): boolean;
28220
-
28221
28381
  /**
28222
28382
  * Register all built-in slot types on the given registry.
28223
28383
  *
@@ -28439,6 +28599,37 @@ declare namespace AgentConnectorSlot {
28439
28599
  var displayName: string;
28440
28600
  }
28441
28601
 
28602
+ /**
28603
+ * Static email preview: envelope card with a subject header and body, plus the
28604
+ * CTA row.
28605
+ *
28606
+ * **Content fields used:** `subject`, `body`, `cta_label`, `secondary_cta_label`
28607
+ */
28608
+ declare function EmailPreviewSlot({ content, onCtaClick, onSecondaryCtaClick, visible, className, style, }: PlacementSlotProps): React__default.JSX.Element | null;
28609
+ declare namespace EmailPreviewSlot {
28610
+ var displayName: string;
28611
+ }
28612
+ /**
28613
+ * Static SMS preview: a chat bubble carrying the message body, plus the CTA
28614
+ * row (rendered below the bubble).
28615
+ *
28616
+ * **Content fields used:** `body`, `message`, `cta_label`, `secondary_cta_label`
28617
+ */
28618
+ declare function SmsPreviewSlot({ content, onCtaClick, onSecondaryCtaClick, visible, className, style, }: PlacementSlotProps): React__default.JSX.Element | null;
28619
+ declare namespace SmsPreviewSlot {
28620
+ var displayName: string;
28621
+ }
28622
+ /**
28623
+ * Static push-notification preview: a notification card with a title and body,
28624
+ * plus the CTA row.
28625
+ *
28626
+ * **Content fields used:** `header`/`title`, `body`, `cta_label`, `secondary_cta_label`
28627
+ */
28628
+ declare function PushPreviewSlot({ content, onCtaClick, onSecondaryCtaClick, visible, className, style, }: PlacementSlotProps): React__default.JSX.Element | null;
28629
+ declare namespace PushPreviewSlot {
28630
+ var displayName: string;
28631
+ }
28632
+
28442
28633
  interface PlacementRendererProps {
28443
28634
  /** The placement output from the decision engine. */
28444
28635
  placement: PlacementOutput;
@@ -28446,6 +28637,8 @@ interface PlacementRendererProps {
28446
28637
  personalization?: PersonalizationContext;
28447
28638
  /** Custom registry; defaults to the global singleton. */
28448
28639
  registry?: PlacementTypeRegistry;
28640
+ /** Component types this render location accepts. Matching is exact. */
28641
+ acceptedComponentTypes?: readonly RevTurbineComponentType[];
28449
28642
  /**
28450
28643
  * Custom CTA resolver registry; defaults to the global singleton. When a
28451
28644
  * resolver is registered for the activated CTA's action type, it is invoked
@@ -28501,7 +28694,7 @@ interface PlacementRendererProps {
28501
28694
  * - UI path and promotion parsing
28502
28695
  * - CTA and dismiss callback wiring
28503
28696
  */
28504
- declare function PlacementRenderer({ placement, personalization, registry, ctaResolvers, onCtaClick, onSecondaryCtaClick, onDismiss, onRemindLater, onImpression, exposureRef, visible, className, style, fallback, }: PlacementRendererProps): React__default.JSX.Element;
28697
+ declare function PlacementRenderer({ placement, personalization, registry, acceptedComponentTypes, ctaResolvers, onCtaClick, onSecondaryCtaClick, onDismiss, onRemindLater, onImpression, exposureRef, visible, className, style, fallback, }: PlacementRendererProps): React__default.JSX.Element;
28505
28698
  declare namespace PlacementRenderer {
28506
28699
  var displayName: string;
28507
28700
  }
@@ -28522,6 +28715,8 @@ type UseSurfaceSlotOptions = {
28522
28715
  personalization?: PersonalizationContext;
28523
28716
  /** Custom registry for slot type resolution. */
28524
28717
  registry?: PlacementTypeRegistry;
28718
+ /** Component types this slot accepts. Matching is exact. */
28719
+ acceptedComponentTypes?: readonly RevTurbineComponentType[];
28525
28720
  /** Callback when CTA is clicked. Receives the parsed ui_path. */
28526
28721
  onCtaClick?: (uiPath: PlacementUiPath) => void;
28527
28722
  /** Custom CSS class for the rendered placement. */
@@ -28610,6 +28805,8 @@ type SurfaceSlotComponentProps = {
28610
28805
  * Only placements matching one of these templates can render here.
28611
28806
  */
28612
28807
  surfaceTemplateIds?: string[];
28808
+ /** Canonical component types accepted at this location. Matching is exact. */
28809
+ acceptedComponentTypes?: readonly RevTurbineComponentType[];
28613
28810
  /** Optional metadata included in slot registration/upsert payloads. */
28614
28811
  metadata?: Record<string, unknown>;
28615
28812
  contextMode?: RevTurbineContextMode;
@@ -29569,5 +29766,5 @@ declare function RevTurbineThemeProvider({ theme, children }: RevTurbineThemePro
29569
29766
  */
29570
29767
  declare function useRevTurbineTheme(): RevTurbineTheme;
29571
29768
 
29572
- export { ANALYTICS_VALIDATION_CODES, ANALYTICS_VIEW_SCHEMA_VERSION, AccessGateSurfaceSlot, ActivityLevelSchema, AddOnSchema, AddOnVariationSchema, AgentConnectorSlot, AlertSchema, AnalysisProvenanceSchema, AnalyticsAgentCatalogEntryKindSchema, AnalyticsAgentCatalogEntrySchema, AnalyticsAnalyticalUnitSchema, AnalyticsBlockErrorSchema, AnalyticsBlockResultSchema, AnalyticsCardinalityClassSchema, AnalyticsCatalogConceptSchema, AnalyticsCatalogDeprecationSchema, AnalyticsCatalogDimensionSchema, AnalyticsCatalogMetricSchema, AnalyticsCatalogProvenanceKindSchema, AnalyticsCatalogProvenanceSchema, AnalyticsCatalogSchema, AnalyticsCatalogSearchResultSchema, AnalyticsCatalogSourceSchema, AnalyticsClassificationSchema, AnalyticsCompareModeSchema, AnalyticsCompileResolutionSchema, AnalyticsCoverageSchema, AnalyticsCustomizationCapabilitySchema, AnalyticsCustomizationPolicySchema, AnalyticsDimensionCapabilitySchema, AnalyticsDimensionTypeSchema, AnalyticsFieldTypeSchema, AnalyticsFilterControlSchema, AnalyticsFilterOperatorSchema, AnalyticsFilterStateSchema, AnalyticsFilterValueSchema, AnalyticsFormatSpecSchema, AnalyticsHistoricalModeSchema, AnalyticsMetricAggregationSemanticsSchema, AnalyticsMetricDirectionSchema, AnalyticsMetricStatisticalTypeSchema, AnalyticsQueryFamilySchema, AnalyticsQueryRequestSchema, AnalyticsQueryResponseSchema, AnalyticsRenderCartesianSchema, AnalyticsRenderFunnelSchema, AnalyticsRenderMetricSchema, AnalyticsRenderRecommendationsSchema, AnalyticsRenderSpecSchema, AnalyticsRenderTableSchema, AnalyticsRenderTimelineSchema, AnalyticsResultFieldSchema, AnalyticsResultMetaSchema, AnalyticsResultSchema, AnalyticsSafeChartOptionsSchema, AnalyticsSavedViewSchema, AnalyticsSemanticFilterSchema, AnalyticsSemanticIdSchema, AnalyticsSourceScopeSchema, AnalyticsSuggestedPatchOpSchema, AnalyticsTemplateSummarySchema, AnalyticsTimeGrainSchema, AnalyticsValidationIssueSchema, AnalyticsValidationResultSchema, AnalyticsViewAccessRoleSchema, AnalyticsViewAccessSchema, AnalyticsViewBlockDraftSchema, AnalyticsViewBlockSchema, AnalyticsViewDraftSchema, AnalyticsViewFilterDraftSchema, AnalyticsViewFilterSchema, AnalyticsViewHandoffDraftSchema, AnalyticsViewHandoffSchema, AnalyticsViewLayoutSchema, AnalyticsViewQuerySchema, AnalyticsViewRevisionSchema, AnalyticsViewSchema, AnalyticsViewVisibilitySchema, AnalyticsWarningSchema, AnchorFields, ApiKeySchema, ApiKeyStatusSchema, AuditActorTypeSchema, AuditEventSchema, AuthAccountSchema, AuthApiKeySchema, AuthInvitationSchema, AuthMemberSchema, AuthOrganizationSchema, AuthPasskeySchema, AuthSessionSchema, AuthSsoProviderSchema, AuthTwoFactorSchema, AuthUserSchema, AuthVerificationSchema, BannerFrame, BannerSlot, BannerSurface, BillingCadenceSchema, BillingHealthStatusSchema, BrandingConfigSchema, BrowserRuntime, BrowserStorage, ButtonSlot, ButtonSurface, CONTROL_PLANE_EVENT_NAMES, CONTROL_PLANE_EVENT_SOURCE, CONTROL_PLANE_SOURCE_KEY, CapEnforcer, CapPeriodSchema$1 as CapPeriodSchema, ChangeLogActionSchema, ChangeLogEntrySchema, CliSlot, ClientContextSchema, ClientSafe, CohortMonthSchema, CompactCircularGauge, ContentPayloadSegmentEntrySchema, ContentPlacementPayloadSchema, ContentPromotionSchema, ContentUiPathSchema, ContextVisibility, ControlPlaneEventSourceSchema, ControlPlaneEventTypeSchema, ControlPlaneSemanticEventSchema, CreditBalanceSlot, CtaActionTypeSchema, CtaObjectSchema, CtaPathSchema, CtaPathTypeSchema, CtaResolverRegistry, CurrencySchema, CustomerOverrideDurationSchema, CustomerOverrideSchema, CustomerOverrideStatusSchema, CustomerOverrideTypeSchema, CustomerSchema, DEFAULT_ANALYTICS_RETENTION_DAYS, DEFAULT_BRANDING, DEFAULT_THEME, DEPRECATED_EVENT_NAMES, DOGFOOD_CLIENT_EVENT_NAMES, DataClassification, DecisionEngine, DecisionOnly, DescriptionField, DetectorRequirementsSchema, DimensionCategorySchema, DimensionSourceTypeSchema, DiscountTypeSchema, DomainProviderRegistry, DriftReportSchema, ENTITLEMENT_STATUS_VALUES, EVENT_PREFIX_FAMILIES, EnforcementActionSchema, EnforcementModeSchema, EngagementArea, EntitlementCheckResultSchema, EntitlementGate, EntitlementGrantSchema, EntitlementGrantSetSchema, EntitlementGrantSourceSchema, EntitlementGrantStatusSchema, EntitlementRulePeriodUnitSchema, EntitlementRuleSchema, EntitlementRuleTargetKindSchema, EntitlementRuleTargetSchema, EntitlementRuleValidatedSchema, EntitlementRuleVariantSchema, EntitlementSchema, EntitlementStatusSchema, EntitlementTypeSchema, EnvironmentPromotionRequestSchema, EnvironmentSchema, EnvironmentStatusSchema, EventEnvelopeSchema, EventIngestBatchSchema, EventPrefixFamilySchema, EventSearchParamsSchema, EventSourceSchema, EventStabilitySchema, EventSurfaceSchema, EventTaxonomyEntrySchema, EventTaxonomySchema, EvidenceRequirementSchema, ExperimentAnalysisConfigSchema, ExperimentAnalysisConfigVersionError, ExperimentAnalysisResultRecordSchema, ExperimentAnalysisResultSchema, ExperimentEvidenceSchema, ExperimentEvidenceSnapshotSchema, ExperimentHealthSchema, ExperimentMetricResultSchema, ExperimentSchema, ExperimentStatusSchema, ExperimentTypeSchema, ExperimentVariantSchema, ExperimentVariantTargetSchema, RevTurbineConfigPlacementItemSchema as ExportedConfigPlacementItemSchema, RevTurbineConfigSchema as ExportedConfigSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema as ExportedConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema as ExportedConfigSegmentsItemSchema, RevTurbineConfigUiPathActionTypeSchema as ExportedConfigUiPathActionTypeSchema, FAMILY_RENDER_COMPATIBILITY, FIXED_BANNER_TEMPLATE_IDS, FIXED_SURFACE_TEMPLATE_IDS, FIXTURE_ANALYTICS_CATALOG, FeatureFlagSchema, FeatureFlagValueSchema, FeatureGateTriggerPayloadSchema, FieldDefinitionSchema, FixedSurfaceSlot, FlagValueTypeSchema, FreeTrialRuleSchema, FreeTrialSettingsSchema, FullPageSlot, FunnelStepSchema, GATED_SURFACE_TEMPLATE_IDS, GENERAL_BANNER_TEMPLATE_IDS, GENERAL_MODAL_TEMPLATE_IDS, GENERAL_TOAST_TEMPLATE_IDS, AccessGateSurfaceSlot as Gate, GrowthSignalBundleSchema, GrowthSignalPointSchema, GrowthSignalSeriesSchema, HANDLE_PATTERN, HandleField, INGEST_WRITE_SCOPE, IdField, IdentityKind, IdentitySchema, InMemoryStorage, InPageSlot, InPageSurface, IngestedEventSchema, InlineCardPlacement, InlineEmbedSlot, InteractionTracker, InvitationStatusSchema, KpiAggregateSchema, LocalizedTextSchema, MESSAGE_SURFACE_TEMPLATE_IDS, McpConfigSchema, McpTokenScopeSchema, MessageBlockContentSchema, MessageBlockRecordSchema, MessageBlockSchema, MessageSchema, MessageSurfaceSlot, MetadataField, MeteringConfigSchema, ModalFrame, ModalSlot, ModalSurface, NameField, NullableDatetimeField, OnboardingChecklistSchema, OnboardingStateSchema, OpportunityCandidateSchema, OpportunityEvidenceSchema, OpportunityInterpretationSchema, OptimizationSuggestionSchema, OrgMemberRoleSchema, PERSISTED_SCHEMA_FACET_EXEMPTIONS, PLATFORM_EMITTED_EVENT_NAMES, PLATFORM_EVENT_TAXONOMY, PLAYBOOK_FORMAT_VERSION, PaginatedResponseSchema, PaginationParamsSchema, PaymentTriggerPayloadSchema, PermissionActionSchema, PermissionResourceSchema, PermissionSchema, PersonalizationTokenSchema, Placement, PlacementCapRuleSchema, PlacementCategorySchema, PlacementController, PlacementDecisionInspector, PlacementDecisionOutputSchema, PlacementPayloadSchema, PlacementPerformanceRowSchema, PlacementRenderer, PlacementSchema, PlacementSettingsCapRuleGroupItemSchema, PlacementSettingsCapRuleSchema, PlacementSettingsCapStateSchema, PlacementSettingsSchema, PlacementTestModeSchema, PlacementTestUserIdentifierTypeSchema, PlacementTestUserSchema, PlacementTypeRegistry, PlacementWarningCodeSchema, PlacementWarningSchema, PlanSchema, PlanVariationSchema, PlanVisibilitySchema, PlaybookBodySchema, PlaybookHeaderSchema, PlaybookObjectSchema, PlaybookSchema, PlaybookStrictSchema, PlaybookVersionDeployResultSchema, PlaybookVersionDiffSchema, PlaybookVersionEntrySummarySchema, PlaybookVersionSchema, PlaybookVersionStatusSchema, PresentationOutcomeSchema, PriceSourceSchema, PricingModelSchema, PromotionSchema, PromotionStatusSchema, ProviderAvailabilitySchema, ProviderBindingRefSchema, ProviderCapabilitySchema, ProviderConnectionSchema, ProviderProvenanceSchema, QuotaMeterFrame, QuotaMeterSlot, RECOGNIZED_UPDATE_KEYS, ROLE_PERMISSIONS, ROLE_RANK, SurfaceSlotComponent as RTSlot, ApiError as RevTurbineApiError, RevTurbineConfigAddonVariationsItemSchema, RevTurbineConfigAddonsItemSchema, RevTurbineConfigEnforcementDefaultsItemSchema, RevTurbineConfigEntitlementRulesItemSchema, RevTurbineConfigEntitlementsItemSchema, RevTurbineConfigMeterBindingsItemSchema, RevTurbineConfigPeriodCapSchema, RevTurbineConfigPersonalizationTokensItemSchema, RevTurbineConfigPlacementCategorySchema, RevTurbineConfigPlacementItemSchema, RevTurbineConfigPlacementPayloadItemSchema, RevTurbineConfigPlacementSettingsItemSchema, RevTurbineConfigPlacementSlotsItemSchema, RevTurbineConfigPlacementTriggerSchema, RevTurbineConfigPlanVariationsItemSchema, RevTurbineConfigPlansItemSchema, RevTurbineConfigSchema, RevTurbineConfigSeatTypesItemSchema, RevTurbineConfigSegmentDimensionsItemSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema, RevTurbineConfigSlotConfigsItemSchema, RevTurbineConfigStudioCtaConfigSchema, RevTurbineConfigStudioPayloadCapsSchema, RevTurbineConfigStudioPayloadSchema, RevTurbineConfigStudioPayloadSurfaceSchema, RevTurbineConfigStudioPayloadTargetSchema, RevTurbineConfigSurfaceTemplatesItemFieldsItemSchema, RevTurbineConfigSurfaceTemplatesItemSchema, RevTurbineConfigUiPathActionTypeSchema, RevTurbineCustomerSdk, RevTurbineProvider, RevTurbineServer, RevTurbineThemeProvider, RevenueMetricSchema, ReverseTrialRuleSchema, ReverseTrialSettingsSchema, ReverseTrialStartPolicySchema, RoleSchema, RuleVisibilitySchema, RuntimeMode, RuntimePromotionSnapshotSchema, SDK_AUTOMATIC_NON_EMITTED_NAMES, SDK_CLIENT_EVENT_NAMES, SDK_META_EVENT_NAMES, SEMANTIC_ID_PATTERN, SERVER_TRAITS_DOMAIN, SchemaContext, SchemaExposure, SchemaPersistence, SchemaSource, SdkConfigShapeSchema, SdkMetaEventSchema, SdkMetaEventTypeSchema, SdkMetaIngestBatchSchema, SdkSession, SeatTypeSchema, SegmentDimensionSchema, SegmentSchema, SegmentValueSchema, SemanticEventSchema, ServerEvaluationPayloadDecisionsItemSchema, ServerEvaluationPayloadEntitlementsValueSchema, ServerEvaluationPayloadSchema, ServerEvaluationPayloadTrialStatusSchema, ServerEvaluationPayloadUserContextSchema, ServerEvaluationPayloadUserSchema, ServerOnly, ServerUserContextProvider, SeveritySchema, SurfaceSlotComponent as Slot, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StudioSurfaceTypeSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotComponent, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TelemetryScope, TelemetryScopeContext, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, ToastSlot, ToastSurface, TooltipSlot, Track, TrackEventSchema, TrackIngestBatchSchema, TrackOnView, TreatmentInteractionInputSchema, TreatmentInteractionTypeSchema, TrendFeaturesSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UnsupportedExperimentAssignmentUnitError, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserProfile, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VIEW_ELEMENT_ID_PATTERN, VariantStatisticalSummarySchema, VersionFields, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, adaptExperimentVersionToBucketer, analyticsPaths, analyticsViewPaths, applyValueMaps, assertExperimentAnalysisConfigUpdateAllowed, bridgeUiPathResolversIntoRegistry, bucketSubject, buildAgentCatalogProjection, buildControlPlaneEvent, categorizeActionError, changelogPaths, clearPersistedTheme, collectPersistedSchemas, collectVersionedConfigEntities, compileAnalyticsDraft, configPaths, contentPaths, createAnalyticsProvider, createBasicExperimentProvider, createChainedPlacementRequest, createCustomEndpointRuntimeConfig, createEntitlementPlacementRequest, createFixtureAnalyticsCatalog, createHydrationProviders, createInMemoryAnalyticsCatalog, createLocalRuntimeConfig, createNativeExperimentAssignmentProvider, createPostHogAnalyticsProvider, createPostHogIntegration, createRevTurbineApiClient, createSemanticEvent, createServerRuntimeConfig, createSlotPlacementRequest, createStaticPlacementContentLookupProvider, createStaticPlacementResolver, createStaticProviders, createStrictLocalRuntimeConfig, createTreatmentInteraction, customerPaths, defaultRenderForQuery, defineUiPathResolvers, deriveLocalTrialStatusFromInstance, derivePlacementPersonalizationTokens, deriveReverseTrialGrants, dispatchCtaClick, entitlementPaths, entitlementResultDenies, environmentPaths, evaluateSegments, evaluateTrialStatus, eventPaths, experimentPaths, filterExternalSchemas, filterPersistedSchemas, findActiveTrialInstance, findLatestStartedTrialInstance, getDefaultCtaResolverRegistry, getDefaultRegistry, getFieldClassification, getFieldVisibility, getObjectFieldClassifications, getObjectFieldVisibilities, getSchemaClassification, getSchemaDeprecation, getSchemaExposure, getSchemaFacets, getSchemaIdentity, getSchemaPersistence, initRevTurbine, isBrowser, isServer, isVersionedConfigEntity, loadTheme, makeAnchor, mergeTheme, mintedIdentity, namedIdentity, normalizeConfigArtifactOrThrow, normalizeLegacyConfig, parsePlaybook, parsePromotion, parseUiPath, placementPaths, planPaths, playbookVersionPaths, projectClientSafe, promotionPaths, registerBuiltinSlotTypes, registerBuiltinSnoozeResolver, registerCtaResolver, requireSchemaFacets, resetDefaultCtaResolverRegistry, resetDefaultRegistry, resolveBranding, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveTokens, schemaDeprecation, schemaFacets, scopesSubsetOfRole, searchAgentCatalog, segmentPaths, settingsPaths, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, unregisterCtaResolver, useCan, useEntitlement, useGatedAction, usePlacement, usePlacementPersonalization, useRevTurbine, useRevTurbineTheme, useSurfaceSlot, useTelemetryProps, useTelemetryScope, useTrack, useTrackedAction, useUsageSnapshot, userContextPaths, validateAnalyticsQuery, validateAnalyticsView, validatePlacementThresholdWarnings };
29573
- export type { AccessGateCheck, AccessGateSurfaceSlotProps, ActionErrorCategory, ActivityLevel, AdapterBaseOptions, AddOn, AddOnVariation, AgentConnectorSlotProps, Alert, AnalysisProvenance, AnalyticsAgentCatalogEntry, AnalyticsAgentCatalogEntryKind, AnalyticsAnalyticalUnit, AnalyticsBlockError, AnalyticsBlockResult, AnalyticsCardinalityClass, AnalyticsCatalog, AnalyticsCatalogConcept, AnalyticsCatalogData, AnalyticsCatalogDeprecation, AnalyticsCatalogDimension, AnalyticsCatalogMetric, AnalyticsCatalogProvenance, AnalyticsCatalogProvenanceKind, AnalyticsCatalogSearchResult, AnalyticsCatalogSource, AnalyticsCatalogView, AnalyticsClassification, AnalyticsCompareMode, AnalyticsCompileOutput, AnalyticsCompileResolution, AnalyticsCoverage, AnalyticsCustomizationCapability, AnalyticsCustomizationPolicy, AnalyticsDimensionCapability, AnalyticsDimensionType, AnalyticsEventHandler, AnalyticsEventProperties, AnalyticsEventTransformer, AnalyticsFieldType, AnalyticsFilterControl, AnalyticsFilterOperator, AnalyticsFilterState, AnalyticsFilterValue, AnalyticsFormatSpec, AnalyticsHistoricalMode, AnalyticsMetricAggregationSemantics, AnalyticsMetricDirection, AnalyticsMetricStatisticalType, AnalyticsProviderOptions, AnalyticsQueryFamily, AnalyticsQueryRequest, AnalyticsQueryResponse, AnalyticsRenderCartesian, AnalyticsRenderFunnel, AnalyticsRenderMetric, AnalyticsRenderRecommendations, AnalyticsRenderSpec, AnalyticsRenderTable, AnalyticsRenderTimeline, AnalyticsResult, AnalyticsResultField, AnalyticsResultMeta, AnalyticsSafeChartOptions, AnalyticsSavedView, AnalyticsSemanticFilter, AnalyticsSemanticId, AnalyticsSourceScope, AnalyticsSuggestedPatchOp, AnalyticsTemplateSummary, AnalyticsTimeGrain, AnalyticsValidationCode, AnalyticsValidationIssue, AnalyticsValidationResult, AnalyticsView, AnalyticsViewAccess, AnalyticsViewAccessRole, AnalyticsViewBlock, AnalyticsViewBlockDraft, AnalyticsViewDraft, AnalyticsViewFilter, AnalyticsViewFilterDraft, AnalyticsViewHandoff, AnalyticsViewHandoffDraft, AnalyticsViewLayout, AnalyticsViewQuery, AnalyticsViewRevision, AnalyticsViewVisibility, AnalyticsWarning, AnyDomainProvider, ApiKey, ApiKeyStatus, AuditActorType, AuditEvent, AuthAccount, AuthApiKey, AuthInvitation, AuthMember, AuthOrganization, AuthPasskey, AuthSession, AuthSsoProvider, AuthTwoFactor, AuthUser, AuthVerification, BannerFrameProps, BannerSlotProps, BannerSurfaceProps, BasicBucketerExperiment, BasicBucketerOptions, BillingCadence, BillingHealthStatus, BrandingConfig, BrandingResolutionInput, BrandingSource, BrowserRuntimeOptions, ButtonSlotProps, ButtonSurfaceProps, CanonicalExperimentAllocation, CapEnforcementResult, CapPeriod, ChangeListener, ChangeLogAction, ChangeLogEntry, CliSlotProps, ClientContext, CohortMonth, CompactCircularGaugeProps, CompileAnalyticsDraftOptions, ConfigArtifact, ContentPayloadSegmentEntry, ContentPlacementPayload, ContentPromotion, ContentProvider, ContentProviderState, ContentUiPath, ControlPlaneEmitInput, ControlPlaneEventSource, ControlPlaneEventType, ControlPlaneSemanticEvent, CreditBalanceSlotProps, CtaActionType, CtaHandler, CtaHandlerMap, CtaHandlerProvider, CtaHandlerProviderState, CtaObject, CtaPath, CtaPathType, CtaResolver, CtaResolverContext, Currency, Customer, CustomerOverride, CustomerOverrideDuration, CustomerOverrideStatus, CustomerOverrideType, DataClassificationValue, DecisionEngineOptions, DeriveTrialStatusInput, DetectorRequirements, DimensionCategory, DimensionSourceType, DiscountType, DomainProvider, DomainProviderName, DriftReport, EnforcementAction, EnforcementMode, EngagementAreaProps, Entitlement, EntitlementCheckResult$1 as EntitlementCheckResult, EntitlementGateOptions, EntitlementGateState, EntitlementGrant$1 as EntitlementGrant, EntitlementGrantSet$1 as EntitlementGrantSet, EntitlementGrantSource, EntitlementGrantStatus, EntitlementProvider, EntitlementProviderState, EntitlementResult, EntitlementRule, EntitlementRulePeriodUnit, EntitlementRuleSnapshot, EntitlementRuleTarget, EntitlementRuleTargetKind$1 as EntitlementRuleTargetKind, EntitlementRuleValidated, EntitlementRuleVariant, EntitlementStatus, EntitlementType, EntitlementUsageEntry, Environment, EnvironmentPromotionRequest, EnvironmentStatus, EvaluateTrialStatusInput, EvaluateTrialStatusResult, EvaluationContext, EventConsumer, EventConsumerProvider, EventConsumerProviderState, EventEnvelope, EventIngestBatch, EventPrefixFamily, EventSearchParams, EventSource, EventStability, EventSurface, EventTaxonomy, EventTaxonomyEntry, EvidenceRequirement, Exact, Experiment, ExperimentAnalysisConfig, ExperimentAnalysisResult, ExperimentAnalysisResultRecord, ExperimentAssignmentProvider, ExperimentEvidence, ExperimentEvidenceSnapshot, ExperimentHealth, ExperimentMetricResult, ExperimentProvider, ExperimentProviderState, ExperimentStatus, ExperimentType, ExperimentVariant, ExperimentVariantTarget, Playbook as ExportedConfig, ExportedConfigPlacementItem, ExportedConfigProvider, ExportedConfigSegmentsItem, ExportedConfigSegmentsItemPredicatesItem, ExportedConfigUiPathActionType, FeatureFlag, FeatureFlagValue, FeatureGateTriggerPayload, FieldDefinition, FixedSurfaceSlotProps, FlagValueType, FreeTrialRule, FreeTrialSettings, FullPageSlotProps, FunnelStep, AccessGateSurfaceSlotProps as GateProps, GatedAction, GrowthSignalBundle, GrowthSignalPoint, GrowthSignalSeries, IdentifyContextInput, Identity, IdentityDeclaration, InPageSlotProps, InPageSurfaceProps, IngestWriteScope, IngestedEvent, InlineCardPlacementProps, InlineEmbedSlotProps, InteractionState, InvitationStatus, JsonObject, JsonValue, KpiAggregate, LegacyConfigTargetDefaults, LocalPlacementDataset, LocalPlacementEntry, LocalPlacementPayload, LocalPlacementSurface, LocalizedText, McpConfig, McpTokenScope, Message, MessageBlock, MessageBlockContent, MessageBlockRecord, MessageBlockSnapshot, MessageSurfaceSlotProps, MessageSurfaceSlotRef, MessageTriggerType, MeteringConfig, ModalFrameProps, ModalLayout, ModalSlotProps, ModalSurfaceProps, NativeExperimentAssignmentOptions, NativeExperimentAssignmentUnit, OnboardingChecklist, OnboardingState, OpportunityCandidate, OpportunityEvidence, OpportunityInterpretation, OptimizationSuggestion, OrgMemberRole, PaginationParams, PaymentTriggerPayload, Permission, PermissionAction, PermissionResource, PersonalizationContext, PersonalizationToken, PlacementCapPolicy, PlacementCapRule, PlacementCategory, PlacementContentFields, PlacementContentLookupProvider, PlacementControllerOptions, PlacementControllerState, PlacementCustomCode, PlacementDecisionInspectorProps, PlacementDecisionOutput, PlacementEmittedThresholdLookup, PlacementOutput, PlacementPayload, PlacementPayloadSnapshot, PlacementPerformanceRow, PlacementPreviewConfig, PlacementPromotion, PlacementProps, PlacementRendererProps, PlacementSettings, PlacementSettingsCapRule, PlacementSettingsCapRuleGroupItem, PlacementSettingsCapState, PlacementSlotProps, PlacementSlotType, PlacementTestMode, PlacementTestUser, PlacementTestUserIdentifierType, PlacementUiPath, PlacementUiPathActionType, PlacementWarning, PlacementWarningCode, Plan, PlanProvider, PlanProviderState, PlanRuleSnapshot, PlanVariation, PlanVisibility, Playbook, PlaybookBody, PlaybookHeader, PlaybookObject, PlaybookStrict, PlaybookVersion, PlaybookVersionDeployResult, PlaybookVersionDiff, PlaybookVersionEntrySummary, PlaybookVersionStatus, PostHogAnalyticsProviderOptions, PostHogIntegrationOptions, PostHogLike, PresentationCapState, PresentationOutcome, PriceSource, PricingModel, Promotion, PromotionStatus, ProviderAvailability, ProviderBindingRef, ProviderCapability, ProviderConnection, ProviderProvenance, QuotaMeterFrameProps, QuotaMeterSlotProps, SurfaceSlotComponentProps as RTSlotProps, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, RevTurbineClientSessionProvider, Playbook as RevTurbineConfig, RevTurbineConfigAddonVariationsItem, RevTurbineConfigAddonsItem, RevTurbineConfigEnforcementDefaultsItem, RevTurbineConfigEntitlementRulesItem, RevTurbineConfigEntitlementsItem, RevTurbineConfigMeterBindingsItem, RevTurbineConfigPeriodCap, RevTurbineConfigPersonalizationTokensItem, RevTurbineConfigPlacementCategory, RevTurbineConfigPlacementItem, RevTurbineConfigPlacementPayloadItem, RevTurbineConfigPlacementSettingsItem, RevTurbineConfigPlacementSlotsItem, RevTurbineConfigPlacementTrigger, RevTurbineConfigPlanVariationsItem, RevTurbineConfigPlansItem, RevTurbineConfigProvider, RevTurbineConfigSeatTypesItem, RevTurbineConfigSegmentDimensionsItem, RevTurbineConfigSegmentsItem, RevTurbineConfigSegmentsItemPredicatesItem, RevTurbineConfigSlotConfigsItem, RevTurbineConfigStudioCtaConfig, RevTurbineConfigStudioPayload, RevTurbineConfigStudioPayloadCaps, RevTurbineConfigStudioPayloadSurface, RevTurbineConfigStudioPayloadTarget, RevTurbineConfigSurfaceTemplatesItem, RevTurbineConfigSurfaceTemplatesItemFieldsItem, RevTurbineConfigUiPathActionType, RevTurbineContextMode, RevTurbineContextPolicy, RevTurbineDecisionContent, RevTurbineEndpointOverrides, RevTurbineEntitlementContext, RevTurbineEntitlementPlacementRequestOptions, RevTurbineEntitlementRuleEvaluation, RevTurbineEventBatchingOptions, RevTurbineEventEnvelope, RevTurbineEventOptions, RevTurbineGateResult, RevTurbineImpressionMetadata, RevTurbineInitBaseOptions, RevTurbineInitInputOptions, RevTurbineInitOptions, RevTurbineInitOptionsStrict, RevTurbineInitWithProviderOptions, RevTurbineLocalOnlyMinimalInitOptions, RevTurbineLocalRuntimeData, RevTurbineLocalRuntimeOptions, RevTurbineLocalRuntimeResolvers, RevTurbineMeterUsageOverride, RevTurbinePageContext, RevTurbinePersonalizationTokens, RevTurbinePlacementBehaviorFlags, RevTurbinePlacementConfig, RevTurbinePlacementContent, RevTurbinePlacementDecision, RevTurbinePlacementDecisionExplanation, RevTurbinePlacementDecisionInput, RevTurbinePlacementDecisionOverrides, RevTurbinePlacementPayloadEvaluation, RevTurbinePlacementRecord, RevTurbinePlacementRequestConfig, RevTurbinePlacementRuleEvaluation, RevTurbinePlacementTypeEntity, RevTurbinePolicySnapshot, RevTurbineProviderFactory, RevTurbineProviderFailureSlotBehavior, RevTurbineProviderProps, RevTurbineRequiredUiPathResolvers, RevTurbineRuntimeMode, RevTurbineSdkMode, RevTurbineSdkProvider, RevTurbineSegmentEvaluation, RevTurbineSegmentPredicateEvaluation, RevTurbineSemanticEvent, RevTurbineServerOptions, RevTurbineSlotPlacementRequestOptions, RevTurbineStorage, RevTurbineSurfaceSlotConfig, RevTurbineSurfaceType, RevTurbineTargeting, RevTurbineTelemetryOptions, RevTurbineTheme, RevTurbineThemeColors, RevTurbineThemeInput, RevTurbineThemeShadows, RevTurbineThemeShape, RevTurbineThemeTypography, RevTurbineTreatmentInteractionInput, RevTurbineTreatmentInteractionOptions, RevTurbineTreatmentInteractionType, RevTurbineTrialContext, RevTurbineTriggerEvent, RevTurbineTriggerPayload, RevTurbineUiPathActionTypes, RevTurbineUiPathResolver, RevTurbineUiPathResolverMap, RevTurbineUiPathResolverValidationIssue, RevTurbineUiPathResolverValidationOptions, RevTurbineUiPathResolverValidationReport, RevTurbineUpdateInput, RevTurbineUsageSnapshot, RevTurbineUsageSnapshotEntry, RevTurbineUserContext, RevenueMetric, ReverseTrialRule, ReverseTrialSettings, ReverseTrialStartPolicy, Role, RuleProvider, RuleProviderState, RuleVisibility, RuntimePromotionSnapshot, SchemaDeprecation, SchemaFacetOptions, SchemaFacets, SdkConfigShape, SdkEventProperties, SdkMetaEvent, SdkMetaEventType, SdkMetaIngestBatch, SdkMetadata, SdkSessionOptions, SdkTraits, SeatType, Segment, SegmentDimension, SegmentProvider, SegmentProviderState, SegmentValue, SemanticEvent, ServerEntitlementResult, ServerEvaluationHydrationPayload, ServerEvaluationPayload, ServerEvaluationPayloadDecisionsItem, ServerEvaluationPayloadEntitlementsValue, ServerEvaluationPayloadTrialStatus, ServerEvaluationPayloadUser, ServerEvaluationPayloadUserContext, ServerEvaluationRequest, ServerPlacementDecision, ServerPlacementRequest, ServerUserContext, ServerUserContextSnapshot, Severity, SurfaceSlotComponentProps as SlotProps, StaticPlacementResolverOptions, StripeIntegrationConfig, StripePrice, StripePriceBillingPeriod, StripePriceMock, StripePriceMockBillingPeriod, StudioSurfaceType, SuggestionSeverity, SupersessionReason, SupersessionRecord, SuppressionResult, SurfaceSlot, SurfaceSlotCategory, SurfaceSlotComponentProps, SurfaceTemplate, SurfaceType, SurfaceTypeCapRule, TelemetryConsent, TelemetryScopeProps, TelemetryScopeValue, TemplateFieldType, Tenant, TenantConfig, TenantStatus, Theme, ThemeLoaderOptions, ThemeProvider, ThemeProviderState, ToastSlotProps, ToastSurfaceProps, TooltipSlotProps, TrackEvent, TrackFn, TrackIngestBatch, TrackOnViewProps, TrackOptions, TrackProps, TrackPurpose, TrackedAction, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, TreatmentInteractionInput, TreatmentInteractionType, TrendFeatures, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UseCanResult, UseEntitlementOptions, UseEntitlementResult, UsePlacementOptions, UsePlacementPersonalizationOptions, UsePlacementResult, UseSurfaceSlotOptions, UseSurfaceSlotResult, UseUsageSnapshotResult, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserProfileProps, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, ValidateAnalyticsViewOptions, VariantStatisticalSummary, WebhookEventLog, WebhookEventSource, WebhookEventStatus };
29769
+ export { ANALYTICS_VALIDATION_CODES, ANALYTICS_VIEW_SCHEMA_VERSION, AccessGateSurfaceSlot, ActivityLevelSchema, AddOnSchema, AddOnVariationSchema, AgentConnectorSlot as AgentConnectorComponent, AgentConnectorSlot, AlertSchema, AnalysisProvenanceSchema, AnalyticsAgentCatalogEntryKindSchema, AnalyticsAgentCatalogEntrySchema, AnalyticsAnalyticalUnitSchema, AnalyticsBlockErrorSchema, AnalyticsBlockResultSchema, AnalyticsCardinalityClassSchema, AnalyticsCatalogConceptSchema, AnalyticsCatalogDeprecationSchema, AnalyticsCatalogDimensionSchema, AnalyticsCatalogMetricSchema, AnalyticsCatalogProvenanceKindSchema, AnalyticsCatalogProvenanceSchema, AnalyticsCatalogSchema, AnalyticsCatalogSearchResultSchema, AnalyticsCatalogSourceSchema, AnalyticsClassificationSchema, AnalyticsCompareModeSchema, AnalyticsCompileResolutionSchema, AnalyticsCoverageSchema, AnalyticsCustomizationCapabilitySchema, AnalyticsCustomizationPolicySchema, AnalyticsDimensionCapabilitySchema, AnalyticsDimensionTypeSchema, AnalyticsFieldTypeSchema, AnalyticsFilterControlSchema, AnalyticsFilterOperatorSchema, AnalyticsFilterStateSchema, AnalyticsFilterValueSchema, AnalyticsFormatSpecSchema, AnalyticsHistoricalModeSchema, AnalyticsMetricAggregationSemanticsSchema, AnalyticsMetricDirectionSchema, AnalyticsMetricStatisticalTypeSchema, AnalyticsQueryFamilySchema, AnalyticsQueryRequestSchema, AnalyticsQueryResponseSchema, AnalyticsRenderCartesianSchema, AnalyticsRenderFunnelSchema, AnalyticsRenderMetricSchema, AnalyticsRenderRecommendationsSchema, AnalyticsRenderSpecSchema, AnalyticsRenderTableSchema, AnalyticsRenderTimelineSchema, AnalyticsResultFieldSchema, AnalyticsResultMetaSchema, AnalyticsResultSchema, AnalyticsSafeChartOptionsSchema, AnalyticsSavedViewSchema, AnalyticsSemanticFilterSchema, AnalyticsSemanticIdSchema, AnalyticsSourceScopeSchema, AnalyticsSuggestedPatchOpSchema, AnalyticsTemplateSummarySchema, AnalyticsTimeGrainSchema, AnalyticsValidationIssueSchema, AnalyticsValidationResultSchema, AnalyticsViewAccessRoleSchema, AnalyticsViewAccessSchema, AnalyticsViewBlockDraftSchema, AnalyticsViewBlockSchema, AnalyticsViewDraftSchema, AnalyticsViewFilterDraftSchema, AnalyticsViewFilterSchema, AnalyticsViewHandoffDraftSchema, AnalyticsViewHandoffSchema, AnalyticsViewLayoutSchema, AnalyticsViewQuerySchema, AnalyticsViewRevisionSchema, AnalyticsViewSchema, AnalyticsViewVisibilitySchema, AnalyticsWarningSchema, AnchorFields, ApiKeySchema, ApiKeyStatusSchema, AuditActorTypeSchema, AuditEventSchema, AuthAccountSchema, AuthApiKeySchema, AuthInvitationSchema, AuthMemberSchema, AuthOrganizationSchema, AuthPasskeySchema, AuthSessionSchema, AuthSsoProviderSchema, AuthTwoFactorSchema, AuthUserSchema, AuthVerificationSchema, BUILT_IN_TEMPLATE_COMPONENT_TYPES, BannerSlot as BannerComponent, BannerFrame, BannerSlot, BannerSurface, BillingCadenceSchema, BillingHealthStatusSchema, BrandingConfigSchema, BrowserRuntime, BrowserStorage, ButtonSlot as ButtonComponent, ButtonSlot, ButtonSurface, CONTROL_PLANE_EVENT_NAMES, CONTROL_PLANE_EVENT_SOURCE, CONTROL_PLANE_SOURCE_KEY, CapEnforcer, CapPeriodSchema$1 as CapPeriodSchema, ChangeLogActionSchema, ChangeLogEntrySchema, CliSlot as CliComponent, CliSlot, ClientContextSchema, ClientSafe, CohortMonthSchema, CompactCircularGauge, ComponentTypeSchema, ContentPayloadSegmentEntrySchema, ContentPlacementPayloadSchema, ContentPromotionSchema, ContentUiPathSchema, ContextVisibility, ControlPlaneEventSourceSchema, ControlPlaneEventTypeSchema, ControlPlaneSemanticEventSchema, CreditBalanceSlot as CreditBalanceComponent, CreditBalanceSlot, CtaActionTypeSchema, CtaObjectSchema, CtaPathSchema, CtaPathTypeSchema, CtaResolverRegistry, CurrencySchema, CustomerOverrideDurationSchema, CustomerOverrideSchema, CustomerOverrideStatusSchema, CustomerOverrideTypeSchema, CustomerSchema, DEFAULT_ANALYTICS_RETENTION_DAYS, DEFAULT_BRANDING, DEFAULT_TEMPLATE_COMPONENT_TYPES, DEFAULT_THEME, DEPRECATED_EVENT_NAMES, DOGFOOD_CLIENT_EVENT_NAMES, DataClassification, DecisionEngine, DecisionOnly, DefaultTemplateIdsSchema, DescriptionField, DetectorRequirementsSchema, DimensionCategorySchema, DimensionSourceTypeSchema, DiscountTypeSchema, DomainProviderRegistry, DriftReportSchema, ENTITLEMENT_STATUS_VALUES, EVENT_PREFIX_FAMILIES, EmailPreviewSlot as EmailPreviewComponent, EmailPreviewSlot, EnforcementActionSchema, EnforcementModeSchema, EngagementArea, EntitlementCheckResultSchema, EntitlementGate, EntitlementGrantSchema, EntitlementGrantSetSchema, EntitlementGrantSourceSchema, EntitlementGrantStatusSchema, EntitlementRulePeriodUnitSchema, EntitlementRuleSchema, EntitlementRuleTargetKindSchema, EntitlementRuleTargetSchema, EntitlementRuleValidatedSchema, EntitlementRuleVariantSchema, EntitlementSchema, EntitlementStatusSchema, EntitlementTypeSchema, EnvironmentPromotionRequestSchema, EnvironmentSchema, EnvironmentStatusSchema, EventEnvelopeSchema, EventIngestBatchSchema, EventPrefixFamilySchema, EventSearchParamsSchema, EventSourceSchema, EventStabilitySchema, EventSurfaceSchema, EventTaxonomyEntrySchema, EventTaxonomySchema, EvidenceRequirementSchema, ExperimentAnalysisConfigSchema, ExperimentAnalysisConfigVersionError, ExperimentAnalysisResultRecordSchema, ExperimentAnalysisResultSchema, ExperimentEvidenceSchema, ExperimentEvidenceSnapshotSchema, ExperimentHealthSchema, ExperimentMetricResultSchema, ExperimentSchema, ExperimentStatusSchema, ExperimentTypeSchema, ExperimentVariantSchema, ExperimentVariantTargetSchema, RevTurbineConfigPlacementItemSchema as ExportedConfigPlacementItemSchema, RevTurbineConfigSchema as ExportedConfigSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema as ExportedConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema as ExportedConfigSegmentsItemSchema, RevTurbineConfigUiPathActionTypeSchema as ExportedConfigUiPathActionTypeSchema, FAMILY_RENDER_COMPATIBILITY, FIXED_BANNER_TEMPLATE_IDS, FIXED_SURFACE_TEMPLATE_IDS, FIXTURE_ANALYTICS_CATALOG, FeatureFlagSchema, FeatureFlagValueSchema, FeatureGateTriggerPayloadSchema, FieldDefinitionSchema, FixedSurfaceSlot, FlagValueTypeSchema, FreeTrialRuleSchema, FreeTrialSettingsSchema, FullPageSlot as FullPageComponent, FullPageSlot, FunnelStepSchema, GATED_SURFACE_TEMPLATE_IDS, GENERAL_BANNER_TEMPLATE_IDS, GENERAL_MODAL_TEMPLATE_IDS, GENERAL_TOAST_TEMPLATE_IDS, AccessGateSurfaceSlot as Gate, GrowthSignalBundleSchema, GrowthSignalPointSchema, GrowthSignalSeriesSchema, HANDLE_PATTERN, HandleField, INGEST_WRITE_SCOPE, IdField, IdentityKind, IdentitySchema, InMemoryStorage, InPageSlot as InPageComponent, InPageSlot, InPageSurface, IngestedEventSchema, InlineCardPlacement, InlineEmbedSlot as InlineEmbedComponent, InlineEmbedSlot, InteractionTracker, InvitationStatusSchema, KpiAggregateSchema, LocalizedTextSchema, MESSAGE_SURFACE_TEMPLATE_IDS, McpConfigSchema, McpTokenScopeSchema, MessageBlockContentSchema, MessageBlockRecordSchema, MessageBlockSchema, MessageSchema, MessageSurfaceSlot, MetadataField, MeteringConfigSchema, ModalSlot as ModalComponent, ModalFrame, ModalSlot, ModalSurface, NameField, NullableDatetimeField, OnboardingChecklistSchema, OnboardingStateSchema, OpportunityCandidateSchema, OpportunityEvidenceSchema, OpportunityInterpretationSchema, OptimizationSuggestionSchema, OrgMemberRoleSchema, PERSISTED_SCHEMA_FACET_EXEMPTIONS, PLATFORM_EMITTED_EVENT_NAMES, PLATFORM_EVENT_TAXONOMY, PLAYBOOK_FORMAT_VERSION, PaginatedResponseSchema, PaginationParamsSchema, PaymentTriggerPayloadSchema, PermissionActionSchema, PermissionResourceSchema, PermissionSchema, PersonalizationTokenSchema, Placement, PlacementCapRuleSchema, PlacementCategorySchema, PlacementController, PlacementDecisionInspector, PlacementDecisionOutputSchema, PlacementPayloadSchema, PlacementPerformanceRowSchema, PlacementRenderer, PlacementSchema, PlacementSettingsCapRuleGroupItemSchema, PlacementSettingsCapRuleSchema, PlacementSettingsCapStateSchema, PlacementSettingsSchema, PlacementTestModeSchema, PlacementTestUserIdentifierTypeSchema, PlacementTestUserSchema, PlacementTypeRegistry, PlacementWarningCodeSchema, PlacementWarningSchema, PlanSchema, PlanVariationSchema, PlanVisibilitySchema, PlaybookBodySchema, PlaybookHeaderSchema, PlaybookObjectSchema, PlaybookSchema, PlaybookStrictSchema, PlaybookVersionDeployResultSchema, PlaybookVersionDiffSchema, PlaybookVersionEntrySummarySchema, PlaybookVersionSchema, PlaybookVersionStatusSchema, PresentationOutcomeSchema, PriceSourceSchema, PricingModelSchema, PromotionSchema, PromotionStatusSchema, ProviderAvailabilitySchema, ProviderBindingRefSchema, ProviderCapabilitySchema, ProviderConnectionSchema, ProviderProvenanceSchema, PushPreviewSlot as PushPreviewComponent, PushPreviewSlot, QuotaMeterSlot as QuotaMeterComponent, QuotaMeterFrame, QuotaMeterSlot, RECOGNIZED_UPDATE_KEYS, ROLE_PERMISSIONS, ROLE_RANK, SurfaceSlotComponent as RTSlot, ApiError as RevTurbineApiError, RevTurbineConfigAddonVariationsItemSchema, RevTurbineConfigAddonsItemSchema, RevTurbineConfigEnforcementDefaultsItemSchema, RevTurbineConfigEntitlementRulesItemSchema, RevTurbineConfigEntitlementsItemSchema, RevTurbineConfigMeterBindingsItemSchema, RevTurbineConfigPeriodCapSchema, RevTurbineConfigPersonalizationTokensItemSchema, RevTurbineConfigPlacementCategorySchema, RevTurbineConfigPlacementItemSchema, RevTurbineConfigPlacementPayloadItemSchema, RevTurbineConfigPlacementSettingsItemSchema, RevTurbineConfigPlacementSlotsItemSchema, RevTurbineConfigPlacementTriggerSchema, RevTurbineConfigPlanVariationsItemSchema, RevTurbineConfigPlansItemSchema, RevTurbineConfigSchema, RevTurbineConfigSeatTypesItemSchema, RevTurbineConfigSegmentDimensionsItemSchema, RevTurbineConfigSegmentsItemPredicatesItemSchema, RevTurbineConfigSegmentsItemSchema, RevTurbineConfigSlotConfigsItemSchema, RevTurbineConfigStudioCtaConfigSchema, RevTurbineConfigStudioPayloadCapsSchema, RevTurbineConfigStudioPayloadSchema, RevTurbineConfigStudioPayloadSurfaceSchema, RevTurbineConfigStudioPayloadTargetSchema, RevTurbineConfigSurfaceTemplatesItemFieldsItemSchema, RevTurbineConfigSurfaceTemplatesItemSchema, RevTurbineConfigUiPathActionTypeSchema, RevTurbineCustomerSdk, RevTurbineProvider, RevTurbineServer, RevTurbineThemeProvider, RevenueMetricSchema, ReverseTrialRuleSchema, ReverseTrialSettingsSchema, ReverseTrialStartPolicySchema, RoleSchema, RuleVisibilitySchema, RuntimeMode, RuntimePromotionSnapshotSchema, SDK_AUTOMATIC_NON_EMITTED_NAMES, SDK_CLIENT_EVENT_NAMES, SDK_META_EVENT_NAMES, SEMANTIC_ID_PATTERN, SERVER_TRAITS_DOMAIN, SchemaContext, SchemaExposure, SchemaPersistence, SchemaSource, SdkConfigShapeSchema, SdkMetaEventSchema, SdkMetaEventTypeSchema, SdkMetaIngestBatchSchema, SdkSession, SeatTypeSchema, SegmentDimensionSchema, SegmentSchema, SegmentValueSchema, SemanticEventSchema, ServerEvaluationPayloadDecisionsItemSchema, ServerEvaluationPayloadEntitlementsValueSchema, ServerEvaluationPayloadSchema, ServerEvaluationPayloadTrialStatusSchema, ServerEvaluationPayloadUserContextSchema, ServerEvaluationPayloadUserSchema, ServerOnly, ServerUserContextProvider, SeveritySchema, SurfaceSlotComponent as Slot, SmsPreviewSlot as SmsPreviewComponent, SmsPreviewSlot, StripeIntegrationConfigSchema, StripePriceBillingPeriodSchema, StripePriceMockBillingPeriodSchema, StripePriceMockSchema, StripePriceSchema, StudioSurfaceTypeSchema, SuggestionSeveritySchema, SupersessionReasonSchema, SupersessionRecordSchema, SurfaceSlotComponent, SurfaceSlotSchema, SurfaceTemplateSchema, SurfaceTypeCapRuleSchema, SurfaceTypeSchema, TelemetryScope, TelemetryScopeContext, TemplateFieldTypeSchema, TenantConfigSchema, TenantIdField, TenantSchema, TenantStatusSchema, ThemeSchema, TimestampFields, ToastSlot as ToastComponent, ToastSlot, ToastSurface, TooltipSlot as TooltipComponent, TooltipSlot, Track, TrackEventSchema, TrackIngestBatchSchema, TrackOnView, TreatmentInteractionInputSchema, TreatmentInteractionTypeSchema, TrendFeaturesSchema, TrialEligibilityScopeSchema, TrialInstanceSchema, TrialLimitPolicySchema, TrialStatusSchema, TrialTriggerPayloadSchema, TriggerEventTypeSchema, UiPreferenceSchema, UnsupportedExperimentAssignmentUnitError, UsageAllocationSchema$1 as UsageAllocationSchema, UsageEnforcementSettingsSchema, UsagePeriodScopeSchema, UsageTriggerPayloadSchema, UserContextSchema, UserInstanceContextSchema, UserPlanContextSchema, UserProfile, UserRoleSchema, UserTrialStatusSchema, UserUsageEntrySchema, VIEW_ELEMENT_ID_PATTERN, VariantStatisticalSummarySchema, VersionFields, WebhookEventLogSchema, WebhookEventSourceSchema, WebhookEventStatusSchema, adaptExperimentVersionToBucketer, analyticsPaths, analyticsViewPaths, applyValueMaps, assertExperimentAnalysisConfigUpdateAllowed, bridgeUiPathResolversIntoRegistry, bucketSubject, buildAgentCatalogProjection, buildControlPlaneEvent, categorizeActionError, changelogPaths, clearPersistedTheme, collectPersistedSchemas, collectVersionedConfigEntities, compileAnalyticsDraft, configPaths, contentPaths, createAnalyticsProvider, createBasicExperimentProvider, createChainedPlacementRequest, createCustomEndpointRuntimeConfig, createEntitlementPlacementRequest, createFixtureAnalyticsCatalog, createHydrationProviders, createInMemoryAnalyticsCatalog, createLocalRuntimeConfig, createNativeExperimentAssignmentProvider, createPostHogAnalyticsProvider, createPostHogIntegration, createRevTurbineApiClient, createSemanticEvent, createServerRuntimeConfig, createSlotPlacementRequest, createStaticPlacementContentLookupProvider, createStaticPlacementResolver, createStaticProviders, createStrictLocalRuntimeConfig, createTreatmentInteraction, customerPaths, defaultRenderForQuery, defineUiPathResolvers, deriveLocalTrialStatusFromInstance, derivePlacementPersonalizationTokens, deriveReverseTrialGrants, dispatchCtaClick, entitlementPaths, entitlementResultDenies, environmentPaths, evaluateSegments, evaluateTrialStatus, eventPaths, experimentPaths, filterExternalSchemas, filterPersistedSchemas, findActiveTrialInstance, findLatestStartedTrialInstance, getDefaultCtaResolverRegistry, getDefaultRegistry, getFieldClassification, getFieldVisibility, getObjectFieldClassifications, getObjectFieldVisibilities, getSchemaClassification, getSchemaDeprecation, getSchemaExposure, getSchemaFacets, getSchemaIdentity, getSchemaPersistence, initRevTurbine, isBrowser, isServer, isVersionedConfigEntity, loadTheme, makeAnchor, mergeTheme, mintedIdentity, namedIdentity, normalizeConfigArtifactOrThrow, normalizeLegacyConfig, parsePlaybook, parsePromotion, parseUiPath, placementPaths, planPaths, playbookVersionPaths, projectClientSafe, promotionPaths, registerBuiltinSlotTypes, registerBuiltinSnoozeResolver, registerCtaResolver, registerServerActionResolvers, requireSchemaFacets, resetDefaultCtaResolverRegistry, resetDefaultRegistry, resolveBranding, resolveComponentType, resolveContent, resolveLocalPlaybook, resolvePayloadForUser, resolvePayloadForUserWithProvider, resolvePersistentStorage, resolveSessionStorage, resolveTokens, schemaDeprecation, schemaFacets, scopesSubsetOfRole, searchAgentCatalog, segmentPaths, settingsPaths, tenantPaths, toCreateSchema, toWritableSchema, trialPaths, uiPreferencePaths, unregisterCtaResolver, useCan, useEntitlement, useGatedAction, usePlacement, usePlacementPersonalization, useRevTurbine, useRevTurbineTheme, useSurfaceSlot, useTelemetryProps, useTelemetryScope, useTrack, useTrackedAction, useUsageSnapshot, userContextPaths, validateAnalyticsQuery, validateAnalyticsView, validatePlacementThresholdWarnings };
29770
+ export type { AccessGateCheck, AccessGateSurfaceSlotProps, ActionErrorCategory, ActivityLevel, AdapterBaseOptions, AddOn, AddOnVariation, AgentConnectorSlotProps as AgentConnectorComponentProps, AgentConnectorSlotProps, Alert, AnalysisProvenance, AnalyticsAgentCatalogEntry, AnalyticsAgentCatalogEntryKind, AnalyticsAnalyticalUnit, AnalyticsBlockError, AnalyticsBlockResult, AnalyticsCardinalityClass, AnalyticsCatalog, AnalyticsCatalogConcept, AnalyticsCatalogData, AnalyticsCatalogDeprecation, AnalyticsCatalogDimension, AnalyticsCatalogMetric, AnalyticsCatalogProvenance, AnalyticsCatalogProvenanceKind, AnalyticsCatalogSearchResult, AnalyticsCatalogSource, AnalyticsCatalogView, AnalyticsClassification, AnalyticsCompareMode, AnalyticsCompileOutput, AnalyticsCompileResolution, AnalyticsCoverage, AnalyticsCustomizationCapability, AnalyticsCustomizationPolicy, AnalyticsDimensionCapability, AnalyticsDimensionType, AnalyticsEventHandler, AnalyticsEventProperties, AnalyticsEventTransformer, AnalyticsFieldType, AnalyticsFilterControl, AnalyticsFilterOperator, AnalyticsFilterState, AnalyticsFilterValue, AnalyticsFormatSpec, AnalyticsHistoricalMode, AnalyticsMetricAggregationSemantics, AnalyticsMetricDirection, AnalyticsMetricStatisticalType, AnalyticsProviderOptions, AnalyticsQueryFamily, AnalyticsQueryRequest, AnalyticsQueryResponse, AnalyticsRenderCartesian, AnalyticsRenderFunnel, AnalyticsRenderMetric, AnalyticsRenderRecommendations, AnalyticsRenderSpec, AnalyticsRenderTable, AnalyticsRenderTimeline, AnalyticsResult, AnalyticsResultField, AnalyticsResultMeta, AnalyticsSafeChartOptions, AnalyticsSavedView, AnalyticsSemanticFilter, AnalyticsSemanticId, AnalyticsSourceScope, AnalyticsSuggestedPatchOp, AnalyticsTemplateSummary, AnalyticsTimeGrain, AnalyticsValidationCode, AnalyticsValidationIssue, AnalyticsValidationResult, AnalyticsView, AnalyticsViewAccess, AnalyticsViewAccessRole, AnalyticsViewBlock, AnalyticsViewBlockDraft, AnalyticsViewDraft, AnalyticsViewFilter, AnalyticsViewFilterDraft, AnalyticsViewHandoff, AnalyticsViewHandoffDraft, AnalyticsViewLayout, AnalyticsViewQuery, AnalyticsViewRevision, AnalyticsViewVisibility, AnalyticsWarning, AnyDomainProvider, ApiKey, ApiKeyStatus, AuditActorType, AuditEvent, AuthAccount, AuthApiKey, AuthInvitation, AuthMember, AuthOrganization, AuthPasskey, AuthSession, AuthSsoProvider, AuthTwoFactor, AuthUser, AuthVerification, BannerSlotProps as BannerComponentProps, BannerFrameProps, BannerSlotProps, BannerSurfaceProps, BasicBucketerExperiment, BasicBucketerOptions, BillingCadence, BillingHealthStatus, BrandingConfig, BrandingResolutionInput, BrandingSource, BrowserRuntimeOptions, ButtonSlotProps as ButtonComponentProps, ButtonSlotProps, ButtonSurfaceProps, CanonicalExperimentAllocation, CapEnforcementResult, CapPeriod, ChangeListener, ChangeLogAction, ChangeLogEntry, CliSlotProps as CliComponentProps, CliSlotProps, ClientContext, CohortMonth, CompactCircularGaugeProps, CompileAnalyticsDraftOptions, ComponentType, ConfigArtifact, ContentPayloadSegmentEntry, ContentPlacementPayload, ContentPromotion, ContentProvider, ContentProviderState, ContentUiPath, ControlPlaneEmitInput, ControlPlaneEventSource, ControlPlaneEventType, ControlPlaneSemanticEvent, CreditBalanceSlotProps as CreditBalanceComponentProps, CreditBalanceSlotProps, CtaActionType, CtaHandler, CtaHandlerMap, CtaHandlerProvider, CtaHandlerProviderState, CtaObject, CtaPath, CtaPathType, CtaResolver, CtaResolverContext, Currency, Customer, CustomerOverride, CustomerOverrideDuration, CustomerOverrideStatus, CustomerOverrideType, DataClassificationValue, DecisionEngineOptions, DefaultTemplateIds, DeriveTrialStatusInput, DetectorRequirements, DimensionCategory, DimensionSourceType, DiscountType, DomainProvider, DomainProviderName, DriftReport, EnforcementAction, EnforcementMode, EngagementAreaProps, Entitlement, EntitlementCheckResult$1 as EntitlementCheckResult, EntitlementGateOptions, EntitlementGateState, EntitlementGrant$1 as EntitlementGrant, EntitlementGrantSet$1 as EntitlementGrantSet, EntitlementGrantSource, EntitlementGrantStatus, EntitlementProvider, EntitlementProviderState, EntitlementResult, EntitlementRule, EntitlementRulePeriodUnit, EntitlementRuleSnapshot, EntitlementRuleTarget, EntitlementRuleTargetKind$1 as EntitlementRuleTargetKind, EntitlementRuleValidated, EntitlementRuleVariant, EntitlementStatus, EntitlementType, EntitlementUsageEntry, Environment, EnvironmentPromotionRequest, EnvironmentStatus, EvaluateTrialStatusInput, EvaluateTrialStatusResult, EvaluationContext, EventConsumer, EventConsumerProvider, EventConsumerProviderState, EventEnvelope, EventIngestBatch, EventPrefixFamily, EventSearchParams, EventSource, EventStability, EventSurface, EventTaxonomy, EventTaxonomyEntry, EvidenceRequirement, Exact, Experiment, ExperimentAnalysisConfig, ExperimentAnalysisResult, ExperimentAnalysisResultRecord, ExperimentAssignmentProvider, ExperimentEvidence, ExperimentEvidenceSnapshot, ExperimentHealth, ExperimentMetricResult, ExperimentProvider, ExperimentProviderState, ExperimentStatus, ExperimentType, ExperimentVariant, ExperimentVariantTarget, Playbook as ExportedConfig, ExportedConfigPlacementItem, ExportedConfigProvider, ExportedConfigSegmentsItem, ExportedConfigSegmentsItemPredicatesItem, ExportedConfigUiPathActionType, FeatureFlag, FeatureFlagValue, FeatureGateTriggerPayload, FieldDefinition, FixedSurfaceSlotProps, FlagValueType, FreeTrialRule, FreeTrialSettings, FullPageSlotProps as FullPageComponentProps, FullPageSlotProps, FunnelStep, AccessGateSurfaceSlotProps as GateProps, GatedAction, GrowthSignalBundle, GrowthSignalPoint, GrowthSignalSeries, IdentifyContextInput, Identity, IdentityDeclaration, InPageSlotProps as InPageComponentProps, InPageSlotProps, InPageSurfaceProps, IngestWriteScope, IngestedEvent, InlineCardPlacementProps, InlineEmbedSlotProps as InlineEmbedComponentProps, InlineEmbedSlotProps, InteractionState, InvitationStatus, JsonObject, JsonValue, KpiAggregate, LegacyConfigTargetDefaults, LocalPlacementDataset, LocalPlacementEntry, LocalPlacementPayload, LocalPlacementSurface, LocalizedText, McpConfig, McpTokenScope, Message, MessageBlock, MessageBlockContent, MessageBlockRecord, MessageBlockSnapshot, MessageSurfaceSlotProps, MessageSurfaceSlotRef, MessageTriggerType, MeteringConfig, ModalSlotProps as ModalComponentProps, ModalFrameProps, ModalLayout, ModalSlotProps, ModalSurfaceProps, NativeExperimentAssignmentOptions, NativeExperimentAssignmentUnit, OnboardingChecklist, OnboardingState, OpportunityCandidate, OpportunityEvidence, OpportunityInterpretation, OptimizationSuggestion, OrgMemberRole, PaginationParams, PaymentTriggerPayload, Permission, PermissionAction, PermissionResource, PersonalizationContext, PersonalizationToken, PlacementCapPolicy, PlacementCapRule, PlacementCategory, PlacementContentFields, PlacementContentLookupProvider, PlacementControllerOptions, PlacementControllerState, PlacementCustomCode, PlacementDecisionInspectorProps, PlacementDecisionOutput, PlacementEmittedThresholdLookup, PlacementOutput, PlacementPayload, PlacementPayloadSnapshot, PlacementPerformanceRow, PlacementPreviewConfig, PlacementPromotion, PlacementProps, PlacementRendererProps, PlacementSettings, PlacementSettingsCapRule, PlacementSettingsCapRuleGroupItem, PlacementSettingsCapState, PlacementSlotProps, PlacementSlotType, PlacementTestMode, PlacementTestUser, PlacementTestUserIdentifierType, PlacementUiPath, PlacementUiPathActionType, PlacementWarning, PlacementWarningCode, Plan, PlanProvider, PlanProviderState, PlanRuleSnapshot, PlanVariation, PlanVisibility, Playbook, PlaybookBody, PlaybookHeader, PlaybookObject, PlaybookStrict, PlaybookVersion, PlaybookVersionDeployResult, PlaybookVersionDiff, PlaybookVersionEntrySummary, PlaybookVersionStatus, PostHogAnalyticsProviderOptions, PostHogIntegrationOptions, PostHogLike, PresentationCapState, PresentationOutcome, PriceSource, PricingModel, Promotion, PromotionStatus, ProviderAvailability, ProviderBindingRef, ProviderCapability, ProviderConnection, ProviderProvenance, QuotaMeterSlotProps as QuotaMeterComponentProps, QuotaMeterFrameProps, QuotaMeterSlotProps, SurfaceSlotComponentProps as RTSlotProps, RegisterPlacementSlotTypeOptions, ResolvedBranding, ResolvedContent, ResolvedDomainType, ResolvedPayload, ResolvedProviderContext, RevTurbineApiClient, RevTurbineApiClientConfig, paths as RevTurbineApiPaths, RevTurbineBootstrapDecisionInput, RevTurbineChainedPlacementRequestOptions, RevTurbineClientSessionProvider, RevTurbineComponentType, Playbook as RevTurbineConfig, RevTurbineConfigAddonVariationsItem, RevTurbineConfigAddonsItem, RevTurbineConfigEnforcementDefaultsItem, RevTurbineConfigEntitlementRulesItem, RevTurbineConfigEntitlementsItem, RevTurbineConfigMeterBindingsItem, RevTurbineConfigPeriodCap, RevTurbineConfigPersonalizationTokensItem, RevTurbineConfigPlacementCategory, RevTurbineConfigPlacementItem, RevTurbineConfigPlacementPayloadItem, RevTurbineConfigPlacementSettingsItem, RevTurbineConfigPlacementSlotsItem, RevTurbineConfigPlacementTrigger, RevTurbineConfigPlanVariationsItem, RevTurbineConfigPlansItem, RevTurbineConfigProvider, RevTurbineConfigSeatTypesItem, RevTurbineConfigSegmentDimensionsItem, RevTurbineConfigSegmentsItem, RevTurbineConfigSegmentsItemPredicatesItem, RevTurbineConfigSlotConfigsItem, RevTurbineConfigStudioCtaConfig, RevTurbineConfigStudioPayload, RevTurbineConfigStudioPayloadCaps, RevTurbineConfigStudioPayloadSurface, RevTurbineConfigStudioPayloadTarget, RevTurbineConfigSurfaceTemplatesItem, RevTurbineConfigSurfaceTemplatesItemFieldsItem, RevTurbineConfigUiPathActionType, RevTurbineContextMode, RevTurbineContextPolicy, RevTurbineDecisionContent, RevTurbineEndpointOverrides, RevTurbineEntitlementContext, RevTurbineEntitlementPlacementRequestOptions, RevTurbineEntitlementRuleEvaluation, RevTurbineEventBatchingOptions, RevTurbineEventEnvelope, RevTurbineEventOptions, RevTurbineGateResult, RevTurbineImpressionMetadata, RevTurbineInitBaseOptions, RevTurbineInitInputOptions, RevTurbineInitOptions, RevTurbineInitOptionsStrict, RevTurbineInitWithProviderOptions, RevTurbineLocalOnlyMinimalInitOptions, RevTurbineLocalRuntimeData, RevTurbineLocalRuntimeOptions, RevTurbineLocalRuntimeResolvers, RevTurbineMeterUsageOverride, RevTurbinePageContext, RevTurbinePersonalizationTokens, RevTurbinePlacementBehaviorFlags, RevTurbinePlacementConfig, RevTurbinePlacementContent, RevTurbinePlacementDecision, RevTurbinePlacementDecisionExplanation, RevTurbinePlacementDecisionInput, RevTurbinePlacementDecisionOverrides, RevTurbinePlacementPayloadEvaluation, RevTurbinePlacementRecord, RevTurbinePlacementRequestConfig, RevTurbinePlacementRuleEvaluation, RevTurbinePlacementTypeEntity, RevTurbinePolicySnapshot, RevTurbineProviderFactory, RevTurbineProviderFailureSlotBehavior, RevTurbineProviderProps, RevTurbineRequiredUiPathResolvers, RevTurbineRuntimeMode, RevTurbineSdkMode, RevTurbineSdkProvider, RevTurbineSegmentEvaluation, RevTurbineSegmentPredicateEvaluation, RevTurbineSemanticEvent, RevTurbineServerOptions, RevTurbineSlotPlacementRequestOptions, RevTurbineStorage, RevTurbineSurfaceSlotConfig, RevTurbineSurfaceType, RevTurbineTargeting, RevTurbineTelemetryOptions, RevTurbineTheme, RevTurbineThemeColors, RevTurbineThemeInput, RevTurbineThemeShadows, RevTurbineThemeShape, RevTurbineThemeTypography, RevTurbineTreatmentInteractionInput, RevTurbineTreatmentInteractionOptions, RevTurbineTreatmentInteractionType, RevTurbineTrialContext, RevTurbineTriggerEvent, RevTurbineTriggerPayload, RevTurbineUiPathActionTypes, RevTurbineUiPathResolver, RevTurbineUiPathResolverMap, RevTurbineUiPathResolverValidationIssue, RevTurbineUiPathResolverValidationOptions, RevTurbineUiPathResolverValidationReport, RevTurbineUpdateInput, RevTurbineUsageSnapshot, RevTurbineUsageSnapshotEntry, RevTurbineUserContext, RevenueMetric, ReverseTrialRule, ReverseTrialSettings, ReverseTrialStartPolicy, Role, RuleProvider, RuleProviderState, RuleVisibility, RuntimePromotionSnapshot, SchemaDeprecation, SchemaFacetOptions, SchemaFacets, SdkConfigShape, SdkEventProperties, SdkMetaEvent, SdkMetaEventType, SdkMetaIngestBatch, SdkMetadata, SdkSessionOptions, SdkTraits, SeatType, Segment, SegmentDimension, SegmentProvider, SegmentProviderState, SegmentValue, SemanticEvent, ServerActionContext, ServerActionHandler, ServerActionMap, ServerActionResult, ServerEntitlementResult, ServerEvaluationHydrationPayload, ServerEvaluationPayload, ServerEvaluationPayloadDecisionsItem, ServerEvaluationPayloadEntitlementsValue, ServerEvaluationPayloadTrialStatus, ServerEvaluationPayloadUser, ServerEvaluationPayloadUserContext, ServerEvaluationRequest, ServerPlacementDecision, ServerPlacementRequest, ServerUserContext, ServerUserContextSnapshot, Severity, SurfaceSlotComponentProps as SlotProps, StaticPlacementResolverOptions, StripeIntegrationConfig, StripePrice, StripePriceBillingPeriod, StripePriceMock, StripePriceMockBillingPeriod, StudioSurfaceType, SuggestionSeverity, SupersessionReason, SupersessionRecord, SuppressionResult, SurfaceSlot, SurfaceSlotCategory, SurfaceSlotComponentProps, SurfaceTemplate, SurfaceType, SurfaceTypeCapRule, TelemetryConsent, TelemetryScopeProps, TelemetryScopeValue, TemplateFieldType, Tenant, TenantConfig, TenantStatus, Theme, ThemeLoaderOptions, ThemeProvider, ThemeProviderState, ToastSlotProps as ToastComponentProps, ToastSlotProps, ToastSurfaceProps, TooltipSlotProps as TooltipComponentProps, TooltipSlotProps, TrackEvent, TrackFn, TrackIngestBatch, TrackOnViewProps, TrackOptions, TrackProps, TrackPurpose, TrackedAction, Trait, TraitsNamespace, TraitsProvider, TraitsProviderState, TreatmentInteractionInput, TreatmentInteractionType, TrendFeatures, TrialEligibilityScope, TrialInstance, TrialLimitPolicy, TrialStatus, TrialStatusProvider, TrialStatusTraits, TrialTriggerPayload, TriggerEventType, UiPreference, UnvalidatedConfigArtifact, UsageAllocation, UsageBalances, UsageEnforcementSettings, UsagePeriodScope, UsageTraits, UsageTraitsProvider, UsageTriggerPayload, UseCanResult, UseEntitlementOptions, UseEntitlementResult, UsePlacementOptions, UsePlacementPersonalizationOptions, UsePlacementResult, UseSurfaceSlotOptions, UseSurfaceSlotResult, UseUsageSnapshotResult, UserContext, UserContextInput, UserInstanceContext, UserPlanContext, UserProfileProps, UserRole, UserTargetingContext, UserTrialStatus, UserUsageEntry, ValidateAnalyticsViewOptions, VariantStatisticalSummary, WebhookEventLog, WebhookEventSource, WebhookEventStatus };