@donotdev/core 0.1.47 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import * as v from 'valibot';
2
2
  import * as react from 'react';
3
- import { ReactNode, ComponentType, ReactElement } from 'react';
3
+ import { ComponentType, ReactNode, ReactElement } from 'react';
4
4
  import { FieldValues } from 'react-hook-form';
5
- import { InitOptions, TFunction, i18n } from 'i18next';
6
- import { useTranslation as useTranslation$1, TransProps } from 'react-i18next';
5
+ import { TFunction, i18n, InitOptions } from 'i18next';
6
+ import { TransProps, useTranslation as useTranslation$1 } from 'react-i18next';
7
7
  import * as zustand from 'zustand';
8
8
  import { StoreApi, UseBoundStore } from 'zustand';
9
9
  import { PersistOptions } from 'zustand/middleware';
10
- import { QueryClient, UseQueryOptions, UseQueryResult, UseMutationOptions, UseMutationResult, MutationOptions, QueryClientProvider, QueryClientProviderProps, QueryFunction, QueryKey, useQueryClient } from '@tanstack/react-query';
10
+ import { MutationOptions, QueryClient, QueryClientProvider, QueryClientProviderProps, QueryFunction, QueryKey, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult, useQueryClient } from '@tanstack/react-query';
11
11
  export { MutationOptions, QueryClient, QueryClientProvider, QueryClientProviderProps, QueryFunction, QueryKey, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult, useQueryClient } from '@tanstack/react-query';
12
12
  import { DISPLAY, BUTTON_VARIANT } from '@donotdev/components';
13
13
 
@@ -3933,54 +3933,126 @@ declare const DEFAULT_SUBSCRIPTION: SubscriptionClaims;
3933
3933
  * @fileoverview Schema Definitions for Billing and Subscription Management
3934
3934
  * @description Single source of truth for all billing-related data validation. Defines Valibot schemas for billing, subscriptions, checkout sessions, and related data structures.
3935
3935
  *
3936
- * @version 0.1.0
3936
+ * @version 0.2.0
3937
3937
  * @since 0.0.1
3938
3938
  * @author AMBROISE PARK Consulting
3939
3939
  */
3940
3940
 
3941
3941
  /**
3942
- * Schema for creating a checkout session request
3943
- * Uses constants for enum values to ensure consistency
3942
+ * Maximum line items per checkout request (framework limit).
3944
3943
  *
3945
- * @version 0.1.0
3944
+ * @version 0.2.0
3945
+ * @since 0.2.0
3946
+ * @author AMBROISE PARK Consulting
3947
+ */
3948
+ declare const MAX_CHECKOUT_LINE_ITEMS = 100;
3949
+ /**
3950
+ * One requested line: what the client wants, never what it costs.
3951
+ * Names and prices are resolved on the server.
3952
+ *
3953
+ * @version 0.2.0
3954
+ * @since 0.2.0
3955
+ * @author AMBROISE PARK Consulting
3956
+ */
3957
+ declare const CheckoutLineItemInputSchema: v.ObjectSchema<{
3958
+ /** App product ID. For StripePayment/StripeSubscription: the billing config key. */
3959
+ readonly productId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
3960
+ readonly quantity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>;
3961
+ }, undefined>;
3962
+ /**
3963
+ * Schema for creating a checkout session request.
3964
+ * The client sends what it wants (config key + line items); the server derives
3965
+ * prices, mode and user from the back config and the auth context.
3966
+ *
3967
+ * 0.1.x requests keep working unchanged: the key may come from
3968
+ * `metadata.billingConfigKey`, `lineItems` defaults to the single product, and
3969
+ * the 0.1.x fields (`priceId`, `unitAmount` + `productName`, `currency`, `mode`)
3970
+ * are kept and honoured for StripePayment/StripeSubscription items exactly as in
3971
+ * 0.1.x (priceId checked against the back config, dynamic amounts capped by
3972
+ * `maxUnitAmount`). StripeOrder ignores them. `userId` is never trusted by the
3973
+ * framework providers: they pass the authenticated user.
3974
+ * The output is always normalized (`billingConfigKey` + `lineItems` set).
3975
+ *
3976
+ * @version 0.2.0
3946
3977
  * @since 0.0.1
3947
3978
  * @author AMBROISE PARK Consulting
3948
3979
  */
3949
3980
  declare const CreateCheckoutSessionRequestSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3981
+ /** Key in the app's StripeBackConfig */
3982
+ readonly billingConfigKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3983
+ readonly lineItems: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
3984
+ /** App product ID. For StripePayment/StripeSubscription: the billing config key. */
3985
+ readonly productId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
3986
+ readonly quantity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>;
3987
+ }, undefined>, undefined>, v.MinLengthAction<{
3988
+ productId: string;
3989
+ quantity: number;
3990
+ }[], 1, "At least one line item is required">, v.MaxLengthAction<{
3991
+ productId: string;
3992
+ quantity: number;
3993
+ }[], 100, "At most 100 line items">]>, undefined>;
3994
+ readonly successUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
3995
+ readonly cancelUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
3996
+ readonly customerEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
3997
+ readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
3998
+ readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3999
+ /** 0.1.x: ignored by the framework providers (they pass the authenticated user) */
3950
4000
  readonly userId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3951
4001
  readonly productId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3952
- /** Stripe price ID (fixed pricing mode) */
4002
+ /** 0.1.x: Stripe price ID (must match the back config priceId when it has one) */
3953
4003
  readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3954
- /** Amount in cents (dynamic pricing mode) */
4004
+ /** 0.1.x: amount in cents (dynamic pricing, capped by the back config `maxUnitAmount`) */
3955
4005
  readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
3956
- /** Product name shown on Stripe checkout (dynamic pricing mode) */
4006
+ /** 0.1.x: product name shown on Stripe checkout (dynamic pricing) */
3957
4007
  readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
3958
- /** Currency code, defaults to 'eur' (dynamic pricing mode) */
4008
+ /** 0.1.x: currency code (dynamic pricing), defaults to the back config currency */
3959
4009
  readonly currency: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, "Currency must be 3-letter ISO code">]>, undefined>;
3960
- readonly successUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
3961
- readonly cancelUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
3962
- readonly customerEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
3963
4010
  readonly userEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
3964
- readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
3965
- readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4011
+ /** 0.1.x: Stripe mode. Omitted: derived from the back config item type. */
3966
4012
  readonly mode: v.OptionalSchema<v.PicklistSchema<["payment", "subscription"], undefined>, undefined>;
3967
- }, undefined>, v.CheckAction<{
4013
+ }, undefined>, v.RawTransformAction<{
4014
+ billingConfigKey?: string | undefined;
4015
+ lineItems?: {
4016
+ productId: string;
4017
+ quantity: number;
4018
+ }[] | undefined;
4019
+ successUrl: string;
4020
+ cancelUrl: string;
4021
+ customerEmail?: string | undefined;
4022
+ metadata?: {
4023
+ [x: string]: string;
4024
+ } | undefined;
4025
+ allowPromotionCodes?: boolean | undefined;
3968
4026
  userId?: string | undefined;
3969
4027
  productId?: string | undefined;
3970
4028
  priceId?: string | undefined;
3971
4029
  unitAmount?: number | undefined;
3972
4030
  productName?: string | undefined;
3973
4031
  currency?: string | undefined;
4032
+ userEmail?: string | undefined;
4033
+ mode?: "payment" | "subscription" | undefined;
4034
+ }, {
4035
+ billingConfigKey: string;
4036
+ lineItems: {
4037
+ productId: string;
4038
+ quantity: number;
4039
+ }[];
3974
4040
  successUrl: string;
3975
4041
  cancelUrl: string;
3976
4042
  customerEmail?: string | undefined;
3977
- userEmail?: string | undefined;
3978
4043
  metadata?: {
3979
4044
  [x: string]: string;
3980
4045
  } | undefined;
3981
4046
  allowPromotionCodes?: boolean | undefined;
4047
+ userId?: string | undefined;
4048
+ productId?: string | undefined;
4049
+ priceId?: string | undefined;
4050
+ unitAmount?: number | undefined;
4051
+ productName?: string | undefined;
4052
+ currency?: string | undefined;
4053
+ userEmail?: string | undefined;
3982
4054
  mode?: "payment" | "subscription" | undefined;
3983
- }, "Either priceId or (unitAmount + productName) is required">]>;
4055
+ }>]>;
3984
4056
  /**
3985
4057
  * Schema for creating a checkout session response
3986
4058
  *
@@ -4055,13 +4127,21 @@ declare const CheckoutSessionMetadataSchema: v.LooseObjectSchema<{
4055
4127
  readonly productType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4056
4128
  }, undefined>;
4057
4129
  /**
4058
- * Create checkout session request type
4130
+ * Create checkout session request type (normalized: `billingConfigKey` and `lineItems` set)
4059
4131
  *
4060
- * @version 0.1.0
4132
+ * @version 0.2.0
4061
4133
  * @since 0.0.1
4062
4134
  * @author AMBROISE PARK Consulting
4063
4135
  */
4064
4136
  type CreateCheckoutSessionRequest = v.InferOutput<typeof CreateCheckoutSessionRequestSchema>;
4137
+ /**
4138
+ * Create checkout session request as sent by a client (before normalization)
4139
+ *
4140
+ * @version 0.2.0
4141
+ * @since 0.2.0
4142
+ * @author AMBROISE PARK Consulting
4143
+ */
4144
+ type CreateCheckoutSessionRequestInput = v.InferInput<typeof CreateCheckoutSessionRequestSchema>;
4065
4145
  /**
4066
4146
  * Create checkout session response type
4067
4147
  *
@@ -4141,47 +4221,88 @@ type ProductDeclaration = v.InferOutput<typeof ProductDeclarationSchema> & {
4141
4221
  onPaymentFailed?: (userId: string, metadata: any) => Promise<void>;
4142
4222
  };
4143
4223
  /**
4144
- * Validate create checkout session request
4224
+ * Validate (and normalize) a create checkout session request
4145
4225
  *
4146
- * @version 0.1.0
4226
+ * @version 0.2.0
4147
4227
  * @since 0.0.1
4148
4228
  * @author AMBROISE PARK Consulting
4149
4229
  */
4150
4230
  declare function validateCreateCheckoutSessionRequest(data: unknown): v.SafeParseResult<v.SchemaWithPipe<readonly [v.ObjectSchema<{
4231
+ /** Key in the app's StripeBackConfig */
4232
+ readonly billingConfigKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
4233
+ readonly lineItems: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
4234
+ /** App product ID. For StripePayment/StripeSubscription: the billing config key. */
4235
+ readonly productId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
4236
+ readonly quantity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>;
4237
+ }, undefined>, undefined>, v.MinLengthAction<{
4238
+ productId: string;
4239
+ quantity: number;
4240
+ }[], 1, "At least one line item is required">, v.MaxLengthAction<{
4241
+ productId: string;
4242
+ quantity: number;
4243
+ }[], 100, "At most 100 line items">]>, undefined>;
4244
+ readonly successUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
4245
+ readonly cancelUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
4246
+ readonly customerEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
4247
+ readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
4248
+ readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4249
+ /** 0.1.x: ignored by the framework providers (they pass the authenticated user) */
4151
4250
  readonly userId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4152
4251
  readonly productId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4153
- /** Stripe price ID (fixed pricing mode) */
4252
+ /** 0.1.x: Stripe price ID (must match the back config priceId when it has one) */
4154
4253
  readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4155
- /** Amount in cents (dynamic pricing mode) */
4254
+ /** 0.1.x: amount in cents (dynamic pricing, capped by the back config `maxUnitAmount`) */
4156
4255
  readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
4157
- /** Product name shown on Stripe checkout (dynamic pricing mode) */
4256
+ /** 0.1.x: product name shown on Stripe checkout (dynamic pricing) */
4158
4257
  readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
4159
- /** Currency code, defaults to 'eur' (dynamic pricing mode) */
4258
+ /** 0.1.x: currency code (dynamic pricing), defaults to the back config currency */
4160
4259
  readonly currency: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, "Currency must be 3-letter ISO code">]>, undefined>;
4161
- readonly successUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
4162
- readonly cancelUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
4163
- readonly customerEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
4164
4260
  readonly userEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
4165
- readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
4166
- readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4261
+ /** 0.1.x: Stripe mode. Omitted: derived from the back config item type. */
4167
4262
  readonly mode: v.OptionalSchema<v.PicklistSchema<["payment", "subscription"], undefined>, undefined>;
4168
- }, undefined>, v.CheckAction<{
4263
+ }, undefined>, v.RawTransformAction<{
4264
+ billingConfigKey?: string | undefined;
4265
+ lineItems?: {
4266
+ productId: string;
4267
+ quantity: number;
4268
+ }[] | undefined;
4269
+ successUrl: string;
4270
+ cancelUrl: string;
4271
+ customerEmail?: string | undefined;
4272
+ metadata?: {
4273
+ [x: string]: string;
4274
+ } | undefined;
4275
+ allowPromotionCodes?: boolean | undefined;
4169
4276
  userId?: string | undefined;
4170
4277
  productId?: string | undefined;
4171
4278
  priceId?: string | undefined;
4172
4279
  unitAmount?: number | undefined;
4173
4280
  productName?: string | undefined;
4174
4281
  currency?: string | undefined;
4282
+ userEmail?: string | undefined;
4283
+ mode?: "payment" | "subscription" | undefined;
4284
+ }, {
4285
+ billingConfigKey: string;
4286
+ lineItems: {
4287
+ productId: string;
4288
+ quantity: number;
4289
+ }[];
4175
4290
  successUrl: string;
4176
4291
  cancelUrl: string;
4177
4292
  customerEmail?: string | undefined;
4178
- userEmail?: string | undefined;
4179
4293
  metadata?: {
4180
4294
  [x: string]: string;
4181
4295
  } | undefined;
4182
4296
  allowPromotionCodes?: boolean | undefined;
4297
+ userId?: string | undefined;
4298
+ productId?: string | undefined;
4299
+ priceId?: string | undefined;
4300
+ unitAmount?: number | undefined;
4301
+ productName?: string | undefined;
4302
+ currency?: string | undefined;
4303
+ userEmail?: string | undefined;
4183
4304
  mode?: "payment" | "subscription" | undefined;
4184
- }, "Either priceId or (unitAmount + productName) is required">]>>;
4305
+ }>]>>;
4185
4306
  /**
4186
4307
  * Validate create checkout session response
4187
4308
  *
@@ -4399,32 +4520,144 @@ declare const StripeFrontConfigSchema: v.RecordSchema<v.StringSchema<undefined>,
4399
4520
  readonly productName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4400
4521
  readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4401
4522
  }, undefined>, undefined>;
4523
+ /**
4524
+ * Tax handling for StripeOrder. Unit amounts are always excl. VAT
4525
+ * (`tax_behavior: 'exclusive'`).
4526
+ * - `manual`: Stripe Tax Rate IDs applied to every line
4527
+ * - `automatic`: Stripe Tax computes the tax (reverse charge from the buyer's tax ID)
4528
+ *
4529
+ * @version 0.2.0
4530
+ * @since 0.2.0
4531
+ * @author AMBROISE PARK Consulting
4532
+ */
4533
+ declare const StripeOrderTaxSchema: v.VariantSchema<"mode", [v.ObjectSchema<{
4534
+ readonly mode: v.LiteralSchema<"manual", undefined>;
4535
+ readonly taxRateIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
4536
+ }, undefined>, v.ObjectSchema<{
4537
+ readonly mode: v.LiteralSchema<"automatic", undefined>;
4538
+ }, undefined>], undefined>;
4539
+ /**
4540
+ * Maximum shipping rates per Checkout Session (Stripe `shipping_options` limit).
4541
+ *
4542
+ * @version 0.2.0
4543
+ * @since 0.2.0
4544
+ * @author AMBROISE PARK Consulting
4545
+ */
4546
+ declare const MAX_SHIPPING_RATE_IDS = 5;
4547
+ /**
4548
+ * Shipping collection for StripeOrder.
4549
+ *
4550
+ * @version 0.2.0
4551
+ * @since 0.2.0
4552
+ * @author AMBROISE PARK Consulting
4553
+ */
4554
+ declare const StripeOrderShippingSchema: v.ObjectSchema<{
4555
+ /** Uppercase ISO 3166-1 alpha-2 country codes the order can ship to (e.g. `FR`) */
4556
+ readonly allowedCountries: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "allowedCountries: uppercase ISO 3166-1 alpha-2 code expected (e.g. FR)">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
4557
+ /** Stripe Shipping Rate IDs offered at checkout (Stripe allows at most 5) */
4558
+ readonly shippingRateIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MaxLengthAction<string[], 5, "shippingRateIds: at most 5 (Stripe limit)">]>, undefined>;
4559
+ }, undefined>;
4560
+ /**
4561
+ * Back-config item for a multi-line, one-time order priced on the server
4562
+ * (`resolveLineItems` hook, TypeScript only).
4563
+ *
4564
+ * @version 0.2.0
4565
+ * @since 0.2.0
4566
+ * @author AMBROISE PARK Consulting
4567
+ */
4568
+ declare const StripeOrderBackSchema: v.ObjectSchema<{
4569
+ readonly type: v.LiteralSchema<"StripeOrder", undefined>;
4570
+ readonly name: v.StringSchema<undefined>;
4571
+ /** ISO 4217 currency of every resolved line */
4572
+ readonly currency: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, undefined>]>;
4573
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4574
+ readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
4575
+ readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4576
+ readonly tax: v.VariantSchema<"mode", [v.ObjectSchema<{
4577
+ readonly mode: v.LiteralSchema<"manual", undefined>;
4578
+ readonly taxRateIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
4579
+ }, undefined>, v.ObjectSchema<{
4580
+ readonly mode: v.LiteralSchema<"automatic", undefined>;
4581
+ }, undefined>], undefined>;
4582
+ /** Collect the buyer's tax ID (VAT number) */
4583
+ readonly taxIdCollection: v.PicklistSchema<["disabled", "optional", "required"], undefined>;
4584
+ readonly billingAddressCollection: v.PicklistSchema<["auto", "required"], undefined>;
4585
+ readonly shipping: v.OptionalSchema<v.ObjectSchema<{
4586
+ /** Uppercase ISO 3166-1 alpha-2 country codes the order can ship to (e.g. `FR`) */
4587
+ readonly allowedCountries: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "allowedCountries: uppercase ISO 3166-1 alpha-2 code expected (e.g. FR)">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
4588
+ /** Stripe Shipping Rate IDs offered at checkout (Stripe allows at most 5) */
4589
+ readonly shippingRateIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MaxLengthAction<string[], 5, "shippingRateIds: at most 5 (Stripe limit)">]>, undefined>;
4590
+ }, undefined>, undefined>;
4591
+ readonly customerCreation: v.PicklistSchema<["always", "if_required"], undefined>;
4592
+ /** Generate a post-payment Stripe invoice */
4593
+ readonly invoiceCreation: v.BooleanSchema<undefined>;
4594
+ /** Stripe Payment Method Configuration ID (card, SEPA debit...). Omit to use the account default. */
4595
+ readonly paymentMethodConfiguration: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
4596
+ }, undefined>;
4402
4597
  /**
4403
4598
  * Schema for backend billing configuration (with hooks)
4404
4599
  *
4405
- * @version 0.1.0
4600
+ * @version 0.2.0
4406
4601
  * @since 0.0.1
4407
4602
  * @author AMBROISE PARK Consulting
4408
4603
  */
4409
- declare const StripeBackConfigSchema: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
4410
- readonly type: v.PicklistSchema<["StripePayment", "StripeSubscription"], undefined>;
4604
+ declare const StripeBackConfigSchema: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
4411
4605
  readonly name: v.StringSchema<undefined>;
4412
4606
  readonly price: v.NumberSchema<undefined>;
4413
4607
  readonly currency: v.StringSchema<undefined>;
4414
- /** Stripe price ID (fixed pricing). Optional for dynamic pricing products. */
4415
4608
  readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4416
- /** Default amount in cents (dynamic pricing). */
4417
4609
  readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
4418
- /** Product name for Stripe checkout (dynamic pricing). */
4419
4610
  readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
4420
- /** Maximum allowed unit amount in cents. Security cap. */
4421
4611
  readonly maxUnitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
4422
4612
  readonly tier: v.StringSchema<undefined>;
4423
4613
  readonly duration: v.StringSchema<undefined>;
4424
4614
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4425
4615
  readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
4426
4616
  readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4427
- }, undefined>, undefined>;
4617
+ readonly type: v.LiteralSchema<"StripePayment", undefined>;
4618
+ }, undefined>, v.ObjectSchema<{
4619
+ readonly name: v.StringSchema<undefined>;
4620
+ readonly price: v.NumberSchema<undefined>;
4621
+ readonly currency: v.StringSchema<undefined>;
4622
+ readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4623
+ readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
4624
+ readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
4625
+ readonly maxUnitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
4626
+ readonly tier: v.StringSchema<undefined>;
4627
+ readonly duration: v.StringSchema<undefined>;
4628
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4629
+ readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
4630
+ readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4631
+ readonly type: v.LiteralSchema<"StripeSubscription", undefined>;
4632
+ }, undefined>, v.ObjectSchema<{
4633
+ readonly type: v.LiteralSchema<"StripeOrder", undefined>;
4634
+ readonly name: v.StringSchema<undefined>;
4635
+ /** ISO 4217 currency of every resolved line */
4636
+ readonly currency: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, undefined>]>;
4637
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4638
+ readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
4639
+ readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4640
+ readonly tax: v.VariantSchema<"mode", [v.ObjectSchema<{
4641
+ readonly mode: v.LiteralSchema<"manual", undefined>;
4642
+ readonly taxRateIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
4643
+ }, undefined>, v.ObjectSchema<{
4644
+ readonly mode: v.LiteralSchema<"automatic", undefined>;
4645
+ }, undefined>], undefined>;
4646
+ /** Collect the buyer's tax ID (VAT number) */
4647
+ readonly taxIdCollection: v.PicklistSchema<["disabled", "optional", "required"], undefined>;
4648
+ readonly billingAddressCollection: v.PicklistSchema<["auto", "required"], undefined>;
4649
+ readonly shipping: v.OptionalSchema<v.ObjectSchema<{
4650
+ /** Uppercase ISO 3166-1 alpha-2 country codes the order can ship to (e.g. `FR`) */
4651
+ readonly allowedCountries: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "allowedCountries: uppercase ISO 3166-1 alpha-2 code expected (e.g. FR)">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
4652
+ /** Stripe Shipping Rate IDs offered at checkout (Stripe allows at most 5) */
4653
+ readonly shippingRateIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MaxLengthAction<string[], 5, "shippingRateIds: at most 5 (Stripe limit)">]>, undefined>;
4654
+ }, undefined>, undefined>;
4655
+ readonly customerCreation: v.PicklistSchema<["always", "if_required"], undefined>;
4656
+ /** Generate a post-payment Stripe invoice */
4657
+ readonly invoiceCreation: v.BooleanSchema<undefined>;
4658
+ /** Stripe Payment Method Configuration ID (card, SEPA debit...). Omit to use the account default. */
4659
+ readonly paymentMethodConfiguration: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
4660
+ }, undefined>], undefined>, undefined>;
4428
4661
  /**
4429
4662
  * Helper to validate frontend config at runtime
4430
4663
  *
@@ -4454,7 +4687,6 @@ declare function validateStripeFrontConfig(config: unknown): {
4454
4687
  */
4455
4688
  declare function validateStripeBackConfig(config: unknown): {
4456
4689
  [x: string]: {
4457
- type: "StripePayment" | "StripeSubscription";
4458
4690
  name: string;
4459
4691
  price: number;
4460
4692
  currency: string;
@@ -4469,6 +4701,47 @@ declare function validateStripeBackConfig(config: unknown): {
4469
4701
  [x: string]: string;
4470
4702
  } | undefined;
4471
4703
  allowPromotionCodes?: boolean | undefined;
4704
+ type: "StripePayment";
4705
+ } | {
4706
+ name: string;
4707
+ price: number;
4708
+ currency: string;
4709
+ priceId?: string | undefined;
4710
+ unitAmount?: number | undefined;
4711
+ productName?: string | undefined;
4712
+ maxUnitAmount?: number | undefined;
4713
+ tier: string;
4714
+ duration: string;
4715
+ description?: string | undefined;
4716
+ metadata?: {
4717
+ [x: string]: string;
4718
+ } | undefined;
4719
+ allowPromotionCodes?: boolean | undefined;
4720
+ type: "StripeSubscription";
4721
+ } | {
4722
+ type: "StripeOrder";
4723
+ name: string;
4724
+ currency: string;
4725
+ description?: string | undefined;
4726
+ metadata?: {
4727
+ [x: string]: string;
4728
+ } | undefined;
4729
+ allowPromotionCodes?: boolean | undefined;
4730
+ tax: {
4731
+ mode: "manual";
4732
+ taxRateIds: string[];
4733
+ } | {
4734
+ mode: "automatic";
4735
+ };
4736
+ taxIdCollection: "optional" | "required" | "disabled";
4737
+ billingAddressCollection: "required" | "auto";
4738
+ shipping?: {
4739
+ allowedCountries: string[];
4740
+ shippingRateIds?: string[] | undefined;
4741
+ } | undefined;
4742
+ customerCreation: "always" | "if_required";
4743
+ invoiceCreation: boolean;
4744
+ paymentMethodConfiguration?: string | undefined;
4472
4745
  };
4473
4746
  };
4474
4747
  /**
@@ -4482,40 +4755,81 @@ declare function validateBillingSchemas(): {
4482
4755
  success: boolean;
4483
4756
  results: {
4484
4757
  createCheckoutSessionRequest: v.SafeParseResult<v.SchemaWithPipe<readonly [v.ObjectSchema<{
4758
+ /** Key in the app's StripeBackConfig */
4759
+ readonly billingConfigKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
4760
+ readonly lineItems: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
4761
+ /** App product ID. For StripePayment/StripeSubscription: the billing config key. */
4762
+ readonly productId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
4763
+ readonly quantity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>;
4764
+ }, undefined>, undefined>, v.MinLengthAction<{
4765
+ productId: string;
4766
+ quantity: number;
4767
+ }[], 1, "At least one line item is required">, v.MaxLengthAction<{
4768
+ productId: string;
4769
+ quantity: number;
4770
+ }[], 100, "At most 100 line items">]>, undefined>;
4771
+ readonly successUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
4772
+ readonly cancelUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
4773
+ readonly customerEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
4774
+ readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
4775
+ readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4776
+ /** 0.1.x: ignored by the framework providers (they pass the authenticated user) */
4485
4777
  readonly userId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4486
4778
  readonly productId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4487
- /** Stripe price ID (fixed pricing mode) */
4779
+ /** 0.1.x: Stripe price ID (must match the back config priceId when it has one) */
4488
4780
  readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4489
- /** Amount in cents (dynamic pricing mode) */
4781
+ /** 0.1.x: amount in cents (dynamic pricing, capped by the back config `maxUnitAmount`) */
4490
4782
  readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
4491
- /** Product name shown on Stripe checkout (dynamic pricing mode) */
4783
+ /** 0.1.x: product name shown on Stripe checkout (dynamic pricing) */
4492
4784
  readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
4493
- /** Currency code, defaults to 'eur' (dynamic pricing mode) */
4785
+ /** 0.1.x: currency code (dynamic pricing), defaults to the back config currency */
4494
4786
  readonly currency: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, "Currency must be 3-letter ISO code">]>, undefined>;
4495
- readonly successUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
4496
- readonly cancelUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
4497
- readonly customerEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
4498
4787
  readonly userEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
4499
- readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
4500
- readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4788
+ /** 0.1.x: Stripe mode. Omitted: derived from the back config item type. */
4501
4789
  readonly mode: v.OptionalSchema<v.PicklistSchema<["payment", "subscription"], undefined>, undefined>;
4502
- }, undefined>, v.CheckAction<{
4790
+ }, undefined>, v.RawTransformAction<{
4791
+ billingConfigKey?: string | undefined;
4792
+ lineItems?: {
4793
+ productId: string;
4794
+ quantity: number;
4795
+ }[] | undefined;
4796
+ successUrl: string;
4797
+ cancelUrl: string;
4798
+ customerEmail?: string | undefined;
4799
+ metadata?: {
4800
+ [x: string]: string;
4801
+ } | undefined;
4802
+ allowPromotionCodes?: boolean | undefined;
4503
4803
  userId?: string | undefined;
4504
4804
  productId?: string | undefined;
4505
4805
  priceId?: string | undefined;
4506
4806
  unitAmount?: number | undefined;
4507
4807
  productName?: string | undefined;
4508
4808
  currency?: string | undefined;
4809
+ userEmail?: string | undefined;
4810
+ mode?: "payment" | "subscription" | undefined;
4811
+ }, {
4812
+ billingConfigKey: string;
4813
+ lineItems: {
4814
+ productId: string;
4815
+ quantity: number;
4816
+ }[];
4509
4817
  successUrl: string;
4510
4818
  cancelUrl: string;
4511
4819
  customerEmail?: string | undefined;
4512
- userEmail?: string | undefined;
4513
4820
  metadata?: {
4514
4821
  [x: string]: string;
4515
4822
  } | undefined;
4516
4823
  allowPromotionCodes?: boolean | undefined;
4824
+ userId?: string | undefined;
4825
+ productId?: string | undefined;
4826
+ priceId?: string | undefined;
4827
+ unitAmount?: number | undefined;
4828
+ productName?: string | undefined;
4829
+ currency?: string | undefined;
4830
+ userEmail?: string | undefined;
4517
4831
  mode?: "payment" | "subscription" | undefined;
4518
- }, "Either priceId or (unitAmount + productName) is required">]>>;
4832
+ }>]>>;
4519
4833
  createCheckoutSessionResponse: v.SafeParseResult<v.ObjectSchema<{
4520
4834
  readonly sessionId: v.StringSchema<undefined>;
4521
4835
  readonly sessionUrl: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>, undefined>;
@@ -4811,6 +5125,9 @@ type BillingErrorCode = 'unknown' | 'unauthenticated' | 'invalid_request' | 'str
4811
5125
  /**
4812
5126
  * Stripe checkout session creation request
4813
5127
  *
5128
+ * 0.1.x request shape, still accepted. New code sends
5129
+ * `CreateCheckoutSessionRequestInput` (`billingConfigKey`, plus `lineItems` for StripeOrder).
5130
+ *
4814
5131
  * @version 0.1.0
4815
5132
  * @since 0.0.1
4816
5133
  * @author AMBROISE PARK Consulting
@@ -5188,48 +5505,265 @@ interface StripePrice {
5188
5505
  lookup_key?: string;
5189
5506
  }
5190
5507
  /**
5191
- * Result of a beforeCheckout hook invocation.
5192
- * Allows blocking checkout or overriding pricing before Stripe session creation.
5508
+ * Result of a beforeCheckout hook invocation. Blocks or allows checkout.
5509
+ * StripeOrder prices come from `resolveLineItems`, never from here.
5510
+ *
5511
+ * @version 0.2.0
5512
+ * @since 0.0.1
5513
+ * @author AMBROISE PARK Consulting
5193
5514
  */
5194
5515
  interface BeforeCheckoutResult {
5195
5516
  /** Whether checkout is allowed to proceed */
5196
5517
  allowed: boolean;
5197
5518
  /** Reason for blocking (shown in error response) */
5198
5519
  reason?: string;
5199
- /** Optional overrides applied to checkout options before Stripe session creation */
5200
- overrides?: Partial<Pick<CheckoutOptions, 'unitAmount' | 'productName'>>;
5520
+ /**
5521
+ * 0.1.x dynamic pricing only (request `unitAmount` + `productName`, no
5522
+ * `priceId`): replaces the amount/name before session creation. The amount
5523
+ * stays capped by the back config `maxUnitAmount`. Ignored otherwise.
5524
+ * @deprecated Prefer StripeOrder `resolveLineItems` for server-priced lines.
5525
+ */
5526
+ overrides?: {
5527
+ unitAmount?: number;
5528
+ productName?: string;
5529
+ };
5201
5530
  }
5531
+ /**
5532
+ * Second argument of a `beforeCheckout` hook: the normalized request plus the
5533
+ * 0.1.x checkout options, so 0.1.x guards (`options.mode === 'subscription'`,
5534
+ * `options.priceId`) keep working.
5535
+ *
5536
+ * @version 0.2.0
5537
+ * @since 0.2.0
5538
+ * @author AMBROISE PARK Consulting
5539
+ */
5540
+ type BeforeCheckoutOptions = Omit<CreateCheckoutSessionRequest, 'userId' | 'mode' | 'priceId' | 'metadata' | 'allowPromotionCodes'> & {
5541
+ /** Authenticated user ID (never the client value) */
5542
+ userId: string;
5543
+ /** Stripe mode of the session (request `mode`, else derived from the item type; StripeOrder: `payment`) */
5544
+ mode: CheckoutMode;
5545
+ /** Stripe price charged (request priceId, else the back config priceId). Undefined for dynamic pricing and StripeOrder. */
5546
+ priceId?: string;
5547
+ /** Request metadata as sent (before sanitization; 0.1.x behaviour) */
5548
+ metadata: Record<string, string>;
5549
+ /** Request value, default `true` (0.1.x behaviour) */
5550
+ allowPromotionCodes: boolean;
5551
+ };
5202
5552
  /**
5203
5553
  * Hook called before Stripe checkout session creation.
5204
- * Use for ownership checks, status validation, server-resolved pricing.
5554
+ * Use for ownership checks and status validation.
5555
+ *
5556
+ * @example
5557
+ * ```typescript
5558
+ * const beforeCheckout: BeforeCheckoutHook = async (userId, options) =>
5559
+ * options.mode === 'subscription' && options.billingConfigKey !== 'pro_monthly'
5560
+ * ? { allowed: false, reason: 'Unknown plan' }
5561
+ * : { allowed: true };
5562
+ * ```
5205
5563
  *
5206
5564
  * @param userId - Authenticated user ID
5207
- * @param options - Checkout options from the client request
5565
+ * @param options - Normalized request + 0.1.x checkout options (`mode`, `priceId`, `unitAmount`, `currency`...)
5208
5566
  * @param metadata - Request metadata (sanitized)
5209
- * @returns Whether to allow checkout, optional reason, optional overrides
5567
+ * @returns Whether to allow checkout, optional reason (and 0.1.x dynamic-pricing overrides)
5568
+ *
5569
+ * @version 0.2.0
5570
+ * @since 0.0.1
5571
+ * @author AMBROISE PARK Consulting
5210
5572
  */
5211
- type BeforeCheckoutHook = (userId: string, options: CheckoutOptions, metadata: Record<string, string>) => Promise<BeforeCheckoutResult>;
5573
+ type BeforeCheckoutHook = (userId: string, options: BeforeCheckoutOptions, metadata: Record<string, string>) => Promise<BeforeCheckoutResult>;
5212
5574
  /**
5213
- * Checkout options for Stripe checkout session
5575
+ * One requested checkout line (client input).
5214
5576
  *
5215
- * @version 0.1.0
5577
+ * @version 0.2.0
5578
+ * @since 0.2.0
5579
+ * @author AMBROISE PARK Consulting
5580
+ */
5581
+ type CheckoutLineItemInput = v.InferOutput<typeof CheckoutLineItemInputSchema>;
5582
+ /**
5583
+ * One line priced by the app's `resolveLineItems` hook.
5584
+ *
5585
+ * @version 0.2.0
5586
+ * @since 0.2.0
5587
+ * @author AMBROISE PARK Consulting
5588
+ */
5589
+ interface ResolvedLineItem {
5590
+ /** App product ID, copied to the Stripe product metadata and returned in `onOrderPaid` */
5591
+ productId: string;
5592
+ /** Name shown on the Stripe checkout page and invoice */
5593
+ name: string;
5594
+ description?: string;
5595
+ /** Unit price excl. VAT, in the smallest currency unit (cents) */
5596
+ unitAmount: number;
5597
+ quantity: number;
5598
+ }
5599
+ /**
5600
+ * Output of `resolveLineItems`: the server-side order and its priced lines.
5601
+ *
5602
+ * @version 0.2.0
5603
+ * @since 0.2.0
5604
+ * @author AMBROISE PARK Consulting
5605
+ */
5606
+ interface ResolvedOrder {
5607
+ /** App order ID (created by the hook, e.g. a pending order row) */
5608
+ orderId: string;
5609
+ lineItems: ResolvedLineItem[];
5610
+ /** Per-order session options decided by the server (omit to use the back config). */
5611
+ session?: ResolvedOrderSession;
5612
+ }
5613
+ /**
5614
+ * Checkout session options a StripeOrder decides per order in `resolveLineItems`
5615
+ * (they depend on the buyer or the order, not on the back config).
5616
+ *
5617
+ * @version 0.2.0
5618
+ * @since 0.2.0
5619
+ * @author AMBROISE PARK Consulting
5620
+ */
5621
+ interface ResolvedOrderSession {
5622
+ /**
5623
+ * Manual tax only: Tax Rate IDs applied to every line of this order instead of
5624
+ * `tax.taxRateIds` (each must be exclusive). `[]` = no tax (e.g. EU B2B reverse charge).
5625
+ */
5626
+ taxRateIds?: string[];
5627
+ /** Payment methods offered for this order. Replaces `paymentMethodConfiguration`. */
5628
+ paymentMethodTypes?: Array<'card' | 'sepa_debit'>;
5629
+ /** Session expiry, Unix seconds. Stripe: 30 minutes to 24 hours after creation. */
5630
+ expiresAt?: number;
5631
+ /** Footer printed on the post-payment invoice (e.g. a legal mention). Needs `invoiceCreation`. */
5632
+ invoiceFooter?: string;
5633
+ }
5634
+ /**
5635
+ * Context passed to `resolveLineItems`.
5636
+ *
5637
+ * @version 0.2.0
5638
+ * @since 0.2.0
5639
+ * @author AMBROISE PARK Consulting
5640
+ */
5641
+ interface ResolveLineItemsContext {
5642
+ userId: string;
5643
+ billingConfigKey: string;
5644
+ /** Request metadata (sanitized) */
5645
+ metadata: Record<string, string>;
5646
+ }
5647
+ /**
5648
+ * Postal address as reported by Stripe.
5649
+ *
5650
+ * @version 0.2.0
5651
+ * @since 0.2.0
5652
+ * @author AMBROISE PARK Consulting
5653
+ */
5654
+ interface CheckoutAddress {
5655
+ line1: string | null;
5656
+ line2: string | null;
5657
+ postalCode: string | null;
5658
+ city: string | null;
5659
+ state: string | null;
5660
+ /** ISO 3166-1 alpha-2 */
5661
+ country: string | null;
5662
+ }
5663
+ /**
5664
+ * Provider-neutral snapshot of a completed/expired Stripe Checkout Session,
5665
+ * passed to order hooks.
5666
+ *
5667
+ * @version 0.2.0
5668
+ * @since 0.2.0
5669
+ * @author AMBROISE PARK Consulting
5670
+ */
5671
+ interface CheckoutSessionSnapshot {
5672
+ id: string;
5673
+ /** 'paid' | 'unpaid' | 'no_payment_required' */
5674
+ paymentStatus: string;
5675
+ currency: string | null;
5676
+ /** Amounts in the smallest currency unit */
5677
+ amountSubtotal: number | null;
5678
+ amountTax: number | null;
5679
+ amountShipping: number | null;
5680
+ amountDiscount: number | null;
5681
+ amountTotal: number | null;
5682
+ customerId: string | null;
5683
+ customer: {
5684
+ email: string | null;
5685
+ name: string | null;
5686
+ phone: string | null;
5687
+ /** Business name, when collected */
5688
+ businessName: string | null;
5689
+ address: CheckoutAddress | null;
5690
+ taxIds: Array<{
5691
+ type: string;
5692
+ value: string | null;
5693
+ }>;
5694
+ /** 'none' | 'exempt' | 'reverse' */
5695
+ taxExempt: string | null;
5696
+ } | null;
5697
+ shipping: {
5698
+ name: string;
5699
+ address: CheckoutAddress;
5700
+ } | null;
5701
+ invoiceId: string | null;
5702
+ paymentIntentId: string | null;
5703
+ metadata: Record<string, string>;
5704
+ }
5705
+ /**
5706
+ * One paid line, read back from Stripe (amounts as charged).
5707
+ *
5708
+ * @version 0.2.0
5709
+ * @since 0.2.0
5710
+ * @author AMBROISE PARK Consulting
5711
+ */
5712
+ interface PaidLineItem {
5713
+ productId: string;
5714
+ name: string;
5715
+ quantity: number;
5716
+ /** Amounts in the smallest currency unit */
5717
+ amountSubtotal: number;
5718
+ amountDiscount: number;
5719
+ amountTax: number;
5720
+ amountTotal: number;
5721
+ }
5722
+ /**
5723
+ * Context passed to order webhook hooks.
5724
+ *
5725
+ * @version 0.2.0
5726
+ * @since 0.2.0
5727
+ * @author AMBROISE PARK Consulting
5728
+ */
5729
+ interface OrderHookContext {
5730
+ userId: string;
5731
+ orderId: string;
5732
+ billingConfigKey: string;
5733
+ /**
5734
+ * Stripe event ID. Delivery is at-least-once: the same event can reach a hook
5735
+ * again (retry after a failed or unrecorded run). Key side effects on
5736
+ * `orderId` (or `eventId`) so a replay is a no-op.
5737
+ */
5738
+ eventId: string;
5739
+ }
5740
+ /**
5741
+ * Client checkout options (useStripeBilling `checkout`).
5742
+ *
5743
+ * @version 0.2.0
5216
5744
  * @since 0.0.1
5217
5745
  * @author AMBROISE PARK Consulting
5218
5746
  */
5219
5747
  interface CheckoutOptions {
5220
- /** Stripe price ID (fixed pricing mode) */
5221
- priceId?: string;
5222
- /** Amount in cents (dynamic pricing mode) */
5223
- unitAmount?: number;
5224
- /** Product name for Stripe checkout (dynamic pricing mode) */
5225
- productName?: string;
5226
- /** Currency code, defaults to 'eur' (dynamic pricing mode) */
5227
- currency?: string;
5228
- mode: 'payment' | 'subscription';
5748
+ /** Key in the app's StripeBackConfig. 0.1.x callers may pass it as `metadata.billingConfigKey`. */
5749
+ billingConfigKey?: string;
5750
+ /** Requested lines. Defaults to `[{ productId: billingConfigKey, quantity: 1 }]` (single product / subscription). */
5751
+ lineItems?: CheckoutLineItemInput[];
5229
5752
  successUrl?: string;
5230
5753
  cancelUrl?: string;
5231
5754
  metadata?: Record<string, string>;
5755
+ /** Single-price items: show the promotion code field (default true). StripeOrder: set in the back config. */
5232
5756
  allowPromotionCodes?: boolean;
5757
+ /** Stripe price ID (single-price items). Must match the back config priceId when it has one; defaults to it. */
5758
+ priceId?: string;
5759
+ /** Dynamic pricing amount in cents (with `productName`, no `priceId`). Capped by the back config `maxUnitAmount`. */
5760
+ unitAmount?: number;
5761
+ /** Product name for dynamic pricing. */
5762
+ productName?: string;
5763
+ /** Currency for dynamic pricing (default 'eur'). */
5764
+ currency?: string;
5765
+ /** Stripe mode for single-price items. Defaults to the back config item type. */
5766
+ mode?: CheckoutMode;
5233
5767
  }
5234
5768
  /**
5235
5769
  * Billing API type - complete interface for useStripeBilling hook
@@ -5276,42 +5810,82 @@ interface BillingAPI {
5276
5810
  * @author AMBROISE PARK Consulting
5277
5811
  */
5278
5812
  type StripeFrontConfig = v.InferOutput<typeof StripeFrontConfigSchema>;
5813
+ type StripeBackConfigItemData = v.InferOutput<typeof StripeBackConfigSchema>[string];
5814
+ /**
5815
+ * Hooks shared by every back-config item.
5816
+ */
5817
+ interface StripeBackItemCommonHooks {
5818
+ /** Called before Stripe checkout session creation. Can block checkout. */
5819
+ beforeCheckout?: BeforeCheckoutHook;
5820
+ }
5821
+ /**
5822
+ * One-time payment item (single Stripe price) granting a tier.
5823
+ * The tier is granted once the payment is settled: at checkout completion when
5824
+ * `payment_status` is `paid` / `no_payment_required`, else on
5825
+ * `checkout.session.async_payment_succeeded` (e.g. SEPA debit).
5826
+ * Hooks run at least once per Stripe event and may run again for the same
5827
+ * purchase: make them idempotent. Their errors are logged, not retried.
5828
+ *
5829
+ * @version 0.2.0
5830
+ * @since 0.2.0
5831
+ * @author AMBROISE PARK Consulting
5832
+ */
5833
+ type StripePaymentBackItem = Extract<StripeBackConfigItemData, {
5834
+ type: 'StripePayment';
5835
+ }> & StripeBackItemCommonHooks & {
5836
+ onPurchaseSuccess?: (userId: string, metadata: Record<string, string>) => Promise<void>;
5837
+ onPurchaseFailure?: (userId: string, metadata: Record<string, string>) => Promise<void>;
5838
+ };
5839
+ /**
5840
+ * Recurring subscription item (single Stripe price) granting a tier.
5841
+ * Granted once the first payment is settled (same rule as StripePayment).
5842
+ * Hooks run at least once per Stripe event and may run again for the same
5843
+ * event: make them idempotent. Their errors are logged, not retried.
5844
+ *
5845
+ * @version 0.2.0
5846
+ * @since 0.2.0
5847
+ * @author AMBROISE PARK Consulting
5848
+ */
5849
+ type StripeSubscriptionBackItem = Extract<StripeBackConfigItemData, {
5850
+ type: 'StripeSubscription';
5851
+ }> & StripeBackItemCommonHooks & {
5852
+ onSubscriptionCreated?: (userId: string, metadata: Record<string, string>) => Promise<void>;
5853
+ onSubscriptionRenewed?: (userId: string, metadata: Record<string, string>) => Promise<void>;
5854
+ onSubscriptionCancelled?: (userId: string, metadata: Record<string, string>) => Promise<void>;
5855
+ onPaymentFailed?: (userId: string, metadata: Record<string, string>) => Promise<void>;
5856
+ };
5857
+ /**
5858
+ * Multi-line, one-time order priced on the server.
5859
+ * Order hooks are delivered at least once and must be idempotent on
5860
+ * `ctx.orderId` / `ctx.eventId`: a hook re-runs when it threw (the webhook
5861
+ * answers non-2xx and Stripe retries) and also after it succeeded when the
5862
+ * framework could not record the event as processed. A store write cannot be
5863
+ * atomic with an arbitrary hook, so exactly-once is not possible.
5864
+ *
5865
+ * @version 0.2.0
5866
+ * @since 0.2.0
5867
+ * @author AMBROISE PARK Consulting
5868
+ */
5869
+ type StripeOrderBackItem = Extract<StripeBackConfigItemData, {
5870
+ type: 'StripeOrder';
5871
+ }> & StripeBackItemCommonHooks & {
5872
+ /** Resolve requested lines to names and unit prices (excl. VAT) and create the app order. */
5873
+ resolveLineItems: (items: CheckoutLineItemInput[], ctx: ResolveLineItemsContext) => Promise<ResolvedOrder>;
5874
+ /** Payment confirmed (card at completion, or async method such as SEPA debit later). */
5875
+ onOrderPaid: (session: CheckoutSessionSnapshot, lineItems: PaidLineItem[], ctx: OrderHookContext) => Promise<void>;
5876
+ /** Async payment (e.g. SEPA debit) failed after checkout completion. */
5877
+ onOrderPaymentFailed?: (session: CheckoutSessionSnapshot, ctx: OrderHookContext) => Promise<void>;
5878
+ /** Checkout session expired without payment. */
5879
+ onOrderExpired?: (session: CheckoutSessionSnapshot, ctx: OrderHookContext) => Promise<void>;
5880
+ };
5279
5881
  /**
5280
5882
  * Backend billing configuration type with hooks
5281
5883
  *
5282
- * @version 0.1.0
5884
+ * @version 0.2.0
5283
5885
  * @since 0.0.1
5284
5886
  * @author AMBROISE PARK Consulting
5285
5887
  */
5286
- type StripeBackConfig = {
5287
- [key: string]: {
5288
- type: 'StripePayment' | 'StripeSubscription';
5289
- name: string;
5290
- price: number;
5291
- currency: string;
5292
- /** Stripe price ID (fixed pricing). Optional for dynamic pricing products. */
5293
- priceId?: string;
5294
- /** Default amount in cents (dynamic pricing). */
5295
- unitAmount?: number;
5296
- /** Product name for Stripe checkout (dynamic pricing). */
5297
- productName?: string;
5298
- /** Maximum allowed unit amount in cents. Security cap for client-provided amounts. */
5299
- maxUnitAmount?: number;
5300
- tier: string;
5301
- duration: string;
5302
- description?: string;
5303
- metadata?: Record<string, string>;
5304
- allowPromotionCodes?: boolean;
5305
- onPurchaseSuccess?: (userId: string, metadata: Record<string, string>) => Promise<void>;
5306
- onPurchaseFailure?: (userId: string, metadata: Record<string, string>) => Promise<void>;
5307
- onSubscriptionCreated?: (userId: string, metadata: Record<string, string>) => Promise<void>;
5308
- onSubscriptionRenewed?: (userId: string, metadata: Record<string, string>) => Promise<void>;
5309
- onSubscriptionCancelled?: (userId: string, metadata: Record<string, string>) => Promise<void>;
5310
- onPaymentFailed?: (userId: string, metadata: Record<string, string>) => Promise<void>;
5311
- /** Hook called before Stripe checkout session creation. Can block or override pricing. */
5312
- beforeCheckout?: BeforeCheckoutHook;
5313
- };
5314
- };
5888
+ type StripeBackConfig = Record<string, StripePaymentBackItem | StripeSubscriptionBackItem | StripeOrderBackItem>;
5315
5889
  /**
5316
5890
  * Stripe configuration interface
5317
5891
  *
@@ -5346,6 +5920,89 @@ interface StripeConfig {
5346
5920
  };
5347
5921
  };
5348
5922
  }
5923
+ /**
5924
+ * Auth operations the server billing code needs: read a user's custom claims
5925
+ * and write them back (subscription tier lives in the claims).
5926
+ *
5927
+ * @version 0.1.0
5928
+ * @since 0.5.0
5929
+ * @author AMBROISE PARK Consulting
5930
+ */
5931
+ interface BillingAuthProvider {
5932
+ getUser(userId: string): Promise<{
5933
+ customClaims?: Record<string, unknown>;
5934
+ }>;
5935
+ setCustomUserClaims(userId: string, claims: Record<string, unknown>): Promise<void>;
5936
+ }
5937
+ /**
5938
+ * Subscription fields written to a user by the webhook and subscription helpers
5939
+ * (the stored record, {@link SubscriptionData}, adds userId and updatedAt).
5940
+ *
5941
+ * @version 0.1.0
5942
+ * @since 0.5.0
5943
+ * @author AMBROISE PARK Consulting
5944
+ */
5945
+ interface SubscriptionUpdate {
5946
+ tier: string;
5947
+ status: 'active' | 'canceled' | 'past_due' | 'trialing' | 'incomplete';
5948
+ subscriptionEnd: string | null;
5949
+ cancelAtPeriodEnd?: boolean;
5950
+ subscriptionId?: string | null;
5951
+ customerId?: string;
5952
+ }
5953
+ /**
5954
+ * Writes a subscription update for a user.
5955
+ *
5956
+ * @version 0.1.0
5957
+ * @since 0.5.0
5958
+ * @author AMBROISE PARK Consulting
5959
+ */
5960
+ type UpdateSubscriptionFn = (userId: string, data: SubscriptionUpdate, authProvider: BillingAuthProvider) => Promise<void>;
5961
+ /**
5962
+ * Checkout Session created by a provider.
5963
+ *
5964
+ * @version 0.1.0
5965
+ * @since 0.5.0
5966
+ * @author AMBROISE PARK Consulting
5967
+ */
5968
+ interface CheckoutSessionResult {
5969
+ id: string;
5970
+ url: string | null;
5971
+ }
5972
+ /**
5973
+ * 0.1.x single-price session params, sent to a {@link StripeCheckoutProvider}.
5974
+ *
5975
+ * @version 0.2.0
5976
+ * @since 0.5.0
5977
+ * @author AMBROISE PARK Consulting
5978
+ */
5979
+ interface CheckoutSessionParams {
5980
+ priceId?: string;
5981
+ /** Amount in cents (dynamic pricing mode) */
5982
+ unitAmount?: number;
5983
+ /** Product name for Stripe checkout (dynamic pricing mode) */
5984
+ productName?: string;
5985
+ /** Currency code, defaults to 'eur' */
5986
+ currency?: string;
5987
+ customerEmail?: string;
5988
+ metadata: Record<string, string>;
5989
+ allowPromotionCodes: boolean;
5990
+ successUrl: string;
5991
+ cancelUrl: string;
5992
+ mode?: 'payment' | 'subscription';
5993
+ }
5994
+ /**
5995
+ * 0.1.x provider interface for Stripe checkout operations. Supports
5996
+ * StripePayment/StripeSubscription items only; StripeOrder needs the full-session
5997
+ * provider of @donotdev/functions (StripeSessionProvider).
5998
+ *
5999
+ * @version 0.1.0
6000
+ * @since 0.5.0
6001
+ * @author AMBROISE PARK Consulting
6002
+ */
6003
+ interface StripeCheckoutProvider {
6004
+ createCheckoutSession(params: CheckoutSessionParams): Promise<CheckoutSessionResult>;
6005
+ }
5349
6006
 
5350
6007
  /**
5351
6008
  * @fileoverview Authentication Types
@@ -6090,6 +6747,38 @@ interface AuthProvider {
6090
6747
  * @param remember - true for persistent session, false for session-only
6091
6748
  */
6092
6749
  setRememberMe?(remember: boolean): Promise<void>;
6750
+ /**
6751
+ * Signed-in state read synchronously from the request cookies, without the auth
6752
+ * service. Lets the server render, and the client's hydration pass, show the real
6753
+ * signed-in state before the provider has initialised.
6754
+ * Display only: never an authorisation decision (the cookie is not verified).
6755
+ * Implemented by providers that keep their session in cookies (Supabase via
6756
+ * `createBrowserClient`); absent otherwise.
6757
+ *
6758
+ * @param cookieHeader - The request's `Cookie` header (`a=1; b=2`)
6759
+ * @returns The snapshot (`user: null` = signed out), or `null` when the cookies
6760
+ * cannot tell
6761
+ */
6762
+ readSessionSnapshot?(cookieHeader: string): AuthSessionSnapshot | null;
6763
+ }
6764
+ /**
6765
+ * Signed-in state known from the request cookies, before the auth provider has
6766
+ * initialised (see AuthProvider.readSessionSnapshot). Display only.
6767
+ *
6768
+ * @version 0.1.0
6769
+ * @since 0.1.50
6770
+ * @author AMBROISE PARK Consulting
6771
+ */
6772
+ interface AuthSessionSnapshot {
6773
+ /** The signed-in user, or `null` when signed out */
6774
+ user: AuthUser | null;
6775
+ /**
6776
+ * The session's access token while it is still valid, else absent. Server render
6777
+ * only: lets CRUD reads run as the visitor (ICrudAdapter.forAccessToken), so the
6778
+ * HTML carries the visitor's own data. The database verifies the token; the
6779
+ * framework never trusts it for anything else.
6780
+ */
6781
+ accessToken?: string;
6093
6782
  }
6094
6783
  /**
6095
6784
  * Information about a token including its status and expiration
@@ -8059,7 +8748,13 @@ interface PaginatedQueryResult<T> {
8059
8748
  */
8060
8749
  interface CrudListQuery<T> {
8061
8750
  readonly queryKey: readonly ['crud', string, 'query', string];
8062
- readonly queryFn: () => Promise<PaginatedQueryResult<T>>;
8751
+ /**
8752
+ * Receives TanStack's query context; `client` (the request's QueryClient on the
8753
+ * server) selects a request-scoped adapter when one is bound.
8754
+ */
8755
+ readonly queryFn: (context: {
8756
+ client: object;
8757
+ }) => Promise<PaginatedQueryResult<T>>;
8063
8758
  readonly staleTime: number;
8064
8759
  }
8065
8760
  /**
@@ -8126,6 +8821,13 @@ interface ICrudAdapter {
8126
8821
  * **Firestore:** Rules are row-level only — field-level filtering needs FunctionsAdapter.
8127
8822
  */
8128
8823
  readonly dbLevelSecurity?: boolean;
8824
+ /**
8825
+ * A view of this adapter whose reads run as the holder of `accessToken` (the
8826
+ * visitor's session during the server render). Only for adapters whose backend
8827
+ * verifies the token itself (`dbLevelSecurity`), so a forged token reads nothing.
8828
+ * Absent: the server render does not prefetch signed-in visitors' data.
8829
+ */
8830
+ forAccessToken?(accessToken: string): ICrudAdapter;
8129
8831
  /** Fetch a single document by ID. Returns null if not found. */
8130
8832
  get<T>(collection: string, id: string, schema?: dndevSchema<unknown>, options?: CrudOperationOptions): Promise<T | null>;
8131
8833
  /** Create a new document with auto-generated ID. Returns the ID + parsed data. */
@@ -12930,7 +13632,6 @@ interface CanvasWidgetProps {
12930
13632
  * @since 0.0.1
12931
13633
  * @author AMBROISE PARK Consulting
12932
13634
  */
12933
- //# sourceMappingURL=index.d.ts.map
12934
13635
 
12935
13636
  declare const index_d$5_AGGREGATE_FILTER_OPERATORS: typeof AGGREGATE_FILTER_OPERATORS;
12936
13637
  declare const index_d$5_AGGREGATE_OPERATIONS: typeof AGGREGATE_OPERATIONS;
@@ -13013,6 +13714,7 @@ type index_d$5_AuthRedirectHookResult = AuthRedirectHookResult;
13013
13714
  type index_d$5_AuthRedirectOperation = AuthRedirectOperation;
13014
13715
  type index_d$5_AuthRedirectOptions = AuthRedirectOptions;
13015
13716
  type index_d$5_AuthResult = AuthResult;
13717
+ type index_d$5_AuthSessionSnapshot = AuthSessionSnapshot;
13016
13718
  type index_d$5_AuthState = AuthState;
13017
13719
  type index_d$5_AuthStateStore = AuthStateStore;
13018
13720
  type index_d$5_AuthStatus = AuthStatus;
@@ -13033,9 +13735,11 @@ type index_d$5_BaseStoreState = BaseStoreState;
13033
13735
  type index_d$5_BaseUserProfile = BaseUserProfile;
13034
13736
  type index_d$5_BasicUserInfo = BasicUserInfo;
13035
13737
  type index_d$5_BeforeCheckoutHook = BeforeCheckoutHook;
13738
+ type index_d$5_BeforeCheckoutOptions = BeforeCheckoutOptions;
13036
13739
  type index_d$5_BeforeCheckoutResult = BeforeCheckoutResult;
13037
13740
  type index_d$5_BillingAPI = BillingAPI;
13038
13741
  type index_d$5_BillingAdapter = BillingAdapter;
13742
+ type index_d$5_BillingAuthProvider = BillingAuthProvider;
13039
13743
  type index_d$5_BillingErrorCode = BillingErrorCode;
13040
13744
  type index_d$5_BillingEvent = BillingEvent;
13041
13745
  type index_d$5_BillingEventData = BillingEventData;
@@ -13073,10 +13777,16 @@ type index_d$5_CanvasSurface = CanvasSurface;
13073
13777
  type index_d$5_CanvasWidgetMetadata = CanvasWidgetMetadata;
13074
13778
  type index_d$5_CanvasWidgetProps = CanvasWidgetProps;
13075
13779
  type index_d$5_CheckGitHubAccessRequest = CheckGitHubAccessRequest;
13780
+ type index_d$5_CheckoutAddress = CheckoutAddress;
13781
+ type index_d$5_CheckoutLineItemInput = CheckoutLineItemInput;
13782
+ declare const index_d$5_CheckoutLineItemInputSchema: typeof CheckoutLineItemInputSchema;
13076
13783
  type index_d$5_CheckoutMode = CheckoutMode;
13077
13784
  type index_d$5_CheckoutOptions = CheckoutOptions;
13078
13785
  type index_d$5_CheckoutSessionMetadata = CheckoutSessionMetadata;
13079
13786
  declare const index_d$5_CheckoutSessionMetadataSchema: typeof CheckoutSessionMetadataSchema;
13787
+ type index_d$5_CheckoutSessionParams = CheckoutSessionParams;
13788
+ type index_d$5_CheckoutSessionResult = CheckoutSessionResult;
13789
+ type index_d$5_CheckoutSessionSnapshot = CheckoutSessionSnapshot;
13080
13790
  type index_d$5_CollectionSubscriptionCallback<T> = CollectionSubscriptionCallback<T>;
13081
13791
  type index_d$5_ColumnDef<T extends FieldValues> = ColumnDef<T>;
13082
13792
  type index_d$5_CommonSubscriptionFeatures = CommonSubscriptionFeatures;
@@ -13098,6 +13808,7 @@ type index_d$5_ConsentState = ConsentState;
13098
13808
  type index_d$5_Context = Context;
13099
13809
  type index_d$5_CookieOptions = CookieOptions;
13100
13810
  type index_d$5_CreateCheckoutSessionRequest = CreateCheckoutSessionRequest;
13811
+ type index_d$5_CreateCheckoutSessionRequestInput = CreateCheckoutSessionRequestInput;
13101
13812
  declare const index_d$5_CreateCheckoutSessionRequestSchema: typeof CreateCheckoutSessionRequestSchema;
13102
13813
  type index_d$5_CreateCheckoutSessionResponse = CreateCheckoutSessionResponse;
13103
13814
  declare const index_d$5_CreateCheckoutSessionResponseSchema: typeof CreateCheckoutSessionResponseSchema;
@@ -13281,6 +13992,8 @@ type index_d$5_ListResponse<T> = ListResponse<T>;
13281
13992
  type index_d$5_ListSchemaType = ListSchemaType;
13282
13993
  type index_d$5_LoadingActions = LoadingActions;
13283
13994
  type index_d$5_LoadingState = LoadingState;
13995
+ declare const index_d$5_MAX_CHECKOUT_LINE_ITEMS: typeof MAX_CHECKOUT_LINE_ITEMS;
13996
+ declare const index_d$5_MAX_SHIPPING_RATE_IDS: typeof MAX_SHIPPING_RATE_IDS;
13284
13997
  type index_d$5_MergedBarConfig = MergedBarConfig;
13285
13998
  type index_d$5_MergedEntityFieldMap<F extends Record<string, EntityField>> = MergedEntityFieldMap<F>;
13286
13999
  type index_d$5_MetricDefinition = MetricDefinition;
@@ -13324,6 +14037,7 @@ declare const index_d$5_ORDER_DIRECTION: typeof ORDER_DIRECTION;
13324
14037
  type index_d$5_Observable<T> = Observable<T>;
13325
14038
  type index_d$5_OrderByClause = OrderByClause;
13326
14039
  type index_d$5_OrderDirection = OrderDirection;
14040
+ type index_d$5_OrderHookContext = OrderHookContext;
13327
14041
  declare const index_d$5_PARTNER_ICONS: typeof PARTNER_ICONS;
13328
14042
  declare const index_d$5_PAYLOAD_EVENTS: typeof PAYLOAD_EVENTS;
13329
14043
  declare const index_d$5_PERMISSIONS: typeof PERMISSIONS;
@@ -13337,6 +14051,7 @@ type index_d$5_PageAuth = PageAuth;
13337
14051
  type index_d$5_PageMeta = PageMeta;
13338
14052
  type index_d$5_PaginatedQueryResult<T> = PaginatedQueryResult<T>;
13339
14053
  type index_d$5_PaginationOptions = PaginationOptions;
14054
+ type index_d$5_PaidLineItem = PaidLineItem;
13340
14055
  type index_d$5_PartnerConnectionState = PartnerConnectionState;
13341
14056
  type index_d$5_PartnerIconId = PartnerIconId;
13342
14057
  type index_d$5_PartnerId = PartnerId;
@@ -13388,7 +14103,11 @@ type index_d$5_Reference = Reference;
13388
14103
  type index_d$5_RefreshSubscriptionRequest = RefreshSubscriptionRequest;
13389
14104
  type index_d$5_RefreshSubscriptionResponse = RefreshSubscriptionResponse;
13390
14105
  type index_d$5_RemoveCustomClaimsResponse = RemoveCustomClaimsResponse;
14106
+ type index_d$5_ResolveLineItemsContext = ResolveLineItemsContext;
13391
14107
  type index_d$5_ResolvedLayoutConfig = ResolvedLayoutConfig;
14108
+ type index_d$5_ResolvedLineItem = ResolvedLineItem;
14109
+ type index_d$5_ResolvedOrder = ResolvedOrder;
14110
+ type index_d$5_ResolvedOrderSession = ResolvedOrderSession;
13392
14111
  type index_d$5_RevokeGitHubAccessRequest = RevokeGitHubAccessRequest;
13393
14112
  type index_d$5_RouteMeta = RouteMeta;
13394
14113
  type index_d$5_RouteSource = RouteSource;
@@ -13423,6 +14142,7 @@ type index_d$5_StorageType = StorageType;
13423
14142
  type index_d$5_Store<T> = Store<T>;
13424
14143
  type index_d$5_StripeBackConfig = StripeBackConfig;
13425
14144
  declare const index_d$5_StripeBackConfigSchema: typeof StripeBackConfigSchema;
14145
+ type index_d$5_StripeCheckoutProvider = StripeCheckoutProvider;
13426
14146
  type index_d$5_StripeCheckoutRequest = StripeCheckoutRequest;
13427
14147
  type index_d$5_StripeCheckoutResponse = StripeCheckoutResponse;
13428
14148
  type index_d$5_StripeCheckoutSessionEventData = StripeCheckoutSessionEventData;
@@ -13436,7 +14156,12 @@ type index_d$5_StripeFrontConfig = StripeFrontConfig;
13436
14156
  declare const index_d$5_StripeFrontConfigSchema: typeof StripeFrontConfigSchema;
13437
14157
  type index_d$5_StripeInvoice = StripeInvoice;
13438
14158
  type index_d$5_StripeInvoiceEventData = StripeInvoiceEventData;
14159
+ type index_d$5_StripeOrderBackItem = StripeOrderBackItem;
14160
+ declare const index_d$5_StripeOrderBackSchema: typeof StripeOrderBackSchema;
14161
+ declare const index_d$5_StripeOrderShippingSchema: typeof StripeOrderShippingSchema;
14162
+ declare const index_d$5_StripeOrderTaxSchema: typeof StripeOrderTaxSchema;
13439
14163
  type index_d$5_StripePayment = StripePayment;
14164
+ type index_d$5_StripePaymentBackItem = StripePaymentBackItem;
13440
14165
  type index_d$5_StripePaymentIntentEventData = StripePaymentIntentEventData;
13441
14166
  type index_d$5_StripePaymentMethod = StripePaymentMethod;
13442
14167
  declare const index_d$5_StripePaymentSchema: typeof StripePaymentSchema;
@@ -13444,6 +14169,7 @@ type index_d$5_StripePrice = StripePrice;
13444
14169
  type index_d$5_StripeProduct = StripeProduct;
13445
14170
  type index_d$5_StripeProvider = StripeProvider;
13446
14171
  type index_d$5_StripeSubscription = StripeSubscription;
14172
+ type index_d$5_StripeSubscriptionBackItem = StripeSubscriptionBackItem;
13447
14173
  type index_d$5_StripeSubscriptionData = StripeSubscriptionData;
13448
14174
  declare const index_d$5_StripeSubscriptionSchema: typeof StripeSubscriptionSchema;
13449
14175
  type index_d$5_StripeWebhookEvent = StripeWebhookEvent;
@@ -13460,6 +14186,7 @@ type index_d$5_SubscriptionHookResult = SubscriptionHookResult;
13460
14186
  type index_d$5_SubscriptionInfo = SubscriptionInfo;
13461
14187
  type index_d$5_SubscriptionStatus = SubscriptionStatus;
13462
14188
  type index_d$5_SubscriptionTier = SubscriptionTier;
14189
+ type index_d$5_SubscriptionUpdate = SubscriptionUpdate;
13463
14190
  type index_d$5_SupportedLanguage = SupportedLanguage;
13464
14191
  type index_d$5_ThemeActions = ThemeActions;
13465
14192
  type index_d$5_ThemeInfo = ThemeInfo;
@@ -13482,6 +14209,7 @@ type index_d$5_UnsubscribeFn = UnsubscribeFn;
13482
14209
  type index_d$5_UpdateEntityData<T extends Record<string, any>> = UpdateEntityData<T>;
13483
14210
  type index_d$5_UpdateEntityRequest = UpdateEntityRequest;
13484
14211
  type index_d$5_UpdateEntityResponse = UpdateEntityResponse;
14212
+ type index_d$5_UpdateSubscriptionFn = UpdateSubscriptionFn;
13485
14213
  type index_d$5_UploadOptions = UploadOptions;
13486
14214
  type index_d$5_UploadProgressCallback = UploadProgressCallback;
13487
14215
  type index_d$5_UploadResult = UploadResult;
@@ -13558,8 +14286,8 @@ declare const index_d$5_validateSubscriptionData: typeof validateSubscriptionDat
13558
14286
  declare const index_d$5_validateUserSubscription: typeof validateUserSubscription;
13559
14287
  declare const index_d$5_validateWebhookEvent: typeof validateWebhookEvent;
13560
14288
  declare namespace index_d$5 {
13561
- export { index_d$5_AGGREGATE_FILTER_OPERATORS as AGGREGATE_FILTER_OPERATORS, index_d$5_AGGREGATE_OPERATIONS as AGGREGATE_OPERATIONS, index_d$5_AIChatRequestSchema as AIChatRequestSchema, index_d$5_AIChatResponseSchema as AIChatResponseSchema, index_d$5_AIMessageSchema as AIMessageSchema, index_d$5_AIProviderConfigSchema as AIProviderConfigSchema, index_d$5_AIToolCallSchema as AIToolCallSchema, index_d$5_AIToolDefinitionSchema as AIToolDefinitionSchema, index_d$5_AIUsageSchema as AIUsageSchema, index_d$5_AI_ERROR_CODES as AI_ERROR_CODES, index_d$5_AI_MODELS as AI_MODELS, index_d$5_AI_PROVIDERS as AI_PROVIDERS, index_d$5_AI_ROLES as AI_ROLES, index_d$5_AI_TIERS as AI_TIERS, index_d$5_AI_TOKEN_PRICING as AI_TOKEN_PRICING, index_d$5_AUTH_EVENTS as AUTH_EVENTS, index_d$5_AUTH_PARTNERS as AUTH_PARTNERS, index_d$5_AUTH_PARTNER_STATE as AUTH_PARTNER_STATE, index_d$5_AuthUserSchema as AuthUserSchema, index_d$5_BILLING_EVENTS as BILLING_EVENTS, index_d$5_BREAKPOINT_RANGES as BREAKPOINT_RANGES, index_d$5_BREAKPOINT_THRESHOLDS as BREAKPOINT_THRESHOLDS, index_d$5_BulkAcrossCycleError as BulkAcrossCycleError, index_d$5_BulkCollisionError as BulkCollisionError, index_d$5_BulkNotImplementedError as BulkNotImplementedError, index_d$5_COMMON_TIER_CONFIGS as COMMON_TIER_CONFIGS, index_d$5_CONFIDENCE_LEVELS as CONFIDENCE_LEVELS, index_d$5_CONSENT_CATEGORY as CONSENT_CATEGORY, index_d$5_CONTEXTS as CONTEXTS, index_d$5_CRUD_OPERATORS as CRUD_OPERATORS, index_d$5_CheckoutSessionMetadataSchema as CheckoutSessionMetadataSchema, index_d$5_CreateCheckoutSessionRequestSchema as CreateCheckoutSessionRequestSchema, index_d$5_CreateCheckoutSessionResponseSchema as CreateCheckoutSessionResponseSchema, index_d$5_CustomClaimsSchema as CustomClaimsSchema, index_d$5_DEFAULT_AI_CONFIG as DEFAULT_AI_CONFIG, index_d$5_DEFAULT_AI_MARKUP as DEFAULT_AI_MARKUP, index_d$5_DEFAULT_ENTITY_ACCESS as DEFAULT_ENTITY_ACCESS, index_d$5_DEFAULT_LAYOUT_PRESET as DEFAULT_LAYOUT_PRESET, index_d$5_DEFAULT_SUBSCRIPTION as DEFAULT_SUBSCRIPTION, index_d$5_DENSITY as DENSITY, index_d$5_DoNotDevError as DoNotDevError, index_d$5_EDITABLE as EDITABLE, index_d$5_EMAIL_ERROR_CODES as EMAIL_ERROR_CODES, index_d$5_EMAIL_PROVIDERS as EMAIL_PROVIDERS, index_d$5_EMAIL_VERIFICATION_STATUS as EMAIL_VERIFICATION_STATUS, index_d$5_ENTITY_HOOK_ERRORS as ENTITY_HOOK_ERRORS, index_d$5_ENVIRONMENTS as ENVIRONMENTS, index_d$5_ERROR_CODES as ERROR_CODES, index_d$5_ERROR_SEVERITY as ERROR_SEVERITY, index_d$5_ERROR_SOURCE as ERROR_SOURCE, index_d$5_EntityHookError as EntityHookError, index_d$5_FEATURES as FEATURES, index_d$5_FEATURE_CONSENT_MATRIX as FEATURE_CONSENT_MATRIX, index_d$5_FEATURE_STATUS as FEATURE_STATUS, index_d$5_FIELD_TYPES as FIELD_TYPES, index_d$5_FIREBASE_ERROR_MAP as FIREBASE_ERROR_MAP, index_d$5_FOOTER_MODE as FOOTER_MODE, index_d$5_GITHUB_PERMISSION_LEVELS as GITHUB_PERMISSION_LEVELS, index_d$5_LAYOUT_PRESET as LAYOUT_PRESET, index_d$5_LIST_SCHEMA_TYPE as LIST_SCHEMA_TYPE, index_d$5_OAUTH_EVENTS as OAUTH_EVENTS, index_d$5_OAUTH_PARTNERS as OAUTH_PARTNERS, index_d$5_ORDER_DIRECTION as ORDER_DIRECTION, index_d$5_PARTNER_ICONS as PARTNER_ICONS, index_d$5_PAYLOAD_EVENTS as PAYLOAD_EVENTS, index_d$5_PERMISSIONS as PERMISSIONS, index_d$5_PLATFORMS as PLATFORMS, index_d$5_PWA_ASSET_TYPES as PWA_ASSET_TYPES, index_d$5_PWA_DISPLAY_MODES as PWA_DISPLAY_MODES, index_d$5_ProductDeclarationSchema as ProductDeclarationSchema, index_d$5_ProductDeclarationsSchema as ProductDeclarationsSchema, index_d$5_ROUTE_SOURCES as ROUTE_SOURCES, index_d$5_STORAGE_SCOPES as STORAGE_SCOPES, index_d$5_STORAGE_TYPES as STORAGE_TYPES, index_d$5_STRIPE_EVENTS as STRIPE_EVENTS, index_d$5_STRIPE_MODES as STRIPE_MODES, index_d$5_SUBSCRIPTION_DURATIONS as SUBSCRIPTION_DURATIONS, index_d$5_SUBSCRIPTION_STATUS as SUBSCRIPTION_STATUS, index_d$5_SUBSCRIPTION_TIERS as SUBSCRIPTION_TIERS, index_d$5_SendEmailRequestSchema as SendEmailRequestSchema, index_d$5_SendEmailResponseSchema as SendEmailResponseSchema, index_d$5_StripeBackConfigSchema as StripeBackConfigSchema, index_d$5_StripeFrontConfigSchema as StripeFrontConfigSchema, index_d$5_StripePaymentSchema as StripePaymentSchema, index_d$5_StripeSubscriptionSchema as StripeSubscriptionSchema, index_d$5_SubscriptionClaimsSchema as SubscriptionClaimsSchema, index_d$5_SubscriptionDataSchema as SubscriptionDataSchema, index_d$5_USER_ROLES as USER_ROLES, index_d$5_UserSubscriptionSchema as UserSubscriptionSchema, index_d$5_VISIBILITY as VISIBILITY, index_d$5_WebhookEventSchema as WebhookEventSchema, index_d$5_checkGitHubAccessSchema as checkGitHubAccessSchema, index_d$5_createDefaultSubscriptionClaims as createDefaultSubscriptionClaims, index_d$5_createDefaultUserProfile as createDefaultUserProfile, index_d$5_createEntitySchema as createEntitySchema, index_d$5_deleteEntitySchema as deleteEntitySchema, index_d$5_disconnectOAuthSchema as disconnectOAuthSchema, index_d$5_exchangeTokenSchema as exchangeTokenSchema, index_d$5_getBreakpointFromWidth as getBreakpointFromWidth, index_d$5_getBreakpointUtils as getBreakpointUtils, index_d$5_getConnectionsSchema as getConnectionsSchema, index_d$5_getEntitySchema as getEntitySchema, index_d$5_githubPermissionSchema as githubPermissionSchema, index_d$5_githubRepoConfigSchema as githubRepoConfigSchema, index_d$5_grantGitHubAccessSchema as grantGitHubAccessSchema, index_d$5_isAuthPartnerId as isAuthPartnerId, index_d$5_isBreakpoint as isBreakpoint, index_d$5_isOAuthPartnerId as isOAuthPartnerId, index_d$5_listEntitiesSchema as listEntitiesSchema, index_d$5_overrideFeatures as overrideFeatures, index_d$5_overridePaymentModes as overridePaymentModes, index_d$5_overridePermissions as overridePermissions, index_d$5_overrideSubscriptionStatus as overrideSubscriptionStatus, index_d$5_overrideSubscriptionTiers as overrideSubscriptionTiers, index_d$5_overrideUserRoles as overrideUserRoles, index_d$5_refreshTokenSchema as refreshTokenSchema, index_d$5_revokeGitHubAccessSchema as revokeGitHubAccessSchema, index_d$5_updateEntitySchema as updateEntitySchema, index_d$5_validateAIChatRequest as validateAIChatRequest, index_d$5_validateAIChatResponse as validateAIChatResponse, index_d$5_validateAuthPartners as validateAuthPartners, index_d$5_validateAuthSchemas as validateAuthSchemas, index_d$5_validateAuthUser as validateAuthUser, index_d$5_validateBillingSchemas as validateBillingSchemas, index_d$5_validateCheckoutSessionMetadata as validateCheckoutSessionMetadata, index_d$5_validateCreateCheckoutSessionRequest as validateCreateCheckoutSessionRequest, index_d$5_validateCreateCheckoutSessionResponse as validateCreateCheckoutSessionResponse, index_d$5_validateCustomClaims as validateCustomClaims, index_d$5_validateOAuthPartners as validateOAuthPartners, index_d$5_validateSendEmailRequest as validateSendEmailRequest, index_d$5_validateSendEmailResponse as validateSendEmailResponse, index_d$5_validateStripeBackConfig as validateStripeBackConfig, index_d$5_validateStripeFrontConfig as validateStripeFrontConfig, index_d$5_validateSubscriptionClaims as validateSubscriptionClaims, index_d$5_validateSubscriptionData as validateSubscriptionData, index_d$5_validateUserSubscription as validateUserSubscription, index_d$5_validateWebhookEvent as validateWebhookEvent };
13562
- export type { index_d$5_AIAPI as AIAPI, index_d$5_AIChatRequest as AIChatRequest, index_d$5_AIChatResponse as AIChatResponse, index_d$5_AIConfig as AIConfig, index_d$5_AICostConfig as AICostConfig, index_d$5_AICostEvent as AICostEvent, index_d$5_AICostRecord as AICostRecord, index_d$5_AICostResult as AICostResult, index_d$5_AIErrorCode as AIErrorCode, index_d$5_AIMessage as AIMessage, index_d$5_AIModelPricing as AIModelPricing, index_d$5_AIProvider as AIProvider, index_d$5_AIProviderConfig as AIProviderConfig, index_d$5_AIRateLimitConfig as AIRateLimitConfig, index_d$5_AIRouteConfig as AIRouteConfig, index_d$5_AITierId as AITierId, index_d$5_AIToolCall as AIToolCall, index_d$5_AIToolDefinition as AIToolDefinition, index_d$5_AIToolParameter as AIToolParameter, index_d$5_AIUsage as AIUsage, index_d$5_AccountLinkResult as AccountLinkResult, index_d$5_AccountLinkingInfo as AccountLinkingInfo, index_d$5_AdminCheckHookResult as AdminCheckHookResult, index_d$5_AdminClaims as AdminClaims, index_d$5_AggregateConfig as AggregateConfig, index_d$5_AggregateFilterOperator as AggregateFilterOperator, index_d$5_AggregateOperation as AggregateOperation, index_d$5_AggregateRequest as AggregateRequest, index_d$5_AggregateResponse as AggregateResponse, index_d$5_AnyEntity as AnyEntity, index_d$5_AnyFieldValue as AnyFieldValue, index_d$5_AnyValibotSchema as AnyValibotSchema, index_d$5_ApiResponse as ApiResponse, index_d$5_AppConfig as AppConfig, index_d$5_AppCookieCategories as AppCookieCategories, index_d$5_AppMetadata as AppMetadata, index_d$5_AppProvidersProps as AppProvidersProps, index_d$5_AssetsPluginConfig as AssetsPluginConfig, index_d$5_AttemptRecord as AttemptRecord, index_d$5_AuditEvent as AuditEvent, index_d$5_AuditEventType as AuditEventType, index_d$5_AuthAPI as AuthAPI, index_d$5_AuthActions as AuthActions, index_d$5_AuthConfig as AuthConfig, index_d$5_AuthContextValue as AuthContextValue, index_d$5_AuthCoreHookResult as AuthCoreHookResult, index_d$5_AuthError as AuthError, index_d$5_AuthEventData as AuthEventData, index_d$5_AuthEventKey as AuthEventKey, index_d$5_AuthEventName as AuthEventName, index_d$5_AuthHardeningContext as AuthHardeningContext, index_d$5_AuthMethod as AuthMethod, index_d$5_AuthPartner as AuthPartner, index_d$5_AuthPartnerHookResult as AuthPartnerHookResult, index_d$5_AuthPartnerId as AuthPartnerId, index_d$5_AuthPartnerResult as AuthPartnerResult, index_d$5_AuthPartnerState as AuthPartnerState, index_d$5_AuthProvider as AuthProvider, index_d$5_AuthProviderProps as AuthProviderProps, index_d$5_AuthRedirectHookResult as AuthRedirectHookResult, index_d$5_AuthRedirectOperation as AuthRedirectOperation, index_d$5_AuthRedirectOptions as AuthRedirectOptions, index_d$5_AuthResult as AuthResult, index_d$5_AuthState as AuthState, index_d$5_AuthStateStore as AuthStateStore, index_d$5_AuthStatus as AuthStatus, index_d$5_AuthTokenHookResult as AuthTokenHookResult, index_d$5_AuthUser as AuthUser, index_d$5_BaseActions as BaseActions, index_d$5_BaseCredentials as BaseCredentials, index_d$5_BaseDocument as BaseDocument, index_d$5_BaseEntityFields as BaseEntityFields, index_d$5_BasePartnerState as BasePartnerState, index_d$5_BaseState as BaseState, index_d$5_BaseStoreActions as BaseStoreActions, index_d$5_BaseStoreState as BaseStoreState, index_d$5_BaseUserProfile as BaseUserProfile, index_d$5_BasicUserInfo as BasicUserInfo, index_d$5_BeforeCheckoutHook as BeforeCheckoutHook, index_d$5_BeforeCheckoutResult as BeforeCheckoutResult, index_d$5_BillingAPI as BillingAPI, index_d$5_BillingAdapter as BillingAdapter, index_d$5_BillingErrorCode as BillingErrorCode, index_d$5_BillingEvent as BillingEvent, index_d$5_BillingEventData as BillingEventData, index_d$5_BillingEventKey as BillingEventKey, index_d$5_BillingEventName as BillingEventName, index_d$5_BillingProvider as BillingProvider, index_d$5_BillingProviderConfig as BillingProviderConfig, index_d$5_BillingRedirectOperation as BillingRedirectOperation, index_d$5_Breakpoint as Breakpoint, index_d$5_BreakpointUtils as BreakpointUtils, index_d$5_BuiltInFieldType as BuiltInFieldType, index_d$5_BulkAcrossBatch as BulkAcrossBatch, index_d$5_BulkAcrossResult as BulkAcrossResult, index_d$5_BulkOperations as BulkOperations, index_d$5_BulkResult as BulkResult, index_d$5_BusinessEntity as BusinessEntity, index_d$5_CachedError as CachedError, index_d$5_CanAPI as CanAPI, index_d$5_CanvasBlock as CanvasBlock, index_d$5_CanvasCallerAccess as CanvasCallerAccess, index_d$5_CanvasEvent as CanvasEvent, index_d$5_CanvasLifetime as CanvasLifetime, index_d$5_CanvasSurface as CanvasSurface, index_d$5_CanvasWidgetMetadata as CanvasWidgetMetadata, index_d$5_CanvasWidgetProps as CanvasWidgetProps, index_d$5_CheckGitHubAccessRequest as CheckGitHubAccessRequest, index_d$5_CheckoutMode as CheckoutMode, index_d$5_CheckoutOptions as CheckoutOptions, index_d$5_CheckoutSessionMetadata as CheckoutSessionMetadata, index_d$5_CollectionSubscriptionCallback as CollectionSubscriptionCallback, index_d$5_ColumnDef as ColumnDef, index_d$5_CommonSubscriptionFeatures as CommonSubscriptionFeatures, index_d$5_CommonTranslations as CommonTranslations, index_d$5_ConditionBuilderLike as ConditionBuilderLike, index_d$5_ConditionExpression as ConditionExpression, index_d$5_ConditionGroup as ConditionGroup, index_d$5_ConditionInput as ConditionInput, index_d$5_ConditionNode as ConditionNode, index_d$5_ConditionOperator as ConditionOperator, index_d$5_ConditionResult as ConditionResult, index_d$5_ConditionalBehavior as ConditionalBehavior, index_d$5_ConfidenceLevel as ConfidenceLevel, index_d$5_ConnectOptions as ConnectOptions, index_d$5_ConsentAPI as ConsentAPI, index_d$5_ConsentActions as ConsentActions, index_d$5_ConsentCategory as ConsentCategory, index_d$5_ConsentState as ConsentState, index_d$5_Context as Context, index_d$5_CookieOptions as CookieOptions, index_d$5_CreateCheckoutSessionRequest as CreateCheckoutSessionRequest, index_d$5_CreateCheckoutSessionResponse as CreateCheckoutSessionResponse, index_d$5_CreateEntityData as CreateEntityData, index_d$5_CreateEntityRequest as CreateEntityRequest, index_d$5_CreateEntityResponse as CreateEntityResponse, index_d$5_CrudAPI as CrudAPI, index_d$5_CrudCardProps as CrudCardProps, index_d$5_CrudConfig as CrudConfig, index_d$5_CrudCreateInput as CrudCreateInput, index_d$5_CrudDocQuery as CrudDocQuery, index_d$5_CrudListQuery as CrudListQuery, index_d$5_CrudOperationOptions as CrudOperationOptions, index_d$5_CrudOperator as CrudOperator, index_d$5_CustomClaims as CustomClaims, index_d$5_CustomFieldOptionsMap as CustomFieldOptionsMap, index_d$5_CustomStoreConfig as CustomStoreConfig, index_d$5_DateValue as DateValue, index_d$5_DeleteEntityRequest as DeleteEntityRequest, index_d$5_DeleteEntityResponse as DeleteEntityResponse, index_d$5_Density as Density, index_d$5_DnDevOverride as DnDevOverride, index_d$5_DnDevWrapper as DnDevWrapper, index_d$5_DndevFrameworkConfig as DndevFrameworkConfig, index_d$5_DndevProviders as DndevProviders, index_d$5_DndevStoreApi as DndevStoreApi, index_d$5_DoNotDevCookieCategories as DoNotDevCookieCategories, index_d$5_DocumentSubscriptionCallback as DocumentSubscriptionCallback, index_d$5_DynamicFormRule as DynamicFormRule, index_d$5_Editable as Editable, index_d$5_EffectiveConnectionType as EffectiveConnectionType, index_d$5_EmailConfig as EmailConfig, index_d$5_EmailErrorCode as EmailErrorCode, index_d$5_EmailProvider as EmailProvider, index_d$5_EmailRouteConfig as EmailRouteConfig, index_d$5_EmailTemplate as EmailTemplate, index_d$5_EmailTemplateRegistry as EmailTemplateRegistry, index_d$5_EmailVerificationHookResult as EmailVerificationHookResult, index_d$5_EmailVerificationStatus as EmailVerificationStatus, index_d$5_Entity as Entity, index_d$5_EntityAccessConfig as EntityAccessConfig, index_d$5_EntityAccessDefaults as EntityAccessDefaults, index_d$5_EntityBrowseBaseProps as EntityBrowseBaseProps, index_d$5_EntityCardListProps as EntityCardListProps, index_d$5_EntityDisplayRendererProps as EntityDisplayRendererProps, index_d$5_EntityField as EntityField, index_d$5_EntityFieldMapDefault as EntityFieldMapDefault, index_d$5_EntityFormRendererProps as EntityFormRendererProps, index_d$5_EntityHookErrors as EntityHookErrors, index_d$5_EntityListProps as EntityListProps, index_d$5_EntityMetadata as EntityMetadata, index_d$5_EntityOwnershipConfig as EntityOwnershipConfig, index_d$5_EntityOwnershipPublicCondition as EntityOwnershipPublicCondition, index_d$5_EntityRecommendationsProps as EntityRecommendationsProps, index_d$5_EntityRecord as EntityRecord, index_d$5_EntityRowFromFields as EntityRowFromFields, index_d$5_EntityTemplateProps as EntityTemplateProps, index_d$5_EntityTranslations as EntityTranslations, index_d$5_EnvironmentMode as EnvironmentMode, index_d$5_ErrorCode as ErrorCode, index_d$5_ErrorSeverity as ErrorSeverity, index_d$5_ErrorSource as ErrorSource, index_d$5_ExchangeTokenParams as ExchangeTokenParams, index_d$5_ExchangeTokenRequest as ExchangeTokenRequest, index_d$5_ExchangeTokenResponse as ExchangeTokenResponse, index_d$5_FaviconConfig as FaviconConfig, index_d$5_Feature as Feature, index_d$5_FeatureAccessHookResult as FeatureAccessHookResult, index_d$5_FeatureConsentRequirement as FeatureConsentRequirement, index_d$5_FeatureHookResult as FeatureHookResult, index_d$5_FeatureId as FeatureId, index_d$5_FeatureName as FeatureName, index_d$5_FeatureStatus as FeatureStatus, index_d$5_FeaturesConfig as FeaturesConfig, index_d$5_FeaturesPluginConfig as FeaturesPluginConfig, index_d$5_FeaturesRequiringAnyConsent as FeaturesRequiringAnyConsent, index_d$5_FeaturesRequiringConsent as FeaturesRequiringConsent, index_d$5_FeaturesWithoutConsent as FeaturesWithoutConsent, index_d$5_FieldCondition as FieldCondition, index_d$5_FieldType as FieldType, index_d$5_FieldTypeToValue as FieldTypeToValue, index_d$5_FileAsset as FileAsset, index_d$5_FirebaseCallOptions as FirebaseCallOptions, index_d$5_FirebaseConfig as FirebaseConfig, index_d$5_FirestoreTimestamp as FirestoreTimestamp, index_d$5_FirestoreUniqueConstraintValidator as FirestoreUniqueConstraintValidator, index_d$5_FooterConfig as FooterConfig, index_d$5_FooterMode as FooterMode, index_d$5_FooterZoneConfig as FooterZoneConfig, index_d$5_FormConfig as FormConfig, index_d$5_FormStep as FormStep, index_d$5_FunctionCallConfig as FunctionCallConfig, index_d$5_FunctionCallContext as FunctionCallContext, index_d$5_FunctionCallOptions as FunctionCallOptions, index_d$5_FunctionCallResult as FunctionCallResult, index_d$5_FunctionClient as FunctionClient, index_d$5_FunctionClientFactoryOptions as FunctionClientFactoryOptions, index_d$5_FunctionDefaults as FunctionDefaults, index_d$5_FunctionEndpoint as FunctionEndpoint, index_d$5_FunctionError as FunctionError, index_d$5_FunctionLoader as FunctionLoader, index_d$5_FunctionMemory as FunctionMemory, index_d$5_FunctionMeta as FunctionMeta, index_d$5_FunctionPlatform as FunctionPlatform, index_d$5_FunctionResponse as FunctionResponse, index_d$5_FunctionSchema as FunctionSchema, index_d$5_FunctionSchemas as FunctionSchemas, index_d$5_FunctionSystem as FunctionSystem, index_d$5_FunctionTrigger as FunctionTrigger, index_d$5_FunctionsConfig as FunctionsConfig, index_d$5_GetCustomClaimsResponse as GetCustomClaimsResponse, index_d$5_GetEntityData as GetEntityData, index_d$5_GetEntityRequest as GetEntityRequest, index_d$5_GetEntityResponse as GetEntityResponse, index_d$5_GetUserAuthStatusResponse as GetUserAuthStatusResponse, index_d$5_GitHubPermission as GitHubPermission, index_d$5_GitHubRepoConfig as GitHubRepoConfig, index_d$5_GrantGitHubAccessRequest as GrantGitHubAccessRequest, index_d$5_GroupByDefinition as GroupByDefinition, index_d$5_HeaderZoneConfig as HeaderZoneConfig, index_d$5_I18nConfig as I18nConfig, index_d$5_I18nPluginConfig as I18nPluginConfig, index_d$5_I18nProviderProps as I18nProviderProps, index_d$5_ICallableProvider as ICallableProvider, index_d$5_ICrudAdapter as ICrudAdapter, index_d$5_ID as ID, index_d$5_INetworkManager as INetworkManager, index_d$5_IServerAuthAdapter as IServerAuthAdapter, index_d$5_IStorageAdapter as IStorageAdapter, index_d$5_IStorageManager as IStorageManager, index_d$5_IStorageStrategy as IStorageStrategy, index_d$5_InferEntityRow as InferEntityRow, index_d$5_Invoice as Invoice, index_d$5_InvoiceItem as InvoiceItem, index_d$5_LanguageData as LanguageData, LanguageInfo$1 as LanguageInfo, index_d$5_LayoutConfig as LayoutConfig, index_d$5_LayoutPreset as LayoutPreset, index_d$5_LegalCompanyInfo as LegalCompanyInfo, index_d$5_LegalConfig as LegalConfig, index_d$5_LegalContactInfo as LegalContactInfo, index_d$5_LegalDirectorInfo as LegalDirectorInfo, index_d$5_LegalHostingInfo as LegalHostingInfo, index_d$5_LegalJurisdictionInfo as LegalJurisdictionInfo, index_d$5_LegalSectionsConfig as LegalSectionsConfig, index_d$5_LegalWebsiteInfo as LegalWebsiteInfo, index_d$5_ListCardLayout as ListCardLayout, index_d$5_ListEntitiesRequest as ListEntitiesRequest, index_d$5_ListEntitiesResponse as ListEntitiesResponse, index_d$5_ListEntityData as ListEntityData, index_d$5_ListOptions as ListOptions, index_d$5_ListResponse as ListResponse, index_d$5_ListSchemaType as ListSchemaType, index_d$5_LoadingActions as LoadingActions, index_d$5_LoadingState as LoadingState, index_d$5_MergedBarConfig as MergedBarConfig, index_d$5_MergedEntityFieldMap as MergedEntityFieldMap, index_d$5_MetricDefinition as MetricDefinition, index_d$5_MobileBehaviorConfig as MobileBehaviorConfig, index_d$5_ModalActions as ModalActions, index_d$5_ModalState as ModalState, index_d$5_MutableMergedEntityFieldMap as MutableMergedEntityFieldMap, index_d$5_MutationResponse as MutationResponse, index_d$5_NavigationRoute as NavigationRoute, index_d$5_NetworkCheckConfig as NetworkCheckConfig, index_d$5_NetworkConnectionType as NetworkConnectionType, index_d$5_NetworkReconnectCallback as NetworkReconnectCallback, NetworkState$1 as NetworkState, index_d$5_NetworkStatus as NetworkStatus, index_d$5_NetworkStatusHookResult as NetworkStatusHookResult, index_d$5_OAuthAPI as OAuthAPI, index_d$5_OAuthApiRequestOptions as OAuthApiRequestOptions, index_d$5_OAuthCallbackHookResult as OAuthCallbackHookResult, index_d$5_OAuthConnection as OAuthConnection, index_d$5_OAuthConnectionInfo as OAuthConnectionInfo, index_d$5_OAuthConnectionRequest as OAuthConnectionRequest, index_d$5_OAuthConnectionStatus as OAuthConnectionStatus, index_d$5_OAuthCredentials as OAuthCredentials, index_d$5_OAuthEventData as OAuthEventData, index_d$5_OAuthEventKey as OAuthEventKey, index_d$5_OAuthEventName as OAuthEventName, index_d$5_OAuthPartner as OAuthPartner, index_d$5_OAuthPartnerHookResult as OAuthPartnerHookResult, index_d$5_OAuthPartnerId as OAuthPartnerId, index_d$5_OAuthPartnerResult as OAuthPartnerResult, index_d$5_OAuthPartnerState as OAuthPartnerState, index_d$5_OAuthPurpose as OAuthPurpose, index_d$5_OAuthRedirectOperation as OAuthRedirectOperation, index_d$5_OAuthRefreshRequest as OAuthRefreshRequest, index_d$5_OAuthRefreshResponse as OAuthRefreshResponse, index_d$5_OAuthResult as OAuthResult, index_d$5_OAuthStoreActions as OAuthStoreActions, index_d$5_OAuthStoreState as OAuthStoreState, index_d$5_Observable as Observable, index_d$5_OrderByClause as OrderByClause, index_d$5_OrderDirection as OrderDirection, index_d$5_PWAAssetType as PWAAssetType, index_d$5_PWADisplayMode as PWADisplayMode, index_d$5_PWAPluginConfig as PWAPluginConfig, index_d$5_PageAuth as PageAuth, index_d$5_PageMeta as PageMeta, index_d$5_PaginatedQueryResult as PaginatedQueryResult, index_d$5_PaginationOptions as PaginationOptions, index_d$5_PartnerConnectionState as PartnerConnectionState, index_d$5_PartnerIconId as PartnerIconId, index_d$5_PartnerId as PartnerId, index_d$5_PartnerResult as PartnerResult, index_d$5_PartnerType as PartnerType, index_d$5_PayloadCacheEventData as PayloadCacheEventData, index_d$5_PayloadDocument as PayloadDocument, index_d$5_PayloadDocumentEventData as PayloadDocumentEventData, index_d$5_PayloadEventKey as PayloadEventKey, index_d$5_PayloadEventName as PayloadEventName, index_d$5_PayloadGlobalEventData as PayloadGlobalEventData, index_d$5_PayloadMediaEventData as PayloadMediaEventData, index_d$5_PayloadPageRegenerationEventData as PayloadPageRegenerationEventData, index_d$5_PayloadRequest as PayloadRequest, index_d$5_PayloadUserEventData as PayloadUserEventData, index_d$5_PaymentEventData as PaymentEventData, index_d$5_PaymentMethod as PaymentMethod, index_d$5_PaymentMethodType as PaymentMethodType, index_d$5_PaymentMode as PaymentMode, index_d$5_Permission as Permission, index_d$5_Picture as Picture, index_d$5_Platform as Platform, index_d$5_PresetConfig as PresetConfig, index_d$5_PresetRegistry as PresetRegistry, index_d$5_ProcessPaymentSuccessRequest as ProcessPaymentSuccessRequest, index_d$5_ProcessPaymentSuccessResponse as ProcessPaymentSuccessResponse, index_d$5_ProductDeclaration as ProductDeclaration, index_d$5_ProviderInstances as ProviderInstances, index_d$5_QueryConfig as QueryConfig, index_d$5_QueryOptions as QueryOptions, index_d$5_QueryOrderBy as QueryOrderBy, index_d$5_QueryWhereClause as QueryWhereClause, index_d$5_RateLimitBackend as RateLimitBackend, index_d$5_RateLimitConfig as RateLimitConfig, index_d$5_RateLimitManager as RateLimitManager, index_d$5_RateLimitResult as RateLimitResult, index_d$5_RateLimitState as RateLimitState, index_d$5_RateLimiter as RateLimiter, index_d$5_ReadCallback as ReadCallback, index_d$5_RedirectOperation as RedirectOperation, index_d$5_RedirectOverlayActions as RedirectOverlayActions, index_d$5_RedirectOverlayConfig as RedirectOverlayConfig, index_d$5_RedirectOverlayPhase as RedirectOverlayPhase, index_d$5_RedirectOverlayState as RedirectOverlayState, index_d$5_Reference as Reference, index_d$5_RefreshSubscriptionRequest as RefreshSubscriptionRequest, index_d$5_RefreshSubscriptionResponse as RefreshSubscriptionResponse, index_d$5_RemoveCustomClaimsResponse as RemoveCustomClaimsResponse, index_d$5_ResolvedLayoutConfig as ResolvedLayoutConfig, index_d$5_RevokeGitHubAccessRequest as RevokeGitHubAccessRequest, index_d$5_RouteMeta as RouteMeta, index_d$5_RouteSource as RouteSource, index_d$5_RoutesPluginConfig as RoutesPluginConfig, index_d$5_SEOConfig as SEOConfig, index_d$5_SchemaMetadata as SchemaMetadata, index_d$5_ScopeConfig as ScopeConfig, index_d$5_SecurityContext as SecurityContext, index_d$5_SecurityEntityConfig as SecurityEntityConfig, index_d$5_SendEmailRequest as SendEmailRequest, index_d$5_SendEmailResponse as SendEmailResponse, index_d$5_SeoMeta as SeoMeta, index_d$5_ServerRateLimitConfig as ServerRateLimitConfig, index_d$5_ServerRateLimitResult as ServerRateLimitResult, index_d$5_ServerUserRecord as ServerUserRecord, index_d$5_SetCustomClaimsResponse as SetCustomClaimsResponse, index_d$5_SidebarZoneConfig as SidebarZoneConfig, index_d$5_SignUpMetadata as SignUpMetadata, index_d$5_SlotContent as SlotContent, index_d$5_StorageOptions as StorageOptions, index_d$5_StorageScope as StorageScope, index_d$5_StorageType as StorageType, index_d$5_Store as Store, index_d$5_StripeBackConfig as StripeBackConfig, index_d$5_StripeCheckoutRequest as StripeCheckoutRequest, index_d$5_StripeCheckoutResponse as StripeCheckoutResponse, index_d$5_StripeCheckoutSessionEventData as StripeCheckoutSessionEventData, index_d$5_StripeConfig as StripeConfig, index_d$5_StripeCustomer as StripeCustomer, index_d$5_StripeCustomerEventData as StripeCustomerEventData, index_d$5_StripeEventData as StripeEventData, index_d$5_StripeEventKey as StripeEventKey, index_d$5_StripeEventName as StripeEventName, index_d$5_StripeFrontConfig as StripeFrontConfig, index_d$5_StripeInvoice as StripeInvoice, index_d$5_StripeInvoiceEventData as StripeInvoiceEventData, index_d$5_StripePayment as StripePayment, index_d$5_StripePaymentIntentEventData as StripePaymentIntentEventData, index_d$5_StripePaymentMethod as StripePaymentMethod, index_d$5_StripePrice as StripePrice, index_d$5_StripeProduct as StripeProduct, index_d$5_StripeProvider as StripeProvider, index_d$5_StripeSubscription as StripeSubscription, index_d$5_StripeSubscriptionData as StripeSubscriptionData, index_d$5_StripeWebhookEvent as StripeWebhookEvent, index_d$5_StripeWebhookEventData as StripeWebhookEventData, index_d$5_Subscription as Subscription, index_d$5_SubscriptionClaims as SubscriptionClaims, index_d$5_SubscriptionConfig as SubscriptionConfig, index_d$5_SubscriptionData as SubscriptionData, index_d$5_SubscriptionDuration as SubscriptionDuration, index_d$5_SubscriptionEventData as SubscriptionEventData, index_d$5_SubscriptionHookResult as SubscriptionHookResult, index_d$5_SubscriptionInfo as SubscriptionInfo, index_d$5_SubscriptionStatus as SubscriptionStatus, index_d$5_SubscriptionTier as SubscriptionTier, index_d$5_SupportedLanguage as SupportedLanguage, index_d$5_ThemeActions as ThemeActions, index_d$5_ThemeInfo as ThemeInfo, index_d$5_ThemeMode as ThemeMode, index_d$5_ThemeState as ThemeState, index_d$5_ThemesPluginConfig as ThemesPluginConfig, index_d$5_TierAccessHookResult as TierAccessHookResult, index_d$5_Timestamp as Timestamp, index_d$5_TokenInfo as TokenInfo, index_d$5_TokenResponse as TokenResponse, index_d$5_TokenState as TokenState, index_d$5_TokenStatus as TokenStatus, index_d$5_TranslationOptions as TranslationOptions, index_d$5_TranslationResource as TranslationResource, index_d$5_UIFieldOptions as UIFieldOptions, index_d$5_UniqueConstraintValidator as UniqueConstraintValidator, index_d$5_UniqueKeyDefinition as UniqueKeyDefinition, index_d$5_UnsubscribeFn as UnsubscribeFn, index_d$5_UpdateEntityData as UpdateEntityData, index_d$5_UpdateEntityRequest as UpdateEntityRequest, index_d$5_UpdateEntityResponse as UpdateEntityResponse, index_d$5_UploadOptions as UploadOptions, index_d$5_UploadProgressCallback as UploadProgressCallback, index_d$5_UploadResult as UploadResult, index_d$5_UseFunctionsCallResult as UseFunctionsCallResult, index_d$5_UseFunctionsMutationOptions as UseFunctionsMutationOptions, index_d$5_UseFunctionsMutationResult as UseFunctionsMutationResult, index_d$5_UseFunctionsQueryOptions as UseFunctionsQueryOptions, index_d$5_UseFunctionsQueryResult as UseFunctionsQueryResult, index_d$5_UseTranslationOptionsEnhanced as UseTranslationOptionsEnhanced, index_d$5_UserContext as UserContext, index_d$5_UserProfile as UserProfile, index_d$5_UserProviderData as UserProviderData, index_d$5_UserRole as UserRole, index_d$5_UserSubscription as UserSubscription, index_d$5_ValidateBlockOptions as ValidateBlockOptions, index_d$5_ValidationRules as ValidationRules, index_d$5_ValueTypeForField as ValueTypeForField, index_d$5_VerifiedToken as VerifiedToken, index_d$5_Visibility as Visibility, index_d$5_WebhookEvent as WebhookEvent, index_d$5_WebhookEventData as WebhookEventData, index_d$5_WhereClause as WhereClause, index_d$5_WhereOperator as WhereOperator, index_d$5_WidgetDef as WidgetDef, index_d$5_WithMetadata as WithMetadata, index_d$5_dndevSchema as dndevSchema };
14289
+ export { index_d$5_AGGREGATE_FILTER_OPERATORS as AGGREGATE_FILTER_OPERATORS, index_d$5_AGGREGATE_OPERATIONS as AGGREGATE_OPERATIONS, index_d$5_AIChatRequestSchema as AIChatRequestSchema, index_d$5_AIChatResponseSchema as AIChatResponseSchema, index_d$5_AIMessageSchema as AIMessageSchema, index_d$5_AIProviderConfigSchema as AIProviderConfigSchema, index_d$5_AIToolCallSchema as AIToolCallSchema, index_d$5_AIToolDefinitionSchema as AIToolDefinitionSchema, index_d$5_AIUsageSchema as AIUsageSchema, index_d$5_AI_ERROR_CODES as AI_ERROR_CODES, index_d$5_AI_MODELS as AI_MODELS, index_d$5_AI_PROVIDERS as AI_PROVIDERS, index_d$5_AI_ROLES as AI_ROLES, index_d$5_AI_TIERS as AI_TIERS, index_d$5_AI_TOKEN_PRICING as AI_TOKEN_PRICING, index_d$5_AUTH_EVENTS as AUTH_EVENTS, index_d$5_AUTH_PARTNERS as AUTH_PARTNERS, index_d$5_AUTH_PARTNER_STATE as AUTH_PARTNER_STATE, index_d$5_AuthUserSchema as AuthUserSchema, index_d$5_BILLING_EVENTS as BILLING_EVENTS, index_d$5_BREAKPOINT_RANGES as BREAKPOINT_RANGES, index_d$5_BREAKPOINT_THRESHOLDS as BREAKPOINT_THRESHOLDS, index_d$5_BulkAcrossCycleError as BulkAcrossCycleError, index_d$5_BulkCollisionError as BulkCollisionError, index_d$5_BulkNotImplementedError as BulkNotImplementedError, index_d$5_COMMON_TIER_CONFIGS as COMMON_TIER_CONFIGS, index_d$5_CONFIDENCE_LEVELS as CONFIDENCE_LEVELS, index_d$5_CONSENT_CATEGORY as CONSENT_CATEGORY, index_d$5_CONTEXTS as CONTEXTS, index_d$5_CRUD_OPERATORS as CRUD_OPERATORS, index_d$5_CheckoutLineItemInputSchema as CheckoutLineItemInputSchema, index_d$5_CheckoutSessionMetadataSchema as CheckoutSessionMetadataSchema, index_d$5_CreateCheckoutSessionRequestSchema as CreateCheckoutSessionRequestSchema, index_d$5_CreateCheckoutSessionResponseSchema as CreateCheckoutSessionResponseSchema, index_d$5_CustomClaimsSchema as CustomClaimsSchema, index_d$5_DEFAULT_AI_CONFIG as DEFAULT_AI_CONFIG, index_d$5_DEFAULT_AI_MARKUP as DEFAULT_AI_MARKUP, index_d$5_DEFAULT_ENTITY_ACCESS as DEFAULT_ENTITY_ACCESS, index_d$5_DEFAULT_LAYOUT_PRESET as DEFAULT_LAYOUT_PRESET, index_d$5_DEFAULT_SUBSCRIPTION as DEFAULT_SUBSCRIPTION, index_d$5_DENSITY as DENSITY, index_d$5_DoNotDevError as DoNotDevError, index_d$5_EDITABLE as EDITABLE, index_d$5_EMAIL_ERROR_CODES as EMAIL_ERROR_CODES, index_d$5_EMAIL_PROVIDERS as EMAIL_PROVIDERS, index_d$5_EMAIL_VERIFICATION_STATUS as EMAIL_VERIFICATION_STATUS, index_d$5_ENTITY_HOOK_ERRORS as ENTITY_HOOK_ERRORS, index_d$5_ENVIRONMENTS as ENVIRONMENTS, index_d$5_ERROR_CODES as ERROR_CODES, index_d$5_ERROR_SEVERITY as ERROR_SEVERITY, index_d$5_ERROR_SOURCE as ERROR_SOURCE, index_d$5_EntityHookError as EntityHookError, index_d$5_FEATURES as FEATURES, index_d$5_FEATURE_CONSENT_MATRIX as FEATURE_CONSENT_MATRIX, index_d$5_FEATURE_STATUS as FEATURE_STATUS, index_d$5_FIELD_TYPES as FIELD_TYPES, index_d$5_FIREBASE_ERROR_MAP as FIREBASE_ERROR_MAP, index_d$5_FOOTER_MODE as FOOTER_MODE, index_d$5_GITHUB_PERMISSION_LEVELS as GITHUB_PERMISSION_LEVELS, index_d$5_LAYOUT_PRESET as LAYOUT_PRESET, index_d$5_LIST_SCHEMA_TYPE as LIST_SCHEMA_TYPE, index_d$5_MAX_CHECKOUT_LINE_ITEMS as MAX_CHECKOUT_LINE_ITEMS, index_d$5_MAX_SHIPPING_RATE_IDS as MAX_SHIPPING_RATE_IDS, index_d$5_OAUTH_EVENTS as OAUTH_EVENTS, index_d$5_OAUTH_PARTNERS as OAUTH_PARTNERS, index_d$5_ORDER_DIRECTION as ORDER_DIRECTION, index_d$5_PARTNER_ICONS as PARTNER_ICONS, index_d$5_PAYLOAD_EVENTS as PAYLOAD_EVENTS, index_d$5_PERMISSIONS as PERMISSIONS, index_d$5_PLATFORMS as PLATFORMS, index_d$5_PWA_ASSET_TYPES as PWA_ASSET_TYPES, index_d$5_PWA_DISPLAY_MODES as PWA_DISPLAY_MODES, index_d$5_ProductDeclarationSchema as ProductDeclarationSchema, index_d$5_ProductDeclarationsSchema as ProductDeclarationsSchema, index_d$5_ROUTE_SOURCES as ROUTE_SOURCES, index_d$5_STORAGE_SCOPES as STORAGE_SCOPES, index_d$5_STORAGE_TYPES as STORAGE_TYPES, index_d$5_STRIPE_EVENTS as STRIPE_EVENTS, index_d$5_STRIPE_MODES as STRIPE_MODES, index_d$5_SUBSCRIPTION_DURATIONS as SUBSCRIPTION_DURATIONS, index_d$5_SUBSCRIPTION_STATUS as SUBSCRIPTION_STATUS, index_d$5_SUBSCRIPTION_TIERS as SUBSCRIPTION_TIERS, index_d$5_SendEmailRequestSchema as SendEmailRequestSchema, index_d$5_SendEmailResponseSchema as SendEmailResponseSchema, index_d$5_StripeBackConfigSchema as StripeBackConfigSchema, index_d$5_StripeFrontConfigSchema as StripeFrontConfigSchema, index_d$5_StripeOrderBackSchema as StripeOrderBackSchema, index_d$5_StripeOrderShippingSchema as StripeOrderShippingSchema, index_d$5_StripeOrderTaxSchema as StripeOrderTaxSchema, index_d$5_StripePaymentSchema as StripePaymentSchema, index_d$5_StripeSubscriptionSchema as StripeSubscriptionSchema, index_d$5_SubscriptionClaimsSchema as SubscriptionClaimsSchema, index_d$5_SubscriptionDataSchema as SubscriptionDataSchema, index_d$5_USER_ROLES as USER_ROLES, index_d$5_UserSubscriptionSchema as UserSubscriptionSchema, index_d$5_VISIBILITY as VISIBILITY, index_d$5_WebhookEventSchema as WebhookEventSchema, index_d$5_checkGitHubAccessSchema as checkGitHubAccessSchema, index_d$5_createDefaultSubscriptionClaims as createDefaultSubscriptionClaims, index_d$5_createDefaultUserProfile as createDefaultUserProfile, index_d$5_createEntitySchema as createEntitySchema, index_d$5_deleteEntitySchema as deleteEntitySchema, index_d$5_disconnectOAuthSchema as disconnectOAuthSchema, index_d$5_exchangeTokenSchema as exchangeTokenSchema, index_d$5_getBreakpointFromWidth as getBreakpointFromWidth, index_d$5_getBreakpointUtils as getBreakpointUtils, index_d$5_getConnectionsSchema as getConnectionsSchema, index_d$5_getEntitySchema as getEntitySchema, index_d$5_githubPermissionSchema as githubPermissionSchema, index_d$5_githubRepoConfigSchema as githubRepoConfigSchema, index_d$5_grantGitHubAccessSchema as grantGitHubAccessSchema, index_d$5_isAuthPartnerId as isAuthPartnerId, index_d$5_isBreakpoint as isBreakpoint, index_d$5_isOAuthPartnerId as isOAuthPartnerId, index_d$5_listEntitiesSchema as listEntitiesSchema, index_d$5_overrideFeatures as overrideFeatures, index_d$5_overridePaymentModes as overridePaymentModes, index_d$5_overridePermissions as overridePermissions, index_d$5_overrideSubscriptionStatus as overrideSubscriptionStatus, index_d$5_overrideSubscriptionTiers as overrideSubscriptionTiers, index_d$5_overrideUserRoles as overrideUserRoles, index_d$5_refreshTokenSchema as refreshTokenSchema, index_d$5_revokeGitHubAccessSchema as revokeGitHubAccessSchema, index_d$5_updateEntitySchema as updateEntitySchema, index_d$5_validateAIChatRequest as validateAIChatRequest, index_d$5_validateAIChatResponse as validateAIChatResponse, index_d$5_validateAuthPartners as validateAuthPartners, index_d$5_validateAuthSchemas as validateAuthSchemas, index_d$5_validateAuthUser as validateAuthUser, index_d$5_validateBillingSchemas as validateBillingSchemas, index_d$5_validateCheckoutSessionMetadata as validateCheckoutSessionMetadata, index_d$5_validateCreateCheckoutSessionRequest as validateCreateCheckoutSessionRequest, index_d$5_validateCreateCheckoutSessionResponse as validateCreateCheckoutSessionResponse, index_d$5_validateCustomClaims as validateCustomClaims, index_d$5_validateOAuthPartners as validateOAuthPartners, index_d$5_validateSendEmailRequest as validateSendEmailRequest, index_d$5_validateSendEmailResponse as validateSendEmailResponse, index_d$5_validateStripeBackConfig as validateStripeBackConfig, index_d$5_validateStripeFrontConfig as validateStripeFrontConfig, index_d$5_validateSubscriptionClaims as validateSubscriptionClaims, index_d$5_validateSubscriptionData as validateSubscriptionData, index_d$5_validateUserSubscription as validateUserSubscription, index_d$5_validateWebhookEvent as validateWebhookEvent };
14290
+ export type { index_d$5_AIAPI as AIAPI, index_d$5_AIChatRequest as AIChatRequest, index_d$5_AIChatResponse as AIChatResponse, index_d$5_AIConfig as AIConfig, index_d$5_AICostConfig as AICostConfig, index_d$5_AICostEvent as AICostEvent, index_d$5_AICostRecord as AICostRecord, index_d$5_AICostResult as AICostResult, index_d$5_AIErrorCode as AIErrorCode, index_d$5_AIMessage as AIMessage, index_d$5_AIModelPricing as AIModelPricing, index_d$5_AIProvider as AIProvider, index_d$5_AIProviderConfig as AIProviderConfig, index_d$5_AIRateLimitConfig as AIRateLimitConfig, index_d$5_AIRouteConfig as AIRouteConfig, index_d$5_AITierId as AITierId, index_d$5_AIToolCall as AIToolCall, index_d$5_AIToolDefinition as AIToolDefinition, index_d$5_AIToolParameter as AIToolParameter, index_d$5_AIUsage as AIUsage, index_d$5_AccountLinkResult as AccountLinkResult, index_d$5_AccountLinkingInfo as AccountLinkingInfo, index_d$5_AdminCheckHookResult as AdminCheckHookResult, index_d$5_AdminClaims as AdminClaims, index_d$5_AggregateConfig as AggregateConfig, index_d$5_AggregateFilterOperator as AggregateFilterOperator, index_d$5_AggregateOperation as AggregateOperation, index_d$5_AggregateRequest as AggregateRequest, index_d$5_AggregateResponse as AggregateResponse, index_d$5_AnyEntity as AnyEntity, index_d$5_AnyFieldValue as AnyFieldValue, index_d$5_AnyValibotSchema as AnyValibotSchema, index_d$5_ApiResponse as ApiResponse, index_d$5_AppConfig as AppConfig, index_d$5_AppCookieCategories as AppCookieCategories, index_d$5_AppMetadata as AppMetadata, index_d$5_AppProvidersProps as AppProvidersProps, index_d$5_AssetsPluginConfig as AssetsPluginConfig, index_d$5_AttemptRecord as AttemptRecord, index_d$5_AuditEvent as AuditEvent, index_d$5_AuditEventType as AuditEventType, index_d$5_AuthAPI as AuthAPI, index_d$5_AuthActions as AuthActions, index_d$5_AuthConfig as AuthConfig, index_d$5_AuthContextValue as AuthContextValue, index_d$5_AuthCoreHookResult as AuthCoreHookResult, index_d$5_AuthError as AuthError, index_d$5_AuthEventData as AuthEventData, index_d$5_AuthEventKey as AuthEventKey, index_d$5_AuthEventName as AuthEventName, index_d$5_AuthHardeningContext as AuthHardeningContext, index_d$5_AuthMethod as AuthMethod, index_d$5_AuthPartner as AuthPartner, index_d$5_AuthPartnerHookResult as AuthPartnerHookResult, index_d$5_AuthPartnerId as AuthPartnerId, index_d$5_AuthPartnerResult as AuthPartnerResult, index_d$5_AuthPartnerState as AuthPartnerState, index_d$5_AuthProvider as AuthProvider, index_d$5_AuthProviderProps as AuthProviderProps, index_d$5_AuthRedirectHookResult as AuthRedirectHookResult, index_d$5_AuthRedirectOperation as AuthRedirectOperation, index_d$5_AuthRedirectOptions as AuthRedirectOptions, index_d$5_AuthResult as AuthResult, index_d$5_AuthSessionSnapshot as AuthSessionSnapshot, index_d$5_AuthState as AuthState, index_d$5_AuthStateStore as AuthStateStore, index_d$5_AuthStatus as AuthStatus, index_d$5_AuthTokenHookResult as AuthTokenHookResult, index_d$5_AuthUser as AuthUser, index_d$5_BaseActions as BaseActions, index_d$5_BaseCredentials as BaseCredentials, index_d$5_BaseDocument as BaseDocument, index_d$5_BaseEntityFields as BaseEntityFields, index_d$5_BasePartnerState as BasePartnerState, index_d$5_BaseState as BaseState, index_d$5_BaseStoreActions as BaseStoreActions, index_d$5_BaseStoreState as BaseStoreState, index_d$5_BaseUserProfile as BaseUserProfile, index_d$5_BasicUserInfo as BasicUserInfo, index_d$5_BeforeCheckoutHook as BeforeCheckoutHook, index_d$5_BeforeCheckoutOptions as BeforeCheckoutOptions, index_d$5_BeforeCheckoutResult as BeforeCheckoutResult, index_d$5_BillingAPI as BillingAPI, index_d$5_BillingAdapter as BillingAdapter, index_d$5_BillingAuthProvider as BillingAuthProvider, index_d$5_BillingErrorCode as BillingErrorCode, index_d$5_BillingEvent as BillingEvent, index_d$5_BillingEventData as BillingEventData, index_d$5_BillingEventKey as BillingEventKey, index_d$5_BillingEventName as BillingEventName, index_d$5_BillingProvider as BillingProvider, index_d$5_BillingProviderConfig as BillingProviderConfig, index_d$5_BillingRedirectOperation as BillingRedirectOperation, index_d$5_Breakpoint as Breakpoint, index_d$5_BreakpointUtils as BreakpointUtils, index_d$5_BuiltInFieldType as BuiltInFieldType, index_d$5_BulkAcrossBatch as BulkAcrossBatch, index_d$5_BulkAcrossResult as BulkAcrossResult, index_d$5_BulkOperations as BulkOperations, index_d$5_BulkResult as BulkResult, index_d$5_BusinessEntity as BusinessEntity, index_d$5_CachedError as CachedError, index_d$5_CanAPI as CanAPI, index_d$5_CanvasBlock as CanvasBlock, index_d$5_CanvasCallerAccess as CanvasCallerAccess, index_d$5_CanvasEvent as CanvasEvent, index_d$5_CanvasLifetime as CanvasLifetime, index_d$5_CanvasSurface as CanvasSurface, index_d$5_CanvasWidgetMetadata as CanvasWidgetMetadata, index_d$5_CanvasWidgetProps as CanvasWidgetProps, index_d$5_CheckGitHubAccessRequest as CheckGitHubAccessRequest, index_d$5_CheckoutAddress as CheckoutAddress, index_d$5_CheckoutLineItemInput as CheckoutLineItemInput, index_d$5_CheckoutMode as CheckoutMode, index_d$5_CheckoutOptions as CheckoutOptions, index_d$5_CheckoutSessionMetadata as CheckoutSessionMetadata, index_d$5_CheckoutSessionParams as CheckoutSessionParams, index_d$5_CheckoutSessionResult as CheckoutSessionResult, index_d$5_CheckoutSessionSnapshot as CheckoutSessionSnapshot, index_d$5_CollectionSubscriptionCallback as CollectionSubscriptionCallback, index_d$5_ColumnDef as ColumnDef, index_d$5_CommonSubscriptionFeatures as CommonSubscriptionFeatures, index_d$5_CommonTranslations as CommonTranslations, index_d$5_ConditionBuilderLike as ConditionBuilderLike, index_d$5_ConditionExpression as ConditionExpression, index_d$5_ConditionGroup as ConditionGroup, index_d$5_ConditionInput as ConditionInput, index_d$5_ConditionNode as ConditionNode, index_d$5_ConditionOperator as ConditionOperator, index_d$5_ConditionResult as ConditionResult, index_d$5_ConditionalBehavior as ConditionalBehavior, index_d$5_ConfidenceLevel as ConfidenceLevel, index_d$5_ConnectOptions as ConnectOptions, index_d$5_ConsentAPI as ConsentAPI, index_d$5_ConsentActions as ConsentActions, index_d$5_ConsentCategory as ConsentCategory, index_d$5_ConsentState as ConsentState, index_d$5_Context as Context, index_d$5_CookieOptions as CookieOptions, index_d$5_CreateCheckoutSessionRequest as CreateCheckoutSessionRequest, index_d$5_CreateCheckoutSessionRequestInput as CreateCheckoutSessionRequestInput, index_d$5_CreateCheckoutSessionResponse as CreateCheckoutSessionResponse, index_d$5_CreateEntityData as CreateEntityData, index_d$5_CreateEntityRequest as CreateEntityRequest, index_d$5_CreateEntityResponse as CreateEntityResponse, index_d$5_CrudAPI as CrudAPI, index_d$5_CrudCardProps as CrudCardProps, index_d$5_CrudConfig as CrudConfig, index_d$5_CrudCreateInput as CrudCreateInput, index_d$5_CrudDocQuery as CrudDocQuery, index_d$5_CrudListQuery as CrudListQuery, index_d$5_CrudOperationOptions as CrudOperationOptions, index_d$5_CrudOperator as CrudOperator, index_d$5_CustomClaims as CustomClaims, index_d$5_CustomFieldOptionsMap as CustomFieldOptionsMap, index_d$5_CustomStoreConfig as CustomStoreConfig, index_d$5_DateValue as DateValue, index_d$5_DeleteEntityRequest as DeleteEntityRequest, index_d$5_DeleteEntityResponse as DeleteEntityResponse, index_d$5_Density as Density, index_d$5_DnDevOverride as DnDevOverride, index_d$5_DnDevWrapper as DnDevWrapper, index_d$5_DndevFrameworkConfig as DndevFrameworkConfig, index_d$5_DndevProviders as DndevProviders, index_d$5_DndevStoreApi as DndevStoreApi, index_d$5_DoNotDevCookieCategories as DoNotDevCookieCategories, index_d$5_DocumentSubscriptionCallback as DocumentSubscriptionCallback, index_d$5_DynamicFormRule as DynamicFormRule, index_d$5_Editable as Editable, index_d$5_EffectiveConnectionType as EffectiveConnectionType, index_d$5_EmailConfig as EmailConfig, index_d$5_EmailErrorCode as EmailErrorCode, index_d$5_EmailProvider as EmailProvider, index_d$5_EmailRouteConfig as EmailRouteConfig, index_d$5_EmailTemplate as EmailTemplate, index_d$5_EmailTemplateRegistry as EmailTemplateRegistry, index_d$5_EmailVerificationHookResult as EmailVerificationHookResult, index_d$5_EmailVerificationStatus as EmailVerificationStatus, index_d$5_Entity as Entity, index_d$5_EntityAccessConfig as EntityAccessConfig, index_d$5_EntityAccessDefaults as EntityAccessDefaults, index_d$5_EntityBrowseBaseProps as EntityBrowseBaseProps, index_d$5_EntityCardListProps as EntityCardListProps, index_d$5_EntityDisplayRendererProps as EntityDisplayRendererProps, index_d$5_EntityField as EntityField, index_d$5_EntityFieldMapDefault as EntityFieldMapDefault, index_d$5_EntityFormRendererProps as EntityFormRendererProps, index_d$5_EntityHookErrors as EntityHookErrors, index_d$5_EntityListProps as EntityListProps, index_d$5_EntityMetadata as EntityMetadata, index_d$5_EntityOwnershipConfig as EntityOwnershipConfig, index_d$5_EntityOwnershipPublicCondition as EntityOwnershipPublicCondition, index_d$5_EntityRecommendationsProps as EntityRecommendationsProps, index_d$5_EntityRecord as EntityRecord, index_d$5_EntityRowFromFields as EntityRowFromFields, index_d$5_EntityTemplateProps as EntityTemplateProps, index_d$5_EntityTranslations as EntityTranslations, index_d$5_EnvironmentMode as EnvironmentMode, index_d$5_ErrorCode as ErrorCode, index_d$5_ErrorSeverity as ErrorSeverity, index_d$5_ErrorSource as ErrorSource, index_d$5_ExchangeTokenParams as ExchangeTokenParams, index_d$5_ExchangeTokenRequest as ExchangeTokenRequest, index_d$5_ExchangeTokenResponse as ExchangeTokenResponse, index_d$5_FaviconConfig as FaviconConfig, index_d$5_Feature as Feature, index_d$5_FeatureAccessHookResult as FeatureAccessHookResult, index_d$5_FeatureConsentRequirement as FeatureConsentRequirement, index_d$5_FeatureHookResult as FeatureHookResult, index_d$5_FeatureId as FeatureId, index_d$5_FeatureName as FeatureName, index_d$5_FeatureStatus as FeatureStatus, index_d$5_FeaturesConfig as FeaturesConfig, index_d$5_FeaturesPluginConfig as FeaturesPluginConfig, index_d$5_FeaturesRequiringAnyConsent as FeaturesRequiringAnyConsent, index_d$5_FeaturesRequiringConsent as FeaturesRequiringConsent, index_d$5_FeaturesWithoutConsent as FeaturesWithoutConsent, index_d$5_FieldCondition as FieldCondition, index_d$5_FieldType as FieldType, index_d$5_FieldTypeToValue as FieldTypeToValue, index_d$5_FileAsset as FileAsset, index_d$5_FirebaseCallOptions as FirebaseCallOptions, index_d$5_FirebaseConfig as FirebaseConfig, index_d$5_FirestoreTimestamp as FirestoreTimestamp, index_d$5_FirestoreUniqueConstraintValidator as FirestoreUniqueConstraintValidator, index_d$5_FooterConfig as FooterConfig, index_d$5_FooterMode as FooterMode, index_d$5_FooterZoneConfig as FooterZoneConfig, index_d$5_FormConfig as FormConfig, index_d$5_FormStep as FormStep, index_d$5_FunctionCallConfig as FunctionCallConfig, index_d$5_FunctionCallContext as FunctionCallContext, index_d$5_FunctionCallOptions as FunctionCallOptions, index_d$5_FunctionCallResult as FunctionCallResult, index_d$5_FunctionClient as FunctionClient, index_d$5_FunctionClientFactoryOptions as FunctionClientFactoryOptions, index_d$5_FunctionDefaults as FunctionDefaults, index_d$5_FunctionEndpoint as FunctionEndpoint, index_d$5_FunctionError as FunctionError, index_d$5_FunctionLoader as FunctionLoader, index_d$5_FunctionMemory as FunctionMemory, index_d$5_FunctionMeta as FunctionMeta, index_d$5_FunctionPlatform as FunctionPlatform, index_d$5_FunctionResponse as FunctionResponse, index_d$5_FunctionSchema as FunctionSchema, index_d$5_FunctionSchemas as FunctionSchemas, index_d$5_FunctionSystem as FunctionSystem, index_d$5_FunctionTrigger as FunctionTrigger, index_d$5_FunctionsConfig as FunctionsConfig, index_d$5_GetCustomClaimsResponse as GetCustomClaimsResponse, index_d$5_GetEntityData as GetEntityData, index_d$5_GetEntityRequest as GetEntityRequest, index_d$5_GetEntityResponse as GetEntityResponse, index_d$5_GetUserAuthStatusResponse as GetUserAuthStatusResponse, index_d$5_GitHubPermission as GitHubPermission, index_d$5_GitHubRepoConfig as GitHubRepoConfig, index_d$5_GrantGitHubAccessRequest as GrantGitHubAccessRequest, index_d$5_GroupByDefinition as GroupByDefinition, index_d$5_HeaderZoneConfig as HeaderZoneConfig, index_d$5_I18nConfig as I18nConfig, index_d$5_I18nPluginConfig as I18nPluginConfig, index_d$5_I18nProviderProps as I18nProviderProps, index_d$5_ICallableProvider as ICallableProvider, index_d$5_ICrudAdapter as ICrudAdapter, index_d$5_ID as ID, index_d$5_INetworkManager as INetworkManager, index_d$5_IServerAuthAdapter as IServerAuthAdapter, index_d$5_IStorageAdapter as IStorageAdapter, index_d$5_IStorageManager as IStorageManager, index_d$5_IStorageStrategy as IStorageStrategy, index_d$5_InferEntityRow as InferEntityRow, index_d$5_Invoice as Invoice, index_d$5_InvoiceItem as InvoiceItem, index_d$5_LanguageData as LanguageData, LanguageInfo$1 as LanguageInfo, index_d$5_LayoutConfig as LayoutConfig, index_d$5_LayoutPreset as LayoutPreset, index_d$5_LegalCompanyInfo as LegalCompanyInfo, index_d$5_LegalConfig as LegalConfig, index_d$5_LegalContactInfo as LegalContactInfo, index_d$5_LegalDirectorInfo as LegalDirectorInfo, index_d$5_LegalHostingInfo as LegalHostingInfo, index_d$5_LegalJurisdictionInfo as LegalJurisdictionInfo, index_d$5_LegalSectionsConfig as LegalSectionsConfig, index_d$5_LegalWebsiteInfo as LegalWebsiteInfo, index_d$5_ListCardLayout as ListCardLayout, index_d$5_ListEntitiesRequest as ListEntitiesRequest, index_d$5_ListEntitiesResponse as ListEntitiesResponse, index_d$5_ListEntityData as ListEntityData, index_d$5_ListOptions as ListOptions, index_d$5_ListResponse as ListResponse, index_d$5_ListSchemaType as ListSchemaType, index_d$5_LoadingActions as LoadingActions, index_d$5_LoadingState as LoadingState, index_d$5_MergedBarConfig as MergedBarConfig, index_d$5_MergedEntityFieldMap as MergedEntityFieldMap, index_d$5_MetricDefinition as MetricDefinition, index_d$5_MobileBehaviorConfig as MobileBehaviorConfig, index_d$5_ModalActions as ModalActions, index_d$5_ModalState as ModalState, index_d$5_MutableMergedEntityFieldMap as MutableMergedEntityFieldMap, index_d$5_MutationResponse as MutationResponse, index_d$5_NavigationRoute as NavigationRoute, index_d$5_NetworkCheckConfig as NetworkCheckConfig, index_d$5_NetworkConnectionType as NetworkConnectionType, index_d$5_NetworkReconnectCallback as NetworkReconnectCallback, NetworkState$1 as NetworkState, index_d$5_NetworkStatus as NetworkStatus, index_d$5_NetworkStatusHookResult as NetworkStatusHookResult, index_d$5_OAuthAPI as OAuthAPI, index_d$5_OAuthApiRequestOptions as OAuthApiRequestOptions, index_d$5_OAuthCallbackHookResult as OAuthCallbackHookResult, index_d$5_OAuthConnection as OAuthConnection, index_d$5_OAuthConnectionInfo as OAuthConnectionInfo, index_d$5_OAuthConnectionRequest as OAuthConnectionRequest, index_d$5_OAuthConnectionStatus as OAuthConnectionStatus, index_d$5_OAuthCredentials as OAuthCredentials, index_d$5_OAuthEventData as OAuthEventData, index_d$5_OAuthEventKey as OAuthEventKey, index_d$5_OAuthEventName as OAuthEventName, index_d$5_OAuthPartner as OAuthPartner, index_d$5_OAuthPartnerHookResult as OAuthPartnerHookResult, index_d$5_OAuthPartnerId as OAuthPartnerId, index_d$5_OAuthPartnerResult as OAuthPartnerResult, index_d$5_OAuthPartnerState as OAuthPartnerState, index_d$5_OAuthPurpose as OAuthPurpose, index_d$5_OAuthRedirectOperation as OAuthRedirectOperation, index_d$5_OAuthRefreshRequest as OAuthRefreshRequest, index_d$5_OAuthRefreshResponse as OAuthRefreshResponse, index_d$5_OAuthResult as OAuthResult, index_d$5_OAuthStoreActions as OAuthStoreActions, index_d$5_OAuthStoreState as OAuthStoreState, index_d$5_Observable as Observable, index_d$5_OrderByClause as OrderByClause, index_d$5_OrderDirection as OrderDirection, index_d$5_OrderHookContext as OrderHookContext, index_d$5_PWAAssetType as PWAAssetType, index_d$5_PWADisplayMode as PWADisplayMode, index_d$5_PWAPluginConfig as PWAPluginConfig, index_d$5_PageAuth as PageAuth, index_d$5_PageMeta as PageMeta, index_d$5_PaginatedQueryResult as PaginatedQueryResult, index_d$5_PaginationOptions as PaginationOptions, index_d$5_PaidLineItem as PaidLineItem, index_d$5_PartnerConnectionState as PartnerConnectionState, index_d$5_PartnerIconId as PartnerIconId, index_d$5_PartnerId as PartnerId, index_d$5_PartnerResult as PartnerResult, index_d$5_PartnerType as PartnerType, index_d$5_PayloadCacheEventData as PayloadCacheEventData, index_d$5_PayloadDocument as PayloadDocument, index_d$5_PayloadDocumentEventData as PayloadDocumentEventData, index_d$5_PayloadEventKey as PayloadEventKey, index_d$5_PayloadEventName as PayloadEventName, index_d$5_PayloadGlobalEventData as PayloadGlobalEventData, index_d$5_PayloadMediaEventData as PayloadMediaEventData, index_d$5_PayloadPageRegenerationEventData as PayloadPageRegenerationEventData, index_d$5_PayloadRequest as PayloadRequest, index_d$5_PayloadUserEventData as PayloadUserEventData, index_d$5_PaymentEventData as PaymentEventData, index_d$5_PaymentMethod as PaymentMethod, index_d$5_PaymentMethodType as PaymentMethodType, index_d$5_PaymentMode as PaymentMode, index_d$5_Permission as Permission, index_d$5_Picture as Picture, index_d$5_Platform as Platform, index_d$5_PresetConfig as PresetConfig, index_d$5_PresetRegistry as PresetRegistry, index_d$5_ProcessPaymentSuccessRequest as ProcessPaymentSuccessRequest, index_d$5_ProcessPaymentSuccessResponse as ProcessPaymentSuccessResponse, index_d$5_ProductDeclaration as ProductDeclaration, index_d$5_ProviderInstances as ProviderInstances, index_d$5_QueryConfig as QueryConfig, index_d$5_QueryOptions as QueryOptions, index_d$5_QueryOrderBy as QueryOrderBy, index_d$5_QueryWhereClause as QueryWhereClause, index_d$5_RateLimitBackend as RateLimitBackend, index_d$5_RateLimitConfig as RateLimitConfig, index_d$5_RateLimitManager as RateLimitManager, index_d$5_RateLimitResult as RateLimitResult, index_d$5_RateLimitState as RateLimitState, index_d$5_RateLimiter as RateLimiter, index_d$5_ReadCallback as ReadCallback, index_d$5_RedirectOperation as RedirectOperation, index_d$5_RedirectOverlayActions as RedirectOverlayActions, index_d$5_RedirectOverlayConfig as RedirectOverlayConfig, index_d$5_RedirectOverlayPhase as RedirectOverlayPhase, index_d$5_RedirectOverlayState as RedirectOverlayState, index_d$5_Reference as Reference, index_d$5_RefreshSubscriptionRequest as RefreshSubscriptionRequest, index_d$5_RefreshSubscriptionResponse as RefreshSubscriptionResponse, index_d$5_RemoveCustomClaimsResponse as RemoveCustomClaimsResponse, index_d$5_ResolveLineItemsContext as ResolveLineItemsContext, index_d$5_ResolvedLayoutConfig as ResolvedLayoutConfig, index_d$5_ResolvedLineItem as ResolvedLineItem, index_d$5_ResolvedOrder as ResolvedOrder, index_d$5_ResolvedOrderSession as ResolvedOrderSession, index_d$5_RevokeGitHubAccessRequest as RevokeGitHubAccessRequest, index_d$5_RouteMeta as RouteMeta, index_d$5_RouteSource as RouteSource, index_d$5_RoutesPluginConfig as RoutesPluginConfig, index_d$5_SEOConfig as SEOConfig, index_d$5_SchemaMetadata as SchemaMetadata, index_d$5_ScopeConfig as ScopeConfig, index_d$5_SecurityContext as SecurityContext, index_d$5_SecurityEntityConfig as SecurityEntityConfig, index_d$5_SendEmailRequest as SendEmailRequest, index_d$5_SendEmailResponse as SendEmailResponse, index_d$5_SeoMeta as SeoMeta, index_d$5_ServerRateLimitConfig as ServerRateLimitConfig, index_d$5_ServerRateLimitResult as ServerRateLimitResult, index_d$5_ServerUserRecord as ServerUserRecord, index_d$5_SetCustomClaimsResponse as SetCustomClaimsResponse, index_d$5_SidebarZoneConfig as SidebarZoneConfig, index_d$5_SignUpMetadata as SignUpMetadata, index_d$5_SlotContent as SlotContent, index_d$5_StorageOptions as StorageOptions, index_d$5_StorageScope as StorageScope, index_d$5_StorageType as StorageType, index_d$5_Store as Store, index_d$5_StripeBackConfig as StripeBackConfig, index_d$5_StripeCheckoutProvider as StripeCheckoutProvider, index_d$5_StripeCheckoutRequest as StripeCheckoutRequest, index_d$5_StripeCheckoutResponse as StripeCheckoutResponse, index_d$5_StripeCheckoutSessionEventData as StripeCheckoutSessionEventData, index_d$5_StripeConfig as StripeConfig, index_d$5_StripeCustomer as StripeCustomer, index_d$5_StripeCustomerEventData as StripeCustomerEventData, index_d$5_StripeEventData as StripeEventData, index_d$5_StripeEventKey as StripeEventKey, index_d$5_StripeEventName as StripeEventName, index_d$5_StripeFrontConfig as StripeFrontConfig, index_d$5_StripeInvoice as StripeInvoice, index_d$5_StripeInvoiceEventData as StripeInvoiceEventData, index_d$5_StripeOrderBackItem as StripeOrderBackItem, index_d$5_StripePayment as StripePayment, index_d$5_StripePaymentBackItem as StripePaymentBackItem, index_d$5_StripePaymentIntentEventData as StripePaymentIntentEventData, index_d$5_StripePaymentMethod as StripePaymentMethod, index_d$5_StripePrice as StripePrice, index_d$5_StripeProduct as StripeProduct, index_d$5_StripeProvider as StripeProvider, index_d$5_StripeSubscription as StripeSubscription, index_d$5_StripeSubscriptionBackItem as StripeSubscriptionBackItem, index_d$5_StripeSubscriptionData as StripeSubscriptionData, index_d$5_StripeWebhookEvent as StripeWebhookEvent, index_d$5_StripeWebhookEventData as StripeWebhookEventData, index_d$5_Subscription as Subscription, index_d$5_SubscriptionClaims as SubscriptionClaims, index_d$5_SubscriptionConfig as SubscriptionConfig, index_d$5_SubscriptionData as SubscriptionData, index_d$5_SubscriptionDuration as SubscriptionDuration, index_d$5_SubscriptionEventData as SubscriptionEventData, index_d$5_SubscriptionHookResult as SubscriptionHookResult, index_d$5_SubscriptionInfo as SubscriptionInfo, index_d$5_SubscriptionStatus as SubscriptionStatus, index_d$5_SubscriptionTier as SubscriptionTier, index_d$5_SubscriptionUpdate as SubscriptionUpdate, index_d$5_SupportedLanguage as SupportedLanguage, index_d$5_ThemeActions as ThemeActions, index_d$5_ThemeInfo as ThemeInfo, index_d$5_ThemeMode as ThemeMode, index_d$5_ThemeState as ThemeState, index_d$5_ThemesPluginConfig as ThemesPluginConfig, index_d$5_TierAccessHookResult as TierAccessHookResult, index_d$5_Timestamp as Timestamp, index_d$5_TokenInfo as TokenInfo, index_d$5_TokenResponse as TokenResponse, index_d$5_TokenState as TokenState, index_d$5_TokenStatus as TokenStatus, index_d$5_TranslationOptions as TranslationOptions, index_d$5_TranslationResource as TranslationResource, index_d$5_UIFieldOptions as UIFieldOptions, index_d$5_UniqueConstraintValidator as UniqueConstraintValidator, index_d$5_UniqueKeyDefinition as UniqueKeyDefinition, index_d$5_UnsubscribeFn as UnsubscribeFn, index_d$5_UpdateEntityData as UpdateEntityData, index_d$5_UpdateEntityRequest as UpdateEntityRequest, index_d$5_UpdateEntityResponse as UpdateEntityResponse, index_d$5_UpdateSubscriptionFn as UpdateSubscriptionFn, index_d$5_UploadOptions as UploadOptions, index_d$5_UploadProgressCallback as UploadProgressCallback, index_d$5_UploadResult as UploadResult, index_d$5_UseFunctionsCallResult as UseFunctionsCallResult, index_d$5_UseFunctionsMutationOptions as UseFunctionsMutationOptions, index_d$5_UseFunctionsMutationResult as UseFunctionsMutationResult, index_d$5_UseFunctionsQueryOptions as UseFunctionsQueryOptions, index_d$5_UseFunctionsQueryResult as UseFunctionsQueryResult, index_d$5_UseTranslationOptionsEnhanced as UseTranslationOptionsEnhanced, index_d$5_UserContext as UserContext, index_d$5_UserProfile as UserProfile, index_d$5_UserProviderData as UserProviderData, index_d$5_UserRole as UserRole, index_d$5_UserSubscription as UserSubscription, index_d$5_ValidateBlockOptions as ValidateBlockOptions, index_d$5_ValidationRules as ValidationRules, index_d$5_ValueTypeForField as ValueTypeForField, index_d$5_VerifiedToken as VerifiedToken, index_d$5_Visibility as Visibility, index_d$5_WebhookEvent as WebhookEvent, index_d$5_WebhookEventData as WebhookEventData, index_d$5_WhereClause as WhereClause, index_d$5_WhereOperator as WhereOperator, index_d$5_WidgetDef as WidgetDef, index_d$5_WithMetadata as WithMetadata, index_d$5_dndevSchema as dndevSchema };
13563
14291
  }
13564
14292
 
13565
14293
  /**
@@ -19336,6 +20064,51 @@ declare function hasProvider(key: keyof DndevProviders): boolean;
19336
20064
  */
19337
20065
  declare function resetProviders(): void;
19338
20066
 
20067
+ /**
20068
+ * @fileoverview Request language resolution
20069
+ * @description One rule for the language of a render, shared by the server (cookie
20070
+ * header + Accept-Language) and the browser (document.cookie + navigator.languages),
20071
+ * so a server-rendered page and its hydration pick the same language.
20072
+ *
20073
+ * Order: the visitor's stored choice (language cookie) > their browser languages >
20074
+ * the app's fallback language.
20075
+ *
20076
+ * @version 0.1.0
20077
+ * @since 0.1.50
20078
+ * @author AMBROISE PARK Consulting
20079
+ */
20080
+ /**
20081
+ * Cookie holding the visitor's language (BCP-47 code). Written by the language store
20082
+ * on every resolution and change; read by the server to render in that language.
20083
+ * Functional cookie (interface preference), no consent required.
20084
+ */
20085
+ declare const LANGUAGE_COOKIE = "dndev-lang";
20086
+ /**
20087
+ * Value of one cookie in a `Cookie` header string (`a=1; b=2`).
20088
+ *
20089
+ * @returns The decoded value, or `null` when the cookie is absent
20090
+ */
20091
+ declare function readCookieValue(cookieHeader: string | null | undefined, name: string): string | null;
20092
+ /**
20093
+ * Language codes of an `Accept-Language` header, most preferred first
20094
+ * (`fr-FR,fr;q=0.9,en;q=0.8` → `['fr-FR', 'fr', 'en']`).
20095
+ */
20096
+ declare function parseAcceptLanguage(header: string | null | undefined): string[];
20097
+ /**
20098
+ * The language to render in.
20099
+ *
20100
+ * @param supported - Language codes the app ships
20101
+ * @param fallback - App fallback language (used when nothing else matches)
20102
+ * @param stored - The visitor's stored choice (language cookie), if any
20103
+ * @param preferred - The visitor's browser languages, most preferred first
20104
+ */
20105
+ declare function resolveLanguage({ supported, fallback, stored, preferred, }: {
20106
+ supported: readonly string[];
20107
+ fallback: string;
20108
+ stored?: string | null;
20109
+ preferred?: readonly string[];
20110
+ }): string;
20111
+
19339
20112
  /**
19340
20113
  * Get or create a singleton backed by `globalThis.__DNDEV_SINGLETONS__`.
19341
20114
  *
@@ -19932,7 +20705,6 @@ declare function withTimeout<T>(promise: Promise<T>, timeoutMs: number, signal?:
19932
20705
  * @since 0.0.1
19933
20706
  * @author AMBROISE PARK Consulting
19934
20707
  */
19935
- //# sourceMappingURL=index.d.ts.map
19936
20708
 
19937
20709
  declare const index_d$4_AUTH_COMPUTED_KEYS: typeof AUTH_COMPUTED_KEYS;
19938
20710
  declare const index_d$4_AUTH_STORE_KEYS: typeof AUTH_STORE_KEYS;
@@ -19989,6 +20761,7 @@ declare const index_d$4_HybridStorageStrategy: typeof HybridStorageStrategy;
19989
20761
  type index_d$4_IStorageManager = IStorageManager;
19990
20762
  type index_d$4_IntersectionObserverCallback = IntersectionObserverCallback;
19991
20763
  type index_d$4_IntersectionObserverOptions = IntersectionObserverOptions;
20764
+ declare const index_d$4_LANGUAGE_COOKIE: typeof LANGUAGE_COOKIE;
19992
20765
  type index_d$4_LocalStorageStrategy = LocalStorageStrategy;
19993
20766
  declare const index_d$4_LocalStorageStrategy: typeof LocalStorageStrategy;
19994
20767
  type index_d$4_LockoutResult = LockoutResult;
@@ -20144,13 +20917,16 @@ declare const index_d$4_mapToDoNotDevError: typeof mapToDoNotDevError;
20144
20917
  declare const index_d$4_maybeTranslate: typeof maybeTranslate;
20145
20918
  declare const index_d$4_normalizeToISOString: typeof normalizeToISOString;
20146
20919
  declare const index_d$4_observeElement: typeof observeElement;
20920
+ declare const index_d$4_parseAcceptLanguage: typeof parseAcceptLanguage;
20147
20921
  declare const index_d$4_parseDate: typeof parseDate;
20148
20922
  declare const index_d$4_parseDateToNoonUTC: typeof parseDateToNoonUTC;
20923
+ declare const index_d$4_readCookieValue: typeof readCookieValue;
20149
20924
  declare const index_d$4_redirectToExternalUrl: typeof redirectToExternalUrl;
20150
20925
  declare const index_d$4_redirectToExternalUrlWithErrorHandling: typeof redirectToExternalUrlWithErrorHandling;
20151
20926
  declare const index_d$4_removeLocalStorageItem: typeof removeLocalStorageItem;
20152
20927
  declare const index_d$4_resetProviders: typeof resetProviders;
20153
20928
  declare const index_d$4_resolveAppConfig: typeof resolveAppConfig;
20929
+ declare const index_d$4_resolveLanguage: typeof resolveLanguage;
20154
20930
  declare const index_d$4_safeLocalStorage: typeof safeLocalStorage;
20155
20931
  declare const index_d$4_safeSessionStorage: typeof safeSessionStorage;
20156
20932
  declare const index_d$4_safeValidate: typeof safeValidate;
@@ -20183,7 +20959,7 @@ declare const index_d$4_wrapAuthError: typeof wrapAuthError;
20183
20959
  declare const index_d$4_wrapCrudError: typeof wrapCrudError;
20184
20960
  declare const index_d$4_wrapStorageError: typeof wrapStorageError;
20185
20961
  declare namespace index_d$4 {
20186
- export { index_d$4_AUTH_COMPUTED_KEYS as AUTH_COMPUTED_KEYS, index_d$4_AUTH_STORE_KEYS as AUTH_STORE_KEYS, index_d$4_AuthHardening as AuthHardening, index_d$4_BILLING_STORE_KEYS as BILLING_STORE_KEYS, index_d$4_BaseStorageStrategy as BaseStorageStrategy, index_d$4_CONSENT_LEVELS as CONSENT_LEVELS, index_d$4_CURRENCY_MAP as CURRENCY_MAP, index_d$4_ClaimsCache as ClaimsCache, index_d$4_ConditionBuilder as ConditionBuilder, index_d$4_DEFAULT_CRUD_TIMEOUT as DEFAULT_CRUD_TIMEOUT, index_d$4_DEFAULT_ERROR_MESSAGES as DEFAULT_ERROR_MESSAGES, index_d$4_DEFAULT_UPLOAD_TIMEOUT as DEFAULT_UPLOAD_TIMEOUT, index_d$4_DEGRADED_AI_API as DEGRADED_AI_API, index_d$4_DEGRADED_AUTH_API as DEGRADED_AUTH_API, index_d$4_DEGRADED_BILLING_API as DEGRADED_BILLING_API, index_d$4_DEGRADED_CRUD_API as DEGRADED_CRUD_API, index_d$4_DEGRADED_OAUTH_API as DEGRADED_OAUTH_API, index_d$4_DoNotDevError as DoNotDevError, index_d$4_EventEmitter as EventEmitter, index_d$4_FRAMEWORK_FEATURES as FRAMEWORK_FEATURES, index_d$4_HybridStorageStrategy as HybridStorageStrategy, index_d$4_LocalStorageStrategy as LocalStorageStrategy, index_d$4_OAUTH_STORE_KEYS as OAUTH_STORE_KEYS, index_d$4_SingletonManager as SingletonManager, index_d$4_StorageManager as StorageManager, index_d$4_TokenManager as TokenManager, index_d$4_ViewportHandler as ViewportHandler, index_d$4_areFeaturesAvailable as areFeaturesAvailable, index_d$4_canRedirectExternally as canRedirectExternally, index_d$4_captureError as captureError, index_d$4_captureErrorToSentry as captureErrorToSentry, index_d$4_captureMessage as captureMessage, index_d$4_cleanupSentry as cleanupSentry, index_d$4_clearFeatureCache as clearFeatureCache, index_d$4_clearGlobalSingleton as clearGlobalSingleton, index_d$4_clearLocalStorage as clearLocalStorage, index_d$4_clearPartnerCache as clearPartnerCache, index_d$4_commonErrorCodeMappings as commonErrorCodeMappings, index_d$4_compactToISOString as compactToISOString, index_d$4_configureProviders as configureProviders, index_d$4_cooldown as cooldown, index_d$4_createAsyncSingleton as createAsyncSingleton, index_d$4_createErrorHandler as createErrorHandler, index_d$4_createMetadata as createMetadata, index_d$4_createMethodProxy as createMethodProxy, index_d$4_createSingleton as createSingleton, index_d$4_createSingletonWithParams as createSingletonWithParams, index_d$4_createViewportHandler as createViewportHandler, index_d$4_debounce as debounce, index_d$4_debugPlatformDetection as debugPlatformDetection, index_d$4_decryptData as decryptData, index_d$4_delay as delay, index_d$4_deleteCookie as deleteCookie, index_d$4_detectBrowser as detectBrowser, index_d$4_detectErrorSource as detectErrorSource, index_d$4_detectFeatures as detectFeatures, index_d$4_detectPlatform as detectPlatform, index_d$4_detectPlatformInfo as detectPlatformInfo, index_d$4_detectStorageError as detectStorageError, index_d$4_encryptData as encryptData, index_d$4_ensureSpreadable as ensureSpreadable, index_d$4_evaluateCondition as evaluateCondition, index_d$4_evaluateFieldConditions as evaluateFieldConditions, index_d$4_filterVisibleFields as filterVisibleFields, index_d$4_formatCookieList as formatCookieList, index_d$4_formatCurrency as formatCurrency, index_d$4_formatDate as formatDate, index_d$4_formatRelativeTime as formatRelativeTime, index_d$4_generateCodeChallenge as generateCodeChallenge, index_d$4_generateCodeVerifier as generateCodeVerifier, index_d$4_generateCompatibilityReport as generateCompatibilityReport, index_d$4_generateEncryptionKey as generateEncryptionKey, index_d$4_generateFirestoreRuleCondition as generateFirestoreRuleCondition, index_d$4_generatePKCEPair as generatePKCEPair, index_d$4_generateUUID as generateUUID, index_d$4_getActiveCookies as getActiveCookies, index_d$4_getAppShortName as getAppShortName, index_d$4_getAssetsConfig as getAssetsConfig, index_d$4_getAuthDomain as getAuthDomain, index_d$4_getAuthMethod as getAuthMethod, index_d$4_getAuthPartnerConfig as getAuthPartnerConfig, index_d$4_getAuthPartnerIdByFirebaseId as getAuthPartnerIdByFirebaseId, index_d$4_getAvailableFeatures as getAvailableFeatures, index_d$4_getBrowserRecommendations as getBrowserRecommendations, index_d$4_getConditionDependencies as getConditionDependencies, index_d$4_getConfigSection as getConfigSection, index_d$4_getConfigSource as getConfigSource, index_d$4_getCookie as getCookie, index_d$4_getCookieExamples as getCookieExamples, index_d$4_getCookiesByCategory as getCookiesByCategory, index_d$4_getCurrencyLocale as getCurrencyLocale, index_d$4_getCurrencySymbol as getCurrencySymbol, index_d$4_getCurrentOrigin as getCurrentOrigin, index_d$4_getCurrentTimestamp as getCurrentTimestamp, index_d$4_getDndevConfig as getDndevConfig, index_d$4_getEnabledAuthPartners as getEnabledAuthPartners, index_d$4_getEnabledOAuthPartners as getEnabledOAuthPartners, index_d$4_getEncryptionKey as getEncryptionKey, index_d$4_getFeatureSummary as getFeatureSummary, index_d$4_getGlobalSingleton as getGlobalSingleton, index_d$4_getI18nConfig as getI18nConfig, index_d$4_getListCardFieldNames as getListCardFieldNames, index_d$4_getLocalStorageItem as getLocalStorageItem, index_d$4_getNextEnvVar as getNextEnvVar, index_d$4_getOAuthClientId as getOAuthClientId, index_d$4_getOAuthPartnerConfig as getOAuthPartnerConfig, index_d$4_getOAuthRedirectUri as getOAuthRedirectUri, index_d$4_getOAuthRedirectUrl as getOAuthRedirectUrl, index_d$4_getPartnerCacheStatus as getPartnerCacheStatus, index_d$4_getPartnerConfig as getPartnerConfig, index_d$4_getPlatformEnvVar as getPlatformEnvVar, index_d$4_getProvider as getProvider, index_d$4_getProviderColor as getProviderColor, index_d$4_getRoleFromClaims as getRoleFromClaims, index_d$4_getRoutesConfig as getRoutesConfig, index_d$4_getStorageManager as getStorageManager, index_d$4_getThemesConfig as getThemesConfig, index_d$4_getTokenManager as getTokenManager, index_d$4_getValidAuthPartnerConfig as getValidAuthPartnerConfig, index_d$4_getValidAuthPartnerIds as getValidAuthPartnerIds, index_d$4_getValidOAuthPartnerConfig as getValidOAuthPartnerConfig, index_d$4_getValidOAuthPartnerIds as getValidOAuthPartnerIds, index_d$4_getVisibleFields as getVisibleFields, index_d$4_getVisibleItems as getVisibleItems, index_d$4_getViteEnvVar as getViteEnvVar, index_d$4_getWeekFromISOString as getWeekFromISOString, index_d$4_globalEmitter as globalEmitter, index_d$4_handleError as handleError, index_d$4_hasOptionalCookies as hasOptionalCookies, index_d$4_hasProvider as hasProvider, index_d$4_hasRestrictedVisibility as hasRestrictedVisibility, index_d$4_hasRoleAccess as hasRoleAccess, index_d$4_hasTierAccess as hasTierAccess, index_d$4_initSentry as initSentry, index_d$4_initializeConfig as initializeConfig, index_d$4_initializePlatformDetection as initializePlatformDetection, index_d$4_isAuthPartnerEnabled as isAuthPartnerEnabled, index_d$4_isClient as isClient, index_d$4_isCompactDateString as isCompactDateString, index_d$4_isConfigAvailable as isConfigAvailable, index_d$4_isDev as isDev, index_d$4_isElementInViewport as isElementInViewport, index_d$4_isEmailVerificationRequired as isEmailVerificationRequired, index_d$4_isExpo as isExpo, index_d$4_isFeatureAvailable as isFeatureAvailable, index_d$4_isFieldVisible as isFieldVisible, index_d$4_isIntersectionObserverSupported as isIntersectionObserverSupported, index_d$4_isLocalStorageAvailable as isLocalStorageAvailable, index_d$4_isNextJs as isNextJs, index_d$4_isOAuthPartnerEnabled as isOAuthPartnerEnabled, index_d$4_isPKCESupported as isPKCESupported, index_d$4_isPlatform as isPlatform, index_d$4_isReactNative as isReactNative, index_d$4_isServer as isServer, index_d$4_isTest as isTest, index_d$4_isVite as isVite, index_d$4_isoToCompactString as isoToCompactString, index_d$4_lazyImport as lazyImport, index_d$4_mapToDoNotDevError as mapToDoNotDevError, index_d$4_maybeTranslate as maybeTranslate, index_d$4_normalizeToISOString as normalizeToISOString, index_d$4_observeElement as observeElement, index_d$4_parseDate as parseDate, index_d$4_parseDateToNoonUTC as parseDateToNoonUTC, index_d$4_redirectToExternalUrl as redirectToExternalUrl, index_d$4_redirectToExternalUrlWithErrorHandling as redirectToExternalUrlWithErrorHandling, index_d$4_removeLocalStorageItem as removeLocalStorageItem, index_d$4_resetProviders as resetProviders, index_d$4_resolveAppConfig as resolveAppConfig, index_d$4_safeLocalStorage as safeLocalStorage, index_d$4_safeSessionStorage as safeSessionStorage, index_d$4_safeValidate as safeValidate, index_d$4_sanitizeHref as sanitizeHref, index_d$4_setCookie as setCookie, index_d$4_setLocalStorageItem as setLocalStorageItem, index_d$4_shouldShowEmailVerification as shouldShowEmailVerification, index_d$4_showNotification as showNotification, index_d$4_supportsFeature as supportsFeature, index_d$4_throttle as throttle, index_d$4_timestampToISOString as timestampToISOString, index_d$4_timingUtils as timingUtils, index_d$4_toDateOnly as toDateOnly, index_d$4_toISOString as toISOString, index_d$4_translateArray as translateArray, index_d$4_translateArrayRange as translateArrayRange, index_d$4_translateArrayWithIndices as translateArrayWithIndices, index_d$4_translateObjectArray as translateObjectArray, index_d$4_updateMetadata as updateMetadata, index_d$4_useSafeContext as useSafeContext, index_d$4_useStorageManager as useStorageManager, index_d$4_validateCodeChallenge as validateCodeChallenge, index_d$4_validateCodeVerifier as validateCodeVerifier, index_d$4_validateWithSchema as validateWithSchema, index_d$4_when as when, index_d$4_withErrorHandling as withErrorHandling, index_d$4_withGracefulDegradation as withGracefulDegradation, index_d$4_withTimeout as withTimeout, index_d$4_wrapAuthError as wrapAuthError, index_d$4_wrapCrudError as wrapCrudError, index_d$4_wrapStorageError as wrapStorageError };
20962
+ export { index_d$4_AUTH_COMPUTED_KEYS as AUTH_COMPUTED_KEYS, index_d$4_AUTH_STORE_KEYS as AUTH_STORE_KEYS, index_d$4_AuthHardening as AuthHardening, index_d$4_BILLING_STORE_KEYS as BILLING_STORE_KEYS, index_d$4_BaseStorageStrategy as BaseStorageStrategy, index_d$4_CONSENT_LEVELS as CONSENT_LEVELS, index_d$4_CURRENCY_MAP as CURRENCY_MAP, index_d$4_ClaimsCache as ClaimsCache, index_d$4_ConditionBuilder as ConditionBuilder, index_d$4_DEFAULT_CRUD_TIMEOUT as DEFAULT_CRUD_TIMEOUT, index_d$4_DEFAULT_ERROR_MESSAGES as DEFAULT_ERROR_MESSAGES, index_d$4_DEFAULT_UPLOAD_TIMEOUT as DEFAULT_UPLOAD_TIMEOUT, index_d$4_DEGRADED_AI_API as DEGRADED_AI_API, index_d$4_DEGRADED_AUTH_API as DEGRADED_AUTH_API, index_d$4_DEGRADED_BILLING_API as DEGRADED_BILLING_API, index_d$4_DEGRADED_CRUD_API as DEGRADED_CRUD_API, index_d$4_DEGRADED_OAUTH_API as DEGRADED_OAUTH_API, index_d$4_DoNotDevError as DoNotDevError, index_d$4_EventEmitter as EventEmitter, index_d$4_FRAMEWORK_FEATURES as FRAMEWORK_FEATURES, index_d$4_HybridStorageStrategy as HybridStorageStrategy, index_d$4_LANGUAGE_COOKIE as LANGUAGE_COOKIE, index_d$4_LocalStorageStrategy as LocalStorageStrategy, index_d$4_OAUTH_STORE_KEYS as OAUTH_STORE_KEYS, index_d$4_SingletonManager as SingletonManager, index_d$4_StorageManager as StorageManager, index_d$4_TokenManager as TokenManager, index_d$4_ViewportHandler as ViewportHandler, index_d$4_areFeaturesAvailable as areFeaturesAvailable, index_d$4_canRedirectExternally as canRedirectExternally, index_d$4_captureError as captureError, index_d$4_captureErrorToSentry as captureErrorToSentry, index_d$4_captureMessage as captureMessage, index_d$4_cleanupSentry as cleanupSentry, index_d$4_clearFeatureCache as clearFeatureCache, index_d$4_clearGlobalSingleton as clearGlobalSingleton, index_d$4_clearLocalStorage as clearLocalStorage, index_d$4_clearPartnerCache as clearPartnerCache, index_d$4_commonErrorCodeMappings as commonErrorCodeMappings, index_d$4_compactToISOString as compactToISOString, index_d$4_configureProviders as configureProviders, index_d$4_cooldown as cooldown, index_d$4_createAsyncSingleton as createAsyncSingleton, index_d$4_createErrorHandler as createErrorHandler, index_d$4_createMetadata as createMetadata, index_d$4_createMethodProxy as createMethodProxy, index_d$4_createSingleton as createSingleton, index_d$4_createSingletonWithParams as createSingletonWithParams, index_d$4_createViewportHandler as createViewportHandler, index_d$4_debounce as debounce, index_d$4_debugPlatformDetection as debugPlatformDetection, index_d$4_decryptData as decryptData, index_d$4_delay as delay, index_d$4_deleteCookie as deleteCookie, index_d$4_detectBrowser as detectBrowser, index_d$4_detectErrorSource as detectErrorSource, index_d$4_detectFeatures as detectFeatures, index_d$4_detectPlatform as detectPlatform, index_d$4_detectPlatformInfo as detectPlatformInfo, index_d$4_detectStorageError as detectStorageError, index_d$4_encryptData as encryptData, index_d$4_ensureSpreadable as ensureSpreadable, index_d$4_evaluateCondition as evaluateCondition, index_d$4_evaluateFieldConditions as evaluateFieldConditions, index_d$4_filterVisibleFields as filterVisibleFields, index_d$4_formatCookieList as formatCookieList, index_d$4_formatCurrency as formatCurrency, index_d$4_formatDate as formatDate, index_d$4_formatRelativeTime as formatRelativeTime, index_d$4_generateCodeChallenge as generateCodeChallenge, index_d$4_generateCodeVerifier as generateCodeVerifier, index_d$4_generateCompatibilityReport as generateCompatibilityReport, index_d$4_generateEncryptionKey as generateEncryptionKey, index_d$4_generateFirestoreRuleCondition as generateFirestoreRuleCondition, index_d$4_generatePKCEPair as generatePKCEPair, index_d$4_generateUUID as generateUUID, index_d$4_getActiveCookies as getActiveCookies, index_d$4_getAppShortName as getAppShortName, index_d$4_getAssetsConfig as getAssetsConfig, index_d$4_getAuthDomain as getAuthDomain, index_d$4_getAuthMethod as getAuthMethod, index_d$4_getAuthPartnerConfig as getAuthPartnerConfig, index_d$4_getAuthPartnerIdByFirebaseId as getAuthPartnerIdByFirebaseId, index_d$4_getAvailableFeatures as getAvailableFeatures, index_d$4_getBrowserRecommendations as getBrowserRecommendations, index_d$4_getConditionDependencies as getConditionDependencies, index_d$4_getConfigSection as getConfigSection, index_d$4_getConfigSource as getConfigSource, index_d$4_getCookie as getCookie, index_d$4_getCookieExamples as getCookieExamples, index_d$4_getCookiesByCategory as getCookiesByCategory, index_d$4_getCurrencyLocale as getCurrencyLocale, index_d$4_getCurrencySymbol as getCurrencySymbol, index_d$4_getCurrentOrigin as getCurrentOrigin, index_d$4_getCurrentTimestamp as getCurrentTimestamp, index_d$4_getDndevConfig as getDndevConfig, index_d$4_getEnabledAuthPartners as getEnabledAuthPartners, index_d$4_getEnabledOAuthPartners as getEnabledOAuthPartners, index_d$4_getEncryptionKey as getEncryptionKey, index_d$4_getFeatureSummary as getFeatureSummary, index_d$4_getGlobalSingleton as getGlobalSingleton, index_d$4_getI18nConfig as getI18nConfig, index_d$4_getListCardFieldNames as getListCardFieldNames, index_d$4_getLocalStorageItem as getLocalStorageItem, index_d$4_getNextEnvVar as getNextEnvVar, index_d$4_getOAuthClientId as getOAuthClientId, index_d$4_getOAuthPartnerConfig as getOAuthPartnerConfig, index_d$4_getOAuthRedirectUri as getOAuthRedirectUri, index_d$4_getOAuthRedirectUrl as getOAuthRedirectUrl, index_d$4_getPartnerCacheStatus as getPartnerCacheStatus, index_d$4_getPartnerConfig as getPartnerConfig, index_d$4_getPlatformEnvVar as getPlatformEnvVar, index_d$4_getProvider as getProvider, index_d$4_getProviderColor as getProviderColor, index_d$4_getRoleFromClaims as getRoleFromClaims, index_d$4_getRoutesConfig as getRoutesConfig, index_d$4_getStorageManager as getStorageManager, index_d$4_getThemesConfig as getThemesConfig, index_d$4_getTokenManager as getTokenManager, index_d$4_getValidAuthPartnerConfig as getValidAuthPartnerConfig, index_d$4_getValidAuthPartnerIds as getValidAuthPartnerIds, index_d$4_getValidOAuthPartnerConfig as getValidOAuthPartnerConfig, index_d$4_getValidOAuthPartnerIds as getValidOAuthPartnerIds, index_d$4_getVisibleFields as getVisibleFields, index_d$4_getVisibleItems as getVisibleItems, index_d$4_getViteEnvVar as getViteEnvVar, index_d$4_getWeekFromISOString as getWeekFromISOString, index_d$4_globalEmitter as globalEmitter, index_d$4_handleError as handleError, index_d$4_hasOptionalCookies as hasOptionalCookies, index_d$4_hasProvider as hasProvider, index_d$4_hasRestrictedVisibility as hasRestrictedVisibility, index_d$4_hasRoleAccess as hasRoleAccess, index_d$4_hasTierAccess as hasTierAccess, index_d$4_initSentry as initSentry, index_d$4_initializeConfig as initializeConfig, index_d$4_initializePlatformDetection as initializePlatformDetection, index_d$4_isAuthPartnerEnabled as isAuthPartnerEnabled, index_d$4_isClient as isClient, index_d$4_isCompactDateString as isCompactDateString, index_d$4_isConfigAvailable as isConfigAvailable, index_d$4_isDev as isDev, index_d$4_isElementInViewport as isElementInViewport, index_d$4_isEmailVerificationRequired as isEmailVerificationRequired, index_d$4_isExpo as isExpo, index_d$4_isFeatureAvailable as isFeatureAvailable, index_d$4_isFieldVisible as isFieldVisible, index_d$4_isIntersectionObserverSupported as isIntersectionObserverSupported, index_d$4_isLocalStorageAvailable as isLocalStorageAvailable, index_d$4_isNextJs as isNextJs, index_d$4_isOAuthPartnerEnabled as isOAuthPartnerEnabled, index_d$4_isPKCESupported as isPKCESupported, index_d$4_isPlatform as isPlatform, index_d$4_isReactNative as isReactNative, index_d$4_isServer as isServer, index_d$4_isTest as isTest, index_d$4_isVite as isVite, index_d$4_isoToCompactString as isoToCompactString, index_d$4_lazyImport as lazyImport, index_d$4_mapToDoNotDevError as mapToDoNotDevError, index_d$4_maybeTranslate as maybeTranslate, index_d$4_normalizeToISOString as normalizeToISOString, index_d$4_observeElement as observeElement, index_d$4_parseAcceptLanguage as parseAcceptLanguage, index_d$4_parseDate as parseDate, index_d$4_parseDateToNoonUTC as parseDateToNoonUTC, index_d$4_readCookieValue as readCookieValue, index_d$4_redirectToExternalUrl as redirectToExternalUrl, index_d$4_redirectToExternalUrlWithErrorHandling as redirectToExternalUrlWithErrorHandling, index_d$4_removeLocalStorageItem as removeLocalStorageItem, index_d$4_resetProviders as resetProviders, index_d$4_resolveAppConfig as resolveAppConfig, index_d$4_resolveLanguage as resolveLanguage, index_d$4_safeLocalStorage as safeLocalStorage, index_d$4_safeSessionStorage as safeSessionStorage, index_d$4_safeValidate as safeValidate, index_d$4_sanitizeHref as sanitizeHref, index_d$4_setCookie as setCookie, index_d$4_setLocalStorageItem as setLocalStorageItem, index_d$4_shouldShowEmailVerification as shouldShowEmailVerification, index_d$4_showNotification as showNotification, index_d$4_supportsFeature as supportsFeature, index_d$4_throttle as throttle, index_d$4_timestampToISOString as timestampToISOString, index_d$4_timingUtils as timingUtils, index_d$4_toDateOnly as toDateOnly, index_d$4_toISOString as toISOString, index_d$4_translateArray as translateArray, index_d$4_translateArrayRange as translateArrayRange, index_d$4_translateArrayWithIndices as translateArrayWithIndices, index_d$4_translateObjectArray as translateObjectArray, index_d$4_updateMetadata as updateMetadata, index_d$4_useSafeContext as useSafeContext, index_d$4_useStorageManager as useStorageManager, index_d$4_validateCodeChallenge as validateCodeChallenge, index_d$4_validateCodeVerifier as validateCodeVerifier, index_d$4_validateWithSchema as validateWithSchema, index_d$4_when as when, index_d$4_withErrorHandling as withErrorHandling, index_d$4_withGracefulDegradation as withGracefulDegradation, index_d$4_withTimeout as withTimeout, index_d$4_wrapAuthError as wrapAuthError, index_d$4_wrapCrudError as wrapCrudError, index_d$4_wrapStorageError as wrapStorageError };
20187
20963
  export type { index_d$4_AuthHardeningConfig as AuthHardeningConfig, index_d$4_AuthUserLike as AuthUserLike, index_d$4_BrowserEngine as BrowserEngine, index_d$4_BrowserInfo as BrowserInfo, index_d$4_BrowserType as BrowserType, index_d$4_Claims as Claims, index_d$4_ClaimsCacheOptions as ClaimsCacheOptions, index_d$4_ClaimsCacheResult as ClaimsCacheResult, index_d$4_CleanupFunction as CleanupFunction, index_d$4_CompatibilityReport as CompatibilityReport, index_d$4_ConsentLevel as ConsentLevel, index_d$4_CookieInfo as CookieInfo, index_d$4_CurrencyEntry as CurrencyEntry, index_d$4_DateFormatOptions as DateFormatOptions, index_d$4_DateFormatPreset as DateFormatPreset, index_d$4_ErrorHandlerConfig as ErrorHandlerConfig, index_d$4_ErrorHandlerFunction as ErrorHandlerFunction, index_d$4_EventListener as EventListener, index_d$4_FeatureAvailability as FeatureAvailability, index_d$4_FeatureSupport as FeatureSupport, index_d$4_FilterVisibleFieldsOptions as FilterVisibleFieldsOptions, index_d$4_FrameworkFeature as FrameworkFeature, index_d$4_GetVisibleFieldsOptions as GetVisibleFieldsOptions, index_d$4_HandleErrorOptions as HandleErrorOptions, index_d$4_IStorageManager as IStorageManager, index_d$4_IntersectionObserverCallback as IntersectionObserverCallback, index_d$4_IntersectionObserverOptions as IntersectionObserverOptions, index_d$4_LockoutResult as LockoutResult, index_d$4_OS as OS, index_d$4_PlatformInfo as PlatformInfo, index_d$4_StorageError as StorageError, index_d$4_StorageErrorType as StorageErrorType, index_d$4_StorageOptions as StorageOptions, index_d$4_TokenManagerOptions as TokenManagerOptions, index_d$4_ViewportDetectionOptions as ViewportDetectionOptions, index_d$4_ViewportDetectionResult as ViewportDetectionResult };
20188
20964
  }
20189
20965
 
@@ -21189,7 +21965,6 @@ declare const useThemeReady: () => boolean;
21189
21965
  * @since 0.0.1
21190
21966
  * @author AMBROISE PARK Consulting
21191
21967
  */
21192
- //# sourceMappingURL=index.d.ts.map
21193
21968
 
21194
21969
  type index_d$3_BreakpointAPI = BreakpointAPI;
21195
21970
  type index_d$3_DoNotDevStore = DoNotDevStore;
@@ -22167,7 +22942,6 @@ declare function validateEvent(event: unknown, widgetKind: string): ValidateResu
22167
22942
  * @since 0.0.1
22168
22943
  * @author AMBROISE PARK Consulting
22169
22944
  */
22170
- //# sourceMappingURL=index.d.ts.map
22171
22945
 
22172
22946
  declare const index_d$2_BACKEND_GENERATED_FIELD_NAMES: typeof BACKEND_GENERATED_FIELD_NAMES;
22173
22947
  type index_d$2_BackendGeneratedField = BackendGeneratedField;
@@ -23672,6 +24446,28 @@ declare function useFaviconConfig(): FaviconConfig | false | undefined;
23672
24446
  */
23673
24447
  declare function useFeaturesConfig(): FeaturesConfig;
23674
24448
 
24449
+ /**
24450
+ * Provides the request's auth session snapshot (`null` = unknown).
24451
+ *
24452
+ * @version 0.1.0
24453
+ * @since 0.1.50
24454
+ * @author AMBROISE PARK Consulting
24455
+ */
24456
+ declare function AuthSessionProvider({ snapshot, children, }: {
24457
+ snapshot: AuthSessionSnapshot | null;
24458
+ children: ReactNode;
24459
+ }): react.JSX.Element;
24460
+ /**
24461
+ * The request's auth session snapshot, or `null` when the cookies cannot tell
24462
+ * (no provider, or an auth provider that does not keep its session in cookies).
24463
+ * Display only, and only meaningful until the auth provider is ready.
24464
+ *
24465
+ * @version 0.1.0
24466
+ * @since 0.1.50
24467
+ * @author AMBROISE PARK Consulting
24468
+ */
24469
+ declare function useAuthSessionSnapshot(): AuthSessionSnapshot | null;
24470
+
23675
24471
  /**
23676
24472
  * @fileoverview Core hooks package
23677
24473
  * @description React hooks for DoNotDev framework
@@ -23681,11 +24477,11 @@ declare function useFeaturesConfig(): FeaturesConfig;
23681
24477
  * @since 0.0.1
23682
24478
  * @author AMBROISE PARK Consulting
23683
24479
  */
23684
- //# sourceMappingURL=index.d.ts.map
23685
24480
 
23686
24481
  declare const index_d$1_AppConfigContext: typeof AppConfigContext;
23687
24482
  declare const index_d$1_AppConfigProvider: typeof AppConfigProvider;
23688
24483
  type index_d$1_AppConfigProviderProps = AppConfigProviderProps;
24484
+ declare const index_d$1_AuthSessionProvider: typeof AuthSessionProvider;
23689
24485
  declare const index_d$1_MutationOptions: typeof MutationOptions;
23690
24486
  declare const index_d$1_QueryClient: typeof QueryClient;
23691
24487
  declare const index_d$1_QueryClientProvider: typeof QueryClientProvider;
@@ -23715,6 +24511,7 @@ type index_d$1_UseViewportVisibilityReturn = UseViewportVisibilityReturn;
23715
24511
  declare const index_d$1_getQueryClient: typeof getQueryClient;
23716
24512
  declare const index_d$1_useAppConfig: typeof useAppConfig;
23717
24513
  declare const index_d$1_useAuthConfig: typeof useAuthConfig;
24514
+ declare const index_d$1_useAuthSessionSnapshot: typeof useAuthSessionSnapshot;
23718
24515
  declare const index_d$1_useBreathingTimer: typeof useBreathingTimer;
23719
24516
  declare const index_d$1_useClickOutside: typeof useClickOutside;
23720
24517
  declare const index_d$1_useDebounce: typeof useDebounce;
@@ -23731,19 +24528,24 @@ declare const index_d$1_useScriptLoader: typeof useScriptLoader;
23731
24528
  declare const index_d$1_useSeoConfig: typeof useSeoConfig;
23732
24529
  declare const index_d$1_useViewportVisibility: typeof useViewportVisibility;
23733
24530
  declare namespace index_d$1 {
23734
- export { index_d$1_AppConfigContext as AppConfigContext, index_d$1_AppConfigProvider as AppConfigProvider, index_d$1_MutationOptions as MutationOptions, index_d$1_QueryClient as QueryClient, index_d$1_QueryClientProvider as QueryClientProvider, index_d$1_QueryClientProviderProps as QueryClientProviderProps, index_d$1_QueryFunction as QueryFunction, index_d$1_QueryKey as QueryKey, index_d$1_QueryProviders as QueryProviders, index_d$1_UseMutationOptions as UseMutationOptions, index_d$1_UseMutationResult as UseMutationResult, index_d$1_UseQueryOptions as UseQueryOptions, index_d$1_UseQueryResult as UseQueryResult, index_d$1_getQueryClient as getQueryClient, index_d$1_useAppConfig as useAppConfig, index_d$1_useAuthConfig as useAuthConfig, index_d$1_useBreathingTimer as useBreathingTimer, index_d$1_useClickOutside as useClickOutside, index_d$1_useDebounce as useDebounce, index_d$1_useEventListener as useEventListener, index_d$1_useFaviconConfig as useFaviconConfig, index_d$1_useFeaturesConfig as useFeaturesConfig, index_d$1_useIntersectionObserver as useIntersectionObserver, index_d$1_useIsClient as useIsClient, index_d$1_useLocalStorage as useLocalStorage, index_d$1_useMutation as useMutation, index_d$1_useQuery as useQuery, index_d$1_useQueryClient as useQueryClient, index_d$1_useScriptLoader as useScriptLoader, index_d$1_useSeoConfig as useSeoConfig, index_d$1_useViewportVisibility as useViewportVisibility };
24531
+ export { index_d$1_AppConfigContext as AppConfigContext, index_d$1_AppConfigProvider as AppConfigProvider, index_d$1_AuthSessionProvider as AuthSessionProvider, index_d$1_MutationOptions as MutationOptions, index_d$1_QueryClient as QueryClient, index_d$1_QueryClientProvider as QueryClientProvider, index_d$1_QueryClientProviderProps as QueryClientProviderProps, index_d$1_QueryFunction as QueryFunction, index_d$1_QueryKey as QueryKey, index_d$1_QueryProviders as QueryProviders, index_d$1_UseMutationOptions as UseMutationOptions, index_d$1_UseMutationResult as UseMutationResult, index_d$1_UseQueryOptions as UseQueryOptions, index_d$1_UseQueryResult as UseQueryResult, index_d$1_getQueryClient as getQueryClient, index_d$1_useAppConfig as useAppConfig, index_d$1_useAuthConfig as useAuthConfig, index_d$1_useAuthSessionSnapshot as useAuthSessionSnapshot, index_d$1_useBreathingTimer as useBreathingTimer, index_d$1_useClickOutside as useClickOutside, index_d$1_useDebounce as useDebounce, index_d$1_useEventListener as useEventListener, index_d$1_useFaviconConfig as useFaviconConfig, index_d$1_useFeaturesConfig as useFeaturesConfig, index_d$1_useIntersectionObserver as useIntersectionObserver, index_d$1_useIsClient as useIsClient, index_d$1_useLocalStorage as useLocalStorage, index_d$1_useMutation as useMutation, index_d$1_useQuery as useQuery, index_d$1_useQueryClient as useQueryClient, index_d$1_useScriptLoader as useScriptLoader, index_d$1_useSeoConfig as useSeoConfig, index_d$1_useViewportVisibility as useViewportVisibility };
23735
24532
  export type { index_d$1_AppConfigProviderProps as AppConfigProviderProps, index_d$1_UseClickOutsideOptions as UseClickOutsideOptions, index_d$1_UseClickOutsideReturn as UseClickOutsideReturn, index_d$1_UseDebounceOptions as UseDebounceOptions, index_d$1_UseEventListenerOptions as UseEventListenerOptions, index_d$1_UseEventListenerReturn as UseEventListenerReturn, index_d$1_UseIntersectionObserverOptions as UseIntersectionObserverOptions, index_d$1_UseIntersectionObserverReturn as UseIntersectionObserverReturn, index_d$1_UseLocalStorageOptions as UseLocalStorageOptions, index_d$1_UseLocalStorageReturn as UseLocalStorageReturn, index_d$1_UseMutationOptionsWithErrorHandling as UseMutationOptionsWithErrorHandling, index_d$1_UseQueryOptionsWithErrorHandling as UseQueryOptionsWithErrorHandling, index_d$1_UseScriptLoaderOptions as UseScriptLoaderOptions, index_d$1_UseScriptLoaderReturn as UseScriptLoaderReturn, index_d$1_UseViewportVisibilityOptions as UseViewportVisibilityOptions, index_d$1_UseViewportVisibilityReturn as UseViewportVisibilityReturn };
23736
24533
  }
23737
24534
 
23738
24535
  /**
23739
- * @fileoverview useTranslation hook
23740
- * @description React hook for accessing translation functionality
24536
+ * Provides the request language to `useTranslation` for the server render and the
24537
+ * client's hydration pass. Rendered by the Next providers with the language resolved
24538
+ * from the request (language cookie, Accept-Language); the same props reach the
24539
+ * client, so both passes translate identically.
23741
24540
  *
23742
24541
  * @version 0.1.0
23743
- * @since 0.0.1
24542
+ * @since 0.1.50
23744
24543
  * @author AMBROISE PARK Consulting
23745
24544
  */
23746
-
24545
+ declare function RequestLanguageProvider({ language, children, }: {
24546
+ language: string;
24547
+ children: ReactNode;
24548
+ }): react.FunctionComponentElement<react.ProviderProps<string | null>>;
23747
24549
  /**
23748
24550
  * Translation hook result interface
23749
24551
  * @public
@@ -23755,8 +24557,14 @@ declare namespace index_d$1 {
23755
24557
  interface UseTranslationResult {
23756
24558
  /** Translation function with interpolation support */
23757
24559
  t: TFunction;
23758
- /** i18next instance for advanced usage */
24560
+ /** i18next instance for advanced usage (null during the server render and hydration pass) */
23759
24561
  i18n: any;
24562
+ /**
24563
+ * Current language, available during the server render too: the request language
24564
+ * on the server and the hydration pass, then the live i18next language. Use it for
24565
+ * locale-aware formatting (prices, dates) so the first paint is final.
24566
+ */
24567
+ language: string;
23760
24568
  /** Whether translations are ready for use */
23761
24569
  ready: boolean;
23762
24570
  /** Whether language switching is in progress */
@@ -23770,8 +24578,11 @@ interface UseTranslationResult {
23770
24578
  * **Architecture**: Uses singleton pattern for clean instance management.
23771
24579
  * The singleton handles all initialization, this hook just provides the translation function.
23772
24580
  *
23773
- * **SSR Safety**: Uses useIsClient hook to prevent hydration mismatches in Next.js.
23774
- * Server always returns fallbacks, client provides actual translations.
24581
+ * **SSR Safety**: The server render and the client's hydration pass translate in the
24582
+ * request language (RequestLanguageProvider), from the inline `content` both sides load
24583
+ * synchronously. Both passes produce the same text, so the first paint is translated
24584
+ * and hydration matches. After hydration the live instance takes over; it starts in the
24585
+ * same language (language cookie, see getInitialLanguage).
23775
24586
  *
23776
24587
  * **Performance**: Stable references, minimal re-renders, efficient memoization.
23777
24588
  *
@@ -23805,11 +24616,9 @@ interface UseTranslationResult {
23805
24616
  *
23806
24617
  * @example
23807
24618
  * ```tsx
23808
- * // Array translations - use indexed access
24619
+ * // Array translations
23809
24620
  * const { t } = useTranslation('features');
23810
- * const benefits = [0, 1, 2]
23811
- * .map(i => t(`benefits.${i}`))
23812
- * .filter(text => text && !text.startsWith('['));
24621
+ * const benefits = t('benefits', { returnObjects: true }) as unknown as string[];
23813
24622
  * ```
23814
24623
  *
23815
24624
  * @public
@@ -23853,7 +24662,6 @@ declare function useI18nReady(): boolean;
23853
24662
  * HMR-safe: Store instance globally to survive module reloads
23854
24663
  */
23855
24664
  declare const getI18nInstance: () => i18n;
23856
- //# sourceMappingURL=instance.vite.d.ts.map
23857
24665
 
23858
24666
  /**
23859
24667
  * Props for LanguageSelector component
@@ -24260,6 +25068,20 @@ type LanguageInfo = LanguageData;
24260
25068
  */
24261
25069
  declare function getSupportedLanguages(): LanguageInfo[];
24262
25070
 
25071
+ /**
25072
+ * Language of a request, from its `Cookie` and `Accept-Language` headers: language
25073
+ * cookie > Accept-Language > fallback. Pure on its inputs, so the server render and
25074
+ * the client's hydration pass (given the same header values as props) agree.
25075
+ *
25076
+ * @param cookieHeader - The request's `Cookie` header
25077
+ * @param acceptLanguage - The request's `Accept-Language` header
25078
+ *
25079
+ * @version 0.1.0
25080
+ * @since 0.1.50
25081
+ * @author AMBROISE PARK Consulting
25082
+ */
25083
+ declare function getRequestLanguage(cookieHeader: string | null | undefined, acceptLanguage: string | null | undefined): string;
25084
+
24263
25085
  /**
24264
25086
  * @fileoverview Flag Base Component Factory
24265
25087
  * @description Base component factory and type definitions for creating flag components with consistent sizing and styling.
@@ -24296,7 +25118,6 @@ declare function hasFlag(code: string): boolean;
24296
25118
  * @since 0.0.1
24297
25119
  * @author AMBROISE PARK Consulting
24298
25120
  */
24299
- //# sourceMappingURL=index.d.ts.map
24300
25121
 
24301
25122
  declare const index_d_COUNTRIES: typeof COUNTRIES;
24302
25123
  type index_d_CountryData = CountryData;
@@ -24313,6 +25134,7 @@ declare const index_d_LanguageSelector: typeof LanguageSelector;
24313
25134
  type index_d_LanguageSelectorProps = LanguageSelectorProps;
24314
25135
  declare const index_d_LanguageToggleGroup: typeof LanguageToggleGroup;
24315
25136
  type index_d_LanguageToggleGroupProps = LanguageToggleGroupProps;
25137
+ declare const index_d_RequestLanguageProvider: typeof RequestLanguageProvider;
24316
25138
  declare const index_d_TRANS_TAGS: typeof TRANS_TAGS;
24317
25139
  type index_d_ToggleOrientation = ToggleOrientation;
24318
25140
  type index_d_ToggleSize = ToggleSize;
@@ -24322,15 +25144,16 @@ declare const index_d_TranslatedText: typeof TranslatedText;
24322
25144
  declare const index_d_getCountries: typeof getCountries;
24323
25145
  declare const index_d_getFlagCodes: typeof getFlagCodes;
24324
25146
  declare const index_d_getI18nInstance: typeof getI18nInstance;
25147
+ declare const index_d_getRequestLanguage: typeof getRequestLanguage;
24325
25148
  declare const index_d_getSupportedLanguages: typeof getSupportedLanguages;
24326
25149
  declare const index_d_hasFlag: typeof hasFlag;
24327
25150
  declare const index_d_useI18nReady: typeof useI18nReady;
24328
25151
  declare const index_d_useLanguageSelector: typeof useLanguageSelector;
24329
25152
  declare const index_d_useTranslation: typeof useTranslation;
24330
25153
  declare namespace index_d {
24331
- export { index_d_COUNTRIES as COUNTRIES, index_d_FAQSection as FAQSection, index_d_Flag as Flag, index_d_LANGUAGES as LANGUAGES, index_d_LanguageFAB as LanguageFAB, index_d_LanguageSelector as LanguageSelector, index_d_LanguageToggleGroup as LanguageToggleGroup, index_d_TRANS_TAGS as TRANS_TAGS, index_d_Trans as Trans, index_d_TranslatedText as TranslatedText, index_d_getCountries as getCountries, index_d_getFlagCodes as getFlagCodes, index_d_getI18nInstance as getI18nInstance, index_d_getSupportedLanguages as getSupportedLanguages, index_d_hasFlag as hasFlag, index_d_useI18nReady as useI18nReady, index_d_useLanguageSelector as useLanguageSelector, index_d_useTranslation as useTranslation };
25154
+ export { index_d_COUNTRIES as COUNTRIES, index_d_FAQSection as FAQSection, index_d_Flag as Flag, index_d_LANGUAGES as LANGUAGES, index_d_LanguageFAB as LanguageFAB, index_d_LanguageSelector as LanguageSelector, index_d_LanguageToggleGroup as LanguageToggleGroup, index_d_RequestLanguageProvider as RequestLanguageProvider, index_d_TRANS_TAGS as TRANS_TAGS, index_d_Trans as Trans, index_d_TranslatedText as TranslatedText, index_d_getCountries as getCountries, index_d_getFlagCodes as getFlagCodes, index_d_getI18nInstance as getI18nInstance, index_d_getRequestLanguage as getRequestLanguage, index_d_getSupportedLanguages as getSupportedLanguages, index_d_hasFlag as hasFlag, index_d_useI18nReady as useI18nReady, index_d_useLanguageSelector as useLanguageSelector, index_d_useTranslation as useTranslation };
24332
25155
  export type { index_d_CountryData as CountryData, index_d_DoNotDevTransProps as DoNotDevTransProps, index_d_FAQSectionProps as FAQSectionProps, index_d_LanguageData as LanguageData, index_d_LanguageFABFormat as LanguageFABFormat, index_d_LanguageFABProps as LanguageFABProps, index_d_LanguageSelectorProps as LanguageSelectorProps, index_d_LanguageToggleGroupProps as LanguageToggleGroupProps, index_d_ToggleOrientation as ToggleOrientation, index_d_ToggleSize as ToggleSize, index_d_TransTag as TransTag };
24333
25156
  }
24334
25157
 
24335
- export { AGGREGATE_FILTER_OPERATORS, AGGREGATE_OPERATIONS, AIChatRequestSchema, AIChatResponseSchema, AIMessageSchema, AIProviderConfigSchema, AIToolCallSchema, AIToolDefinitionSchema, AIUsageSchema, AI_ERROR_CODES, AI_MODELS, AI_PROVIDERS, AI_ROLES, AI_TIERS, AI_TOKEN_PRICING, AUTH_COMPUTED_KEYS, AUTH_EVENTS, AUTH_PARTNERS, AUTH_PARTNER_STATE, AUTH_STORE_KEYS, AppConfigContext, AppConfigProvider, AuthHardening, AuthUserSchema, BACKEND_GENERATED_FIELD_NAMES, BILLING_EVENTS, BILLING_STORE_KEYS, BREAKPOINT_RANGES, BREAKPOINT_THRESHOLDS, BaseStorageStrategy, BulkAcrossCycleError, BulkCollisionError, BulkDeleteIdSchema, BulkInsertSchema, BulkNotImplementedError, BulkRequestSchema, BulkResponseSchema, BulkUpdateSchema, COMMON_TIER_CONFIGS, CONFIDENCE_LEVELS, CONSENT_CATEGORY, CONSENT_LEVELS, CONTEXTS, COUNTRIES, CRUD_OPERATORS, CURRENCY_MAP, CanvasBlockSchema, CanvasEventSchema, CanvasLifetimeSchema, CanvasWidgetMetadataSchema, CheckoutSessionMetadataSchema, ClaimsCache, ConditionBuilder, CreateCheckoutSessionRequestSchema, CreateCheckoutSessionResponseSchema, CustomClaimsSchema, DEFAULT_AI_CONFIG, DEFAULT_AI_MARKUP, DEFAULT_CRUD_TIMEOUT, DEFAULT_ENTITY_ACCESS, DEFAULT_ERROR_MESSAGES, DEFAULT_LAYOUT_PRESET, DEFAULT_STATUS_OPTIONS, DEFAULT_STATUS_VALUE, DEFAULT_SUBSCRIPTION, DEFAULT_UPLOAD_TIMEOUT, DEGRADED_AI_API, DEGRADED_AUTH_API, DEGRADED_BILLING_API, DEGRADED_CRUD_API, DEGRADED_OAUTH_API, DENSITY, DoNotDevError, EDITABLE, EMAIL_ERROR_CODES, EMAIL_PROVIDERS, EMAIL_VERIFICATION_STATUS, ENTITY_HOOK_ERRORS, ENVIRONMENTS, ERROR_CODES, ERROR_SEVERITY, ERROR_SOURCE, EntityHookError, EventEmitter, FAQSection, FEATURES, FEATURE_CONSENT_MATRIX, FEATURE_STATUS, FIELD_TYPES, FIREBASE_ERROR_MAP, FOOTER_MODE, FRAMEWORK_FEATURES, Flag, GITHUB_PERMISSION_LEVELS, HIDDEN_STATUSES, index_d$1 as Hooks, HybridStorageStrategy, index_d as I18n, LANGUAGES, LAYOUT_PRESET, LIST_SCHEMA_TYPE, LanguageFAB, LanguageSelector, LanguageToggleGroup, LocalStorageStrategy, OAUTH_EVENTS, OAUTH_PARTNERS, OAUTH_STORE_KEYS, ORDER_DIRECTION, PARTNER_ICONS, PAYLOAD_EVENTS, PERMISSIONS, PLATFORMS, PWA_ASSET_TYPES, PWA_DISPLAY_MODES, ProductDeclarationSchema, ProductDeclarationsSchema, ProxiedImageUrlSchema, QueryProviders, ROUTE_SOURCES, STORAGE_SCOPES, STORAGE_TYPES, STRIPE_EVENTS, STRIPE_MODES, SUBSCRIPTION_DURATIONS, SUBSCRIPTION_STATUS, SUBSCRIPTION_TIERS, index_d$2 as Schemas, SendEmailRequestSchema, SendEmailResponseSchema, SingletonManager, StorageManager, index_d$3 as Stores, StripeBackConfigSchema, StripeFrontConfigSchema, StripePaymentSchema, StripeSubscriptionSchema, SubscriptionClaimsSchema, SubscriptionDataSchema, TECHNICAL_FIELD_NAMES, TRANS_TAGS, TokenManager, Trans, TranslatedText, index_d$5 as Types, USER_ROLES, UserSubscriptionSchema, index_d$4 as Utils, VISIBILITY, ViewportHandler, WebhookEventSchema, addressSchema, applyTheme, areFeaturesAvailable, arraySchema, baseFields, booleanSchema, buildRoutePath, canRedirectExternally, captureError, captureErrorToSentry, captureMessage, checkGitHubAccessSchema, cleanupSentry, clearFeatureCache, clearGlobalSingleton, clearLocalStorage, clearPartnerCache, clearSchemaGenerators, clearScopeProviders, commonErrorCodeMappings, compactToISOString, configureProviders, cooldown, createAsyncSingleton, createDefaultSubscriptionClaims, createDefaultUserProfile, createDoNotDevStore, createEntitySchema, createErrorHandler, createMetadata, createMethodProxy, createSchemas, createSingleton, createSingletonWithParams, createViewportHandler, dateSchema, debounce, debugPlatformDetection, decryptData, defineEntity, delay, deleteCookie, deleteEntitySchema, detectBrowser, detectBulkCollisions, detectErrorSource, detectFeatures, detectPlatform, detectPlatformInfo, detectStorageError, disconnectOAuthSchema, emailSchema, encryptData, enhanceSchema, ensureSpreadable, evaluateCondition, evaluateFieldConditions, exchangeTokenSchema, extractRoutePath, fileSchema, filesSchema, filterVisibleFields, formatCookieList, formatCurrency, formatDate, formatRelativeTime, gdprConsentSchema, generateCodeChallenge, generateCodeVerifier, generateCompatibilityReport, generateEncryptionKey, generateFirestoreRuleCondition, generatePKCEPair, generateUUID, geopointSchema, getActiveCookies, getAppShortName, getAssetsConfig, getAuthDomain, getAuthMethod, getAuthPartnerConfig, getAuthPartnerIdByFirebaseId, getAvailableFeatures, getAvailableThemeNames, getAvailableThemes, getBreakpointFromWidth, getBreakpointUtils, getBrowserRecommendations, getCollectionName, getConditionDependencies, getConfigSection, getConfigSource, getConnectionsSchema, getCookie, getCookieExamples, getCookiesByCategory, getCountries, getCurrencyLocale, getCurrencySymbol, getCurrentOrigin, getCurrentTimestamp, getDndevConfig, getEnabledAuthPartners, getEnabledOAuthPartners, getEncryptionKey, getEntitySchema, getFeatureSummary, getFlagCodes, getGlobalSingleton, getI18nConfig, getI18nInstance, getListCardFieldNames, getLocalStorageItem, getNextEnvVar, getOAuthClientId, getOAuthPartnerConfig, getOAuthRedirectUri, getOAuthRedirectUrl, getPartnerCacheStatus, getPartnerConfig, getPlatformEnvVar, getProvider, getProviderColor, getQueryClient, getRegisteredSchemaTypes, getRegisteredScopeProviders, getRoleFromClaims, getRouteManifest, getRouteSource, getRoutes, getRoutesConfig, getSchemaType, getScopeValue, getSmartDefaults, getStorageManager, getSupportedLanguages, getThemeInfo, getThemesConfig, getTokenManager, getValidAuthPartnerConfig, getValidAuthPartnerIds, getValidOAuthPartnerConfig, getValidOAuthPartnerIds, getVisibleFields, getVisibleItems, getViteEnvVar, getWeekFromISOString, getWidget, githubPermissionSchema, githubRepoConfigSchema, globalEmitter, grantGitHubAccessSchema, handleError, hasCustomSchemaGenerator, hasFlag, hasMetadata, hasOptionalCookies, hasProvider, hasRestrictedVisibility, hasRoleAccess, hasScopeProvider, hasTierAccess, ibanSchema, initSentry, initializeConfig, initializePlatformDetection, isAuthPartnerEnabled, isAuthPartnerId, isBackendGeneratedField, isBreakpoint, isClient, isCompactDateString, isConfigAvailable, isDev, isDoNotDevStore, isElementInViewport, isEmailVerificationRequired, isExpo, isFeatureAvailable, isFieldVisible, isFrameworkField, isIntersectionObserverSupported, isLocalStorageAvailable, isNextJs, isOAuthPartnerEnabled, isOAuthPartnerId, isPKCESupported, isPlatform, isReactNative, isServer, isTest, isValidTheme, isVite, isoToCompactString, lazyImport, listEntitiesSchema, listWidgets, mapSchema, mapToDoNotDevError, maybeTranslate, multiselectSchema, neverSchema, normalizeToISOString, numberSchema, observeElement, overrideFeatures, overridePaymentModes, overridePermissions, overrideSubscriptionStatus, overrideSubscriptionTiers, overrideUserRoles, parseDate, parseDateToNoonUTC, passwordSchema, pictureSchema, picturesSchema, priceSchema, rangeOptions, redirectToExternalUrl, redirectToExternalUrlWithErrorHandling, referenceSchema, refreshTokenSchema, registerSchemaGenerator, registerScopeProvider, registerUniqueConstraintValidator, registerWidget, removeLocalStorageItem, resetProviders, resolveAppConfig, resolveAuthConfig, resolvePageMeta, revokeGitHubAccessSchema, safeLocalStorage, safeSessionStorage, safeValidate, sanitizeHref, selectSchema, setCookie, setLocalStorageItem, shouldShowEmailVerification, showNotification, stringSchema, supportsFeature, switchSchema, telSchema, textSchema, throttle, timestampToISOString, timingUtils, toDateOnly, toISOString, translateArray, translateArrayRange, translateArrayWithIndices, translateObjectArray, unregisterScopeProvider, updateEntitySchema, updateMetadata, urlSchema, useAbortControllerStore, useAnalyticsConsent, useAppConfig, useAuthConfig, useBreakpoint, useBreathingTimer, useClickOutside, useConsent, useConsentReady, useConsentStore, useDebounce, useEventListener, useFaviconConfig, useFeatureConsent, useFeaturesConfig, useFunctionalConsent, useHasConsented, useI18nReady, useIntersectionObserver, useIsClient, useLanguage, useLanguageReady, useLanguageSelector, useLanguageStore, useLayout, useLocalStorage, useMarketingConsent, useMutation, useNavigationStore, useNetwork, useNetworkConnectionType, useNetworkOnline, useNetworkStatus, useNetworkStore, useOverlay, useOverlayStore, useQuery, useRateLimit, useSafeContext, useScriptLoader, useSeoConfig, useStorageManager, useTheme, useThemeReady, useThemeStore, useTranslation, useViewportVisibility, validateAIChatRequest, validateAIChatResponse, validateAuthPartners, validateAuthSchemas, validateAuthUser, validateBillingSchemas, validateBlock, validateCheckoutSessionMetadata, validateCodeChallenge, validateCodeVerifier, validateCreateCheckoutSessionRequest, validateCreateCheckoutSessionResponse, validateCustomClaims, validateDates, validateDocument, validateEvent, validateOAuthPartners, validateSendEmailRequest, validateSendEmailResponse, validateStripeBackConfig, validateStripeFrontConfig, validateSubscriptionClaims, validateSubscriptionData, validateUniqueFields, validateUserSubscription, validateWebhookEvent, validateWithSchema, when, withErrorHandling, withGracefulDegradation, withTimeout, wrapAuthError, wrapCrudError, wrapStorageError };
24336
- export type { AIAPI, AIChatRequest, AIChatResponse, AIConfig, AICostConfig, AICostEvent, AICostRecord, AICostResult, AIErrorCode, AIMessage, AIModelPricing, AIProvider, AIProviderConfig, AIRateLimitConfig, AIRouteConfig, AITierId, AIToolCall, AIToolDefinition, AIToolParameter, AIUsage, AccountLinkResult, AccountLinkingInfo, AdminCheckHookResult, AdminClaims, AggregateConfig, AggregateFilterOperator, AggregateOperation, AggregateRequest, AggregateResponse, AnyEntity, AnyFieldValue, AnyValibotSchema, ApiResponse, AppConfig, AppConfigProviderProps, AppCookieCategories, AppMetadata, AppProvidersProps, AssetsPluginConfig, AttemptRecord, AuditEvent, AuditEventType, AuthAPI, AuthActions, AuthConfig, AuthContextValue, AuthCoreHookResult, AuthError, AuthEventData, AuthEventKey, AuthEventName, AuthHardeningConfig, AuthHardeningContext, AuthMethod, AuthPartner, AuthPartnerHookResult, AuthPartnerId, AuthPartnerResult, AuthPartnerState, AuthProvider, AuthProviderProps, AuthRedirectHookResult, AuthRedirectOperation, AuthRedirectOptions, AuthResult, AuthState, AuthStateStore, AuthStatus, AuthTokenHookResult, AuthUser, AuthUserLike, BackendGeneratedField, BaseActions, BaseCredentials, BaseDocument, BaseEntityFields, BasePartnerState, BaseState, BaseStoreActions, BaseStoreState, BaseUserProfile, BasicUserInfo, BeforeCheckoutHook, BeforeCheckoutResult, BillingAPI, BillingAdapter, BillingErrorCode, BillingEvent, BillingEventData, BillingEventKey, BillingEventName, BillingProvider, BillingProviderConfig, BillingRedirectOperation, Breakpoint, BreakpointAPI, BreakpointUtils, BrowserEngine, BrowserInfo, BrowserType, BuiltInFieldType, BulkAcrossBatch, BulkAcrossResult, BulkCollisionReport, BulkOperations, BulkRequest, BulkResponse, BulkResult, BusinessEntity, CachedError, CanAPI, CanvasBlock, CanvasCallerAccess, CanvasEvent, CanvasLifetime, CanvasSurface, CanvasWidgetMetadata, CanvasWidgetProps, CheckGitHubAccessRequest, CheckoutMode, CheckoutOptions, CheckoutSessionMetadata, Claims, ClaimsCacheOptions, ClaimsCacheResult, CleanupFunction, CollectionSubscriptionCallback, ColumnDef, CommonSubscriptionFeatures, CommonTranslations, CompatibilityReport, ConditionBuilderLike, ConditionExpression, ConditionGroup, ConditionInput, ConditionNode, ConditionOperator, ConditionResult, ConditionalBehavior, ConfidenceLevel, ConnectOptions, ConsentAPI, ConsentActions, ConsentCategory, ConsentLevel, ConsentState, Context, CookieInfo, CookieOptions, CountryData, CreateCheckoutSessionRequest, CreateCheckoutSessionResponse, CreateEntityData, CreateEntityRequest, CreateEntityResponse, CrudAPI, CrudCardProps, CrudConfig, CrudCreateInput, CrudDocQuery, CrudListQuery, CrudOperationOptions, CrudOperator, CurrencyEntry, CustomClaims, CustomFieldOptionsMap, CustomSchemaGenerator, CustomStoreConfig, DateFormatOptions, DateFormatPreset, DateValue, DeleteEntityRequest, DeleteEntityResponse, Density, DnDevOverride, DnDevWrapper, DndevFrameworkConfig, DndevProviders, DndevStoreApi, DoNotDevCookieCategories, DoNotDevStore, DoNotDevStoreConfig, DoNotDevStoreState, DoNotDevTransProps, DocumentSubscriptionCallback, DynamicFormRule, Editable, EffectiveConnectionType, EmailConfig, EmailErrorCode, EmailProvider, EmailRouteConfig, EmailTemplate, EmailTemplateRegistry, EmailVerificationHookResult, EmailVerificationStatus, Entity, EntityAccessConfig, EntityAccessDefaults, EntityBrowseBaseProps, EntityCardListProps, EntityDisplayRendererProps, EntityField, EntityFieldMapDefault, EntityFormRendererProps, EntityHookErrors, EntityListProps, EntityMetadata, EntityOwnershipConfig, EntityOwnershipPublicCondition, EntityRecommendationsProps, EntityRecord, EntityRowFromFields, EntityTemplateProps, EntityTranslations, EnvironmentMode, ErrorCode, ErrorHandlerConfig, ErrorHandlerFunction, ErrorSeverity, ErrorSource, EventListener, ExchangeTokenParams, ExchangeTokenRequest, ExchangeTokenResponse, FAQSectionProps, FaviconConfig, Feature, FeatureAccessHookResult, FeatureAvailability, FeatureConsentRequirement, FeatureHookResult, FeatureId, FeatureName, FeatureStatus, FeatureSupport, FeaturesConfig, FeaturesPluginConfig, FeaturesRequiringAnyConsent, FeaturesRequiringConsent, FeaturesWithoutConsent, FieldCondition, FieldType, FieldTypeToValue, FileAsset, FilterVisibleFieldsOptions, FirebaseCallOptions, FirebaseConfig, FirestoreTimestamp, FirestoreUniqueConstraintValidator, FooterConfig, FooterMode, FooterZoneConfig, FormConfig, FormStep, FrameworkFeature, FunctionCallConfig, FunctionCallContext, FunctionCallOptions, FunctionCallResult, FunctionClient, FunctionClientFactoryOptions, FunctionDefaults, FunctionEndpoint, FunctionError, FunctionLoader, FunctionMemory, FunctionMeta, FunctionPlatform, FunctionResponse, FunctionSchema, FunctionSchemas, FunctionSystem, FunctionTrigger, FunctionsConfig, GetCustomClaimsResponse, GetEntityData, GetEntityRequest, GetEntityResponse, GetUserAuthStatusResponse, GetVisibleFieldsOptions, GitHubPermission, GitHubRepoConfig, GrantGitHubAccessRequest, GroupByDefinition, HandleErrorOptions, HeaderZoneConfig, I18nConfig, I18nPluginConfig, I18nProviderProps, ICallableProvider, ICrudAdapter, ID, INetworkManager, IServerAuthAdapter, IStorageAdapter, IStorageManager, IStorageStrategy, InferEntityRow, IntersectionObserverCallback, IntersectionObserverOptions, Invoice, InvoiceItem, LanguageAPI, LanguageData, LanguageFABFormat, LanguageFABProps, LanguageInfo$1 as LanguageInfo, LanguageSelectorProps, LanguageToggleGroupProps, LayoutAPI, LayoutConfig, LayoutPreset, LegalCompanyInfo, LegalConfig, LegalContactInfo, LegalDirectorInfo, LegalHostingInfo, LegalJurisdictionInfo, LegalSectionsConfig, LegalWebsiteInfo, ListCardLayout, ListEntitiesRequest, ListEntitiesResponse, ListEntityData, ListOptions, ListResponse, ListSchemaType, LoadingActions, LoadingState, LockoutResult, MergedBarConfig, MergedEntityFieldMap, MetricDefinition, MobileBehaviorConfig, ModalActions, ModalState, MutableMergedEntityFieldMap, MutationResponse, NavigationRoute, NetworkCheckConfig, NetworkConnectionType, NetworkReconnectCallback, NetworkState$1 as NetworkState, NetworkStatus, NetworkStatusHookResult, OAuthAPI, OAuthApiRequestOptions, OAuthCallbackHookResult, OAuthConnection, OAuthConnectionInfo, OAuthConnectionRequest, OAuthConnectionStatus, OAuthCredentials, OAuthEventData, OAuthEventKey, OAuthEventName, OAuthPartner, OAuthPartnerHookResult, OAuthPartnerId, OAuthPartnerResult, OAuthPartnerState, OAuthPurpose, OAuthRedirectOperation, OAuthRefreshRequest, OAuthRefreshResponse, OAuthResult, OAuthStoreActions, OAuthStoreState, OS, Observable, OperationSchemas, OrderByClause, OrderDirection, OverlayAPI, PWAAssetType, PWADisplayMode, PWAPluginConfig, PageAuth, PageMeta, PaginatedQueryResult, PaginationOptions, PartnerConnectionState, PartnerIconId, PartnerId, PartnerResult, PartnerType, PayloadCacheEventData, PayloadDocument, PayloadDocumentEventData, PayloadEventKey, PayloadEventName, PayloadGlobalEventData, PayloadMediaEventData, PayloadPageRegenerationEventData, PayloadRequest, PayloadUserEventData, PaymentEventData, PaymentMethod, PaymentMethodType, PaymentMode, Permission, Picture, Platform, PlatformInfo, PresetConfig, PresetRegistry, ProcessPaymentSuccessRequest, ProcessPaymentSuccessResponse, ProductDeclaration, ProviderInstances, QueryConfig, QueryOptions, QueryOrderBy, QueryWhereClause, RateLimitBackend, RateLimitConfig, RateLimitManager, RateLimitResult, RateLimitState, RateLimiter, ReadCallback, RedirectOperation, RedirectOverlayActions, RedirectOverlayConfig, RedirectOverlayPhase, RedirectOverlayState, Reference, RefreshSubscriptionRequest, RefreshSubscriptionResponse, RegisteredWidgetBase, RemoveCustomClaimsResponse, ResolvedLayoutConfig, RevokeGitHubAccessRequest, RouteData, RouteManifest, RouteMeta, RouteSource, RoutesPluginConfig, SEOConfig, SchemaMetadata, SchemaWithVisibility, ScopeConfig, ScopeProviderFn, SecurityContext, SecurityEntityConfig, SelectOption, SendEmailRequest, SendEmailResponse, SeoMeta, ServerRateLimitConfig, ServerRateLimitResult, ServerUserRecord, SetCustomClaimsResponse, SidebarZoneConfig, SignUpMetadata, SlotContent, StatusField, StorageError, StorageErrorType, StorageOptions, StorageScope, StorageType, Store, StripeBackConfig, StripeCheckoutRequest, StripeCheckoutResponse, StripeCheckoutSessionEventData, StripeConfig, StripeCustomer, StripeCustomerEventData, StripeEventData, StripeEventKey, StripeEventName, StripeFrontConfig, StripeInvoice, StripeInvoiceEventData, StripePayment, StripePaymentIntentEventData, StripePaymentMethod, StripePrice, StripeProduct, StripeProvider, StripeSubscription, StripeSubscriptionData, StripeWebhookEvent, StripeWebhookEventData, Subscription, SubscriptionClaims, SubscriptionConfig, SubscriptionData, SubscriptionDuration, SubscriptionEventData, SubscriptionHookResult, SubscriptionInfo, SubscriptionStatus, SubscriptionTier, SupportedLanguage, TechnicalField, ThemeAPI, ThemeActions, ThemeInfo, ThemeMode, ThemeState, ThemesPluginConfig, TierAccessHookResult, Timestamp, ToggleOrientation, ToggleSize, TokenInfo, TokenManagerOptions, TokenResponse, TokenState, TokenStatus, TransTag, TranslationOptions, TranslationResource, TypedBaseFields, UIFieldOptions, UniqueConstraintValidator, UniqueKeyDefinition, UnsubscribeFn, UpdateEntityData, UpdateEntityRequest, UpdateEntityResponse, UploadOptions, UploadProgressCallback, UploadResult, UseClickOutsideOptions, UseClickOutsideReturn, UseDebounceOptions, UseEventListenerOptions, UseEventListenerReturn, UseFunctionsCallResult, UseFunctionsMutationOptions, UseFunctionsMutationResult, UseFunctionsQueryOptions, UseFunctionsQueryResult, UseIntersectionObserverOptions, UseIntersectionObserverReturn, UseLocalStorageOptions, UseLocalStorageReturn, UseMutationOptionsWithErrorHandling, UseQueryOptionsWithErrorHandling, UseScriptLoaderOptions, UseScriptLoaderReturn, UseTranslationOptionsEnhanced, UseViewportVisibilityOptions, UseViewportVisibilityReturn, UserContext, UserProfile, UserProviderData, UserRole, UserSubscription, ValidateBlockOptions, ValidateResult, ValidationRules, ValueTypeForField, VerifiedToken, ViewportDetectionOptions, ViewportDetectionResult, Visibility, WebhookEvent, WebhookEventData, WhereClause, WhereOperator, WidgetDef, WithMetadata, dndevSchema };
25158
+ export { AGGREGATE_FILTER_OPERATORS, AGGREGATE_OPERATIONS, AIChatRequestSchema, AIChatResponseSchema, AIMessageSchema, AIProviderConfigSchema, AIToolCallSchema, AIToolDefinitionSchema, AIUsageSchema, AI_ERROR_CODES, AI_MODELS, AI_PROVIDERS, AI_ROLES, AI_TIERS, AI_TOKEN_PRICING, AUTH_COMPUTED_KEYS, AUTH_EVENTS, AUTH_PARTNERS, AUTH_PARTNER_STATE, AUTH_STORE_KEYS, AppConfigContext, AppConfigProvider, AuthHardening, AuthSessionProvider, AuthUserSchema, BACKEND_GENERATED_FIELD_NAMES, BILLING_EVENTS, BILLING_STORE_KEYS, BREAKPOINT_RANGES, BREAKPOINT_THRESHOLDS, BaseStorageStrategy, BulkAcrossCycleError, BulkCollisionError, BulkDeleteIdSchema, BulkInsertSchema, BulkNotImplementedError, BulkRequestSchema, BulkResponseSchema, BulkUpdateSchema, COMMON_TIER_CONFIGS, CONFIDENCE_LEVELS, CONSENT_CATEGORY, CONSENT_LEVELS, CONTEXTS, COUNTRIES, CRUD_OPERATORS, CURRENCY_MAP, CanvasBlockSchema, CanvasEventSchema, CanvasLifetimeSchema, CanvasWidgetMetadataSchema, CheckoutLineItemInputSchema, CheckoutSessionMetadataSchema, ClaimsCache, ConditionBuilder, CreateCheckoutSessionRequestSchema, CreateCheckoutSessionResponseSchema, CustomClaimsSchema, DEFAULT_AI_CONFIG, DEFAULT_AI_MARKUP, DEFAULT_CRUD_TIMEOUT, DEFAULT_ENTITY_ACCESS, DEFAULT_ERROR_MESSAGES, DEFAULT_LAYOUT_PRESET, DEFAULT_STATUS_OPTIONS, DEFAULT_STATUS_VALUE, DEFAULT_SUBSCRIPTION, DEFAULT_UPLOAD_TIMEOUT, DEGRADED_AI_API, DEGRADED_AUTH_API, DEGRADED_BILLING_API, DEGRADED_CRUD_API, DEGRADED_OAUTH_API, DENSITY, DoNotDevError, EDITABLE, EMAIL_ERROR_CODES, EMAIL_PROVIDERS, EMAIL_VERIFICATION_STATUS, ENTITY_HOOK_ERRORS, ENVIRONMENTS, ERROR_CODES, ERROR_SEVERITY, ERROR_SOURCE, EntityHookError, EventEmitter, FAQSection, FEATURES, FEATURE_CONSENT_MATRIX, FEATURE_STATUS, FIELD_TYPES, FIREBASE_ERROR_MAP, FOOTER_MODE, FRAMEWORK_FEATURES, Flag, GITHUB_PERMISSION_LEVELS, HIDDEN_STATUSES, index_d$1 as Hooks, HybridStorageStrategy, index_d as I18n, LANGUAGES, LANGUAGE_COOKIE, LAYOUT_PRESET, LIST_SCHEMA_TYPE, LanguageFAB, LanguageSelector, LanguageToggleGroup, LocalStorageStrategy, MAX_CHECKOUT_LINE_ITEMS, MAX_SHIPPING_RATE_IDS, OAUTH_EVENTS, OAUTH_PARTNERS, OAUTH_STORE_KEYS, ORDER_DIRECTION, PARTNER_ICONS, PAYLOAD_EVENTS, PERMISSIONS, PLATFORMS, PWA_ASSET_TYPES, PWA_DISPLAY_MODES, ProductDeclarationSchema, ProductDeclarationsSchema, ProxiedImageUrlSchema, QueryProviders, ROUTE_SOURCES, RequestLanguageProvider, STORAGE_SCOPES, STORAGE_TYPES, STRIPE_EVENTS, STRIPE_MODES, SUBSCRIPTION_DURATIONS, SUBSCRIPTION_STATUS, SUBSCRIPTION_TIERS, index_d$2 as Schemas, SendEmailRequestSchema, SendEmailResponseSchema, SingletonManager, StorageManager, index_d$3 as Stores, StripeBackConfigSchema, StripeFrontConfigSchema, StripeOrderBackSchema, StripeOrderShippingSchema, StripeOrderTaxSchema, StripePaymentSchema, StripeSubscriptionSchema, SubscriptionClaimsSchema, SubscriptionDataSchema, TECHNICAL_FIELD_NAMES, TRANS_TAGS, TokenManager, Trans, TranslatedText, index_d$5 as Types, USER_ROLES, UserSubscriptionSchema, index_d$4 as Utils, VISIBILITY, ViewportHandler, WebhookEventSchema, addressSchema, applyTheme, areFeaturesAvailable, arraySchema, baseFields, booleanSchema, buildRoutePath, canRedirectExternally, captureError, captureErrorToSentry, captureMessage, checkGitHubAccessSchema, cleanupSentry, clearFeatureCache, clearGlobalSingleton, clearLocalStorage, clearPartnerCache, clearSchemaGenerators, clearScopeProviders, commonErrorCodeMappings, compactToISOString, configureProviders, cooldown, createAsyncSingleton, createDefaultSubscriptionClaims, createDefaultUserProfile, createDoNotDevStore, createEntitySchema, createErrorHandler, createMetadata, createMethodProxy, createSchemas, createSingleton, createSingletonWithParams, createViewportHandler, dateSchema, debounce, debugPlatformDetection, decryptData, defineEntity, delay, deleteCookie, deleteEntitySchema, detectBrowser, detectBulkCollisions, detectErrorSource, detectFeatures, detectPlatform, detectPlatformInfo, detectStorageError, disconnectOAuthSchema, emailSchema, encryptData, enhanceSchema, ensureSpreadable, evaluateCondition, evaluateFieldConditions, exchangeTokenSchema, extractRoutePath, fileSchema, filesSchema, filterVisibleFields, formatCookieList, formatCurrency, formatDate, formatRelativeTime, gdprConsentSchema, generateCodeChallenge, generateCodeVerifier, generateCompatibilityReport, generateEncryptionKey, generateFirestoreRuleCondition, generatePKCEPair, generateUUID, geopointSchema, getActiveCookies, getAppShortName, getAssetsConfig, getAuthDomain, getAuthMethod, getAuthPartnerConfig, getAuthPartnerIdByFirebaseId, getAvailableFeatures, getAvailableThemeNames, getAvailableThemes, getBreakpointFromWidth, getBreakpointUtils, getBrowserRecommendations, getCollectionName, getConditionDependencies, getConfigSection, getConfigSource, getConnectionsSchema, getCookie, getCookieExamples, getCookiesByCategory, getCountries, getCurrencyLocale, getCurrencySymbol, getCurrentOrigin, getCurrentTimestamp, getDndevConfig, getEnabledAuthPartners, getEnabledOAuthPartners, getEncryptionKey, getEntitySchema, getFeatureSummary, getFlagCodes, getGlobalSingleton, getI18nConfig, getI18nInstance, getListCardFieldNames, getLocalStorageItem, getNextEnvVar, getOAuthClientId, getOAuthPartnerConfig, getOAuthRedirectUri, getOAuthRedirectUrl, getPartnerCacheStatus, getPartnerConfig, getPlatformEnvVar, getProvider, getProviderColor, getQueryClient, getRegisteredSchemaTypes, getRegisteredScopeProviders, getRequestLanguage, getRoleFromClaims, getRouteManifest, getRouteSource, getRoutes, getRoutesConfig, getSchemaType, getScopeValue, getSmartDefaults, getStorageManager, getSupportedLanguages, getThemeInfo, getThemesConfig, getTokenManager, getValidAuthPartnerConfig, getValidAuthPartnerIds, getValidOAuthPartnerConfig, getValidOAuthPartnerIds, getVisibleFields, getVisibleItems, getViteEnvVar, getWeekFromISOString, getWidget, githubPermissionSchema, githubRepoConfigSchema, globalEmitter, grantGitHubAccessSchema, handleError, hasCustomSchemaGenerator, hasFlag, hasMetadata, hasOptionalCookies, hasProvider, hasRestrictedVisibility, hasRoleAccess, hasScopeProvider, hasTierAccess, ibanSchema, initSentry, initializeConfig, initializePlatformDetection, isAuthPartnerEnabled, isAuthPartnerId, isBackendGeneratedField, isBreakpoint, isClient, isCompactDateString, isConfigAvailable, isDev, isDoNotDevStore, isElementInViewport, isEmailVerificationRequired, isExpo, isFeatureAvailable, isFieldVisible, isFrameworkField, isIntersectionObserverSupported, isLocalStorageAvailable, isNextJs, isOAuthPartnerEnabled, isOAuthPartnerId, isPKCESupported, isPlatform, isReactNative, isServer, isTest, isValidTheme, isVite, isoToCompactString, lazyImport, listEntitiesSchema, listWidgets, mapSchema, mapToDoNotDevError, maybeTranslate, multiselectSchema, neverSchema, normalizeToISOString, numberSchema, observeElement, overrideFeatures, overridePaymentModes, overridePermissions, overrideSubscriptionStatus, overrideSubscriptionTiers, overrideUserRoles, parseAcceptLanguage, parseDate, parseDateToNoonUTC, passwordSchema, pictureSchema, picturesSchema, priceSchema, rangeOptions, readCookieValue, redirectToExternalUrl, redirectToExternalUrlWithErrorHandling, referenceSchema, refreshTokenSchema, registerSchemaGenerator, registerScopeProvider, registerUniqueConstraintValidator, registerWidget, removeLocalStorageItem, resetProviders, resolveAppConfig, resolveAuthConfig, resolveLanguage, resolvePageMeta, revokeGitHubAccessSchema, safeLocalStorage, safeSessionStorage, safeValidate, sanitizeHref, selectSchema, setCookie, setLocalStorageItem, shouldShowEmailVerification, showNotification, stringSchema, supportsFeature, switchSchema, telSchema, textSchema, throttle, timestampToISOString, timingUtils, toDateOnly, toISOString, translateArray, translateArrayRange, translateArrayWithIndices, translateObjectArray, unregisterScopeProvider, updateEntitySchema, updateMetadata, urlSchema, useAbortControllerStore, useAnalyticsConsent, useAppConfig, useAuthConfig, useAuthSessionSnapshot, useBreakpoint, useBreathingTimer, useClickOutside, useConsent, useConsentReady, useConsentStore, useDebounce, useEventListener, useFaviconConfig, useFeatureConsent, useFeaturesConfig, useFunctionalConsent, useHasConsented, useI18nReady, useIntersectionObserver, useIsClient, useLanguage, useLanguageReady, useLanguageSelector, useLanguageStore, useLayout, useLocalStorage, useMarketingConsent, useMutation, useNavigationStore, useNetwork, useNetworkConnectionType, useNetworkOnline, useNetworkStatus, useNetworkStore, useOverlay, useOverlayStore, useQuery, useRateLimit, useSafeContext, useScriptLoader, useSeoConfig, useStorageManager, useTheme, useThemeReady, useThemeStore, useTranslation, useViewportVisibility, validateAIChatRequest, validateAIChatResponse, validateAuthPartners, validateAuthSchemas, validateAuthUser, validateBillingSchemas, validateBlock, validateCheckoutSessionMetadata, validateCodeChallenge, validateCodeVerifier, validateCreateCheckoutSessionRequest, validateCreateCheckoutSessionResponse, validateCustomClaims, validateDates, validateDocument, validateEvent, validateOAuthPartners, validateSendEmailRequest, validateSendEmailResponse, validateStripeBackConfig, validateStripeFrontConfig, validateSubscriptionClaims, validateSubscriptionData, validateUniqueFields, validateUserSubscription, validateWebhookEvent, validateWithSchema, when, withErrorHandling, withGracefulDegradation, withTimeout, wrapAuthError, wrapCrudError, wrapStorageError };
25159
+ export type { AIAPI, AIChatRequest, AIChatResponse, AIConfig, AICostConfig, AICostEvent, AICostRecord, AICostResult, AIErrorCode, AIMessage, AIModelPricing, AIProvider, AIProviderConfig, AIRateLimitConfig, AIRouteConfig, AITierId, AIToolCall, AIToolDefinition, AIToolParameter, AIUsage, AccountLinkResult, AccountLinkingInfo, AdminCheckHookResult, AdminClaims, AggregateConfig, AggregateFilterOperator, AggregateOperation, AggregateRequest, AggregateResponse, AnyEntity, AnyFieldValue, AnyValibotSchema, ApiResponse, AppConfig, AppConfigProviderProps, AppCookieCategories, AppMetadata, AppProvidersProps, AssetsPluginConfig, AttemptRecord, AuditEvent, AuditEventType, AuthAPI, AuthActions, AuthConfig, AuthContextValue, AuthCoreHookResult, AuthError, AuthEventData, AuthEventKey, AuthEventName, AuthHardeningConfig, AuthHardeningContext, AuthMethod, AuthPartner, AuthPartnerHookResult, AuthPartnerId, AuthPartnerResult, AuthPartnerState, AuthProvider, AuthProviderProps, AuthRedirectHookResult, AuthRedirectOperation, AuthRedirectOptions, AuthResult, AuthSessionSnapshot, AuthState, AuthStateStore, AuthStatus, AuthTokenHookResult, AuthUser, AuthUserLike, BackendGeneratedField, BaseActions, BaseCredentials, BaseDocument, BaseEntityFields, BasePartnerState, BaseState, BaseStoreActions, BaseStoreState, BaseUserProfile, BasicUserInfo, BeforeCheckoutHook, BeforeCheckoutOptions, BeforeCheckoutResult, BillingAPI, BillingAdapter, BillingAuthProvider, BillingErrorCode, BillingEvent, BillingEventData, BillingEventKey, BillingEventName, BillingProvider, BillingProviderConfig, BillingRedirectOperation, Breakpoint, BreakpointAPI, BreakpointUtils, BrowserEngine, BrowserInfo, BrowserType, BuiltInFieldType, BulkAcrossBatch, BulkAcrossResult, BulkCollisionReport, BulkOperations, BulkRequest, BulkResponse, BulkResult, BusinessEntity, CachedError, CanAPI, CanvasBlock, CanvasCallerAccess, CanvasEvent, CanvasLifetime, CanvasSurface, CanvasWidgetMetadata, CanvasWidgetProps, CheckGitHubAccessRequest, CheckoutAddress, CheckoutLineItemInput, CheckoutMode, CheckoutOptions, CheckoutSessionMetadata, CheckoutSessionParams, CheckoutSessionResult, CheckoutSessionSnapshot, Claims, ClaimsCacheOptions, ClaimsCacheResult, CleanupFunction, CollectionSubscriptionCallback, ColumnDef, CommonSubscriptionFeatures, CommonTranslations, CompatibilityReport, ConditionBuilderLike, ConditionExpression, ConditionGroup, ConditionInput, ConditionNode, ConditionOperator, ConditionResult, ConditionalBehavior, ConfidenceLevel, ConnectOptions, ConsentAPI, ConsentActions, ConsentCategory, ConsentLevel, ConsentState, Context, CookieInfo, CookieOptions, CountryData, CreateCheckoutSessionRequest, CreateCheckoutSessionRequestInput, CreateCheckoutSessionResponse, CreateEntityData, CreateEntityRequest, CreateEntityResponse, CrudAPI, CrudCardProps, CrudConfig, CrudCreateInput, CrudDocQuery, CrudListQuery, CrudOperationOptions, CrudOperator, CurrencyEntry, CustomClaims, CustomFieldOptionsMap, CustomSchemaGenerator, CustomStoreConfig, DateFormatOptions, DateFormatPreset, DateValue, DeleteEntityRequest, DeleteEntityResponse, Density, DnDevOverride, DnDevWrapper, DndevFrameworkConfig, DndevProviders, DndevStoreApi, DoNotDevCookieCategories, DoNotDevStore, DoNotDevStoreConfig, DoNotDevStoreState, DoNotDevTransProps, DocumentSubscriptionCallback, DynamicFormRule, Editable, EffectiveConnectionType, EmailConfig, EmailErrorCode, EmailProvider, EmailRouteConfig, EmailTemplate, EmailTemplateRegistry, EmailVerificationHookResult, EmailVerificationStatus, Entity, EntityAccessConfig, EntityAccessDefaults, EntityBrowseBaseProps, EntityCardListProps, EntityDisplayRendererProps, EntityField, EntityFieldMapDefault, EntityFormRendererProps, EntityHookErrors, EntityListProps, EntityMetadata, EntityOwnershipConfig, EntityOwnershipPublicCondition, EntityRecommendationsProps, EntityRecord, EntityRowFromFields, EntityTemplateProps, EntityTranslations, EnvironmentMode, ErrorCode, ErrorHandlerConfig, ErrorHandlerFunction, ErrorSeverity, ErrorSource, EventListener, ExchangeTokenParams, ExchangeTokenRequest, ExchangeTokenResponse, FAQSectionProps, FaviconConfig, Feature, FeatureAccessHookResult, FeatureAvailability, FeatureConsentRequirement, FeatureHookResult, FeatureId, FeatureName, FeatureStatus, FeatureSupport, FeaturesConfig, FeaturesPluginConfig, FeaturesRequiringAnyConsent, FeaturesRequiringConsent, FeaturesWithoutConsent, FieldCondition, FieldType, FieldTypeToValue, FileAsset, FilterVisibleFieldsOptions, FirebaseCallOptions, FirebaseConfig, FirestoreTimestamp, FirestoreUniqueConstraintValidator, FooterConfig, FooterMode, FooterZoneConfig, FormConfig, FormStep, FrameworkFeature, FunctionCallConfig, FunctionCallContext, FunctionCallOptions, FunctionCallResult, FunctionClient, FunctionClientFactoryOptions, FunctionDefaults, FunctionEndpoint, FunctionError, FunctionLoader, FunctionMemory, FunctionMeta, FunctionPlatform, FunctionResponse, FunctionSchema, FunctionSchemas, FunctionSystem, FunctionTrigger, FunctionsConfig, GetCustomClaimsResponse, GetEntityData, GetEntityRequest, GetEntityResponse, GetUserAuthStatusResponse, GetVisibleFieldsOptions, GitHubPermission, GitHubRepoConfig, GrantGitHubAccessRequest, GroupByDefinition, HandleErrorOptions, HeaderZoneConfig, I18nConfig, I18nPluginConfig, I18nProviderProps, ICallableProvider, ICrudAdapter, ID, INetworkManager, IServerAuthAdapter, IStorageAdapter, IStorageManager, IStorageStrategy, InferEntityRow, IntersectionObserverCallback, IntersectionObserverOptions, Invoice, InvoiceItem, LanguageAPI, LanguageData, LanguageFABFormat, LanguageFABProps, LanguageInfo$1 as LanguageInfo, LanguageSelectorProps, LanguageToggleGroupProps, LayoutAPI, LayoutConfig, LayoutPreset, LegalCompanyInfo, LegalConfig, LegalContactInfo, LegalDirectorInfo, LegalHostingInfo, LegalJurisdictionInfo, LegalSectionsConfig, LegalWebsiteInfo, ListCardLayout, ListEntitiesRequest, ListEntitiesResponse, ListEntityData, ListOptions, ListResponse, ListSchemaType, LoadingActions, LoadingState, LockoutResult, MergedBarConfig, MergedEntityFieldMap, MetricDefinition, MobileBehaviorConfig, ModalActions, ModalState, MutableMergedEntityFieldMap, MutationResponse, NavigationRoute, NetworkCheckConfig, NetworkConnectionType, NetworkReconnectCallback, NetworkState$1 as NetworkState, NetworkStatus, NetworkStatusHookResult, OAuthAPI, OAuthApiRequestOptions, OAuthCallbackHookResult, OAuthConnection, OAuthConnectionInfo, OAuthConnectionRequest, OAuthConnectionStatus, OAuthCredentials, OAuthEventData, OAuthEventKey, OAuthEventName, OAuthPartner, OAuthPartnerHookResult, OAuthPartnerId, OAuthPartnerResult, OAuthPartnerState, OAuthPurpose, OAuthRedirectOperation, OAuthRefreshRequest, OAuthRefreshResponse, OAuthResult, OAuthStoreActions, OAuthStoreState, OS, Observable, OperationSchemas, OrderByClause, OrderDirection, OrderHookContext, OverlayAPI, PWAAssetType, PWADisplayMode, PWAPluginConfig, PageAuth, PageMeta, PaginatedQueryResult, PaginationOptions, PaidLineItem, PartnerConnectionState, PartnerIconId, PartnerId, PartnerResult, PartnerType, PayloadCacheEventData, PayloadDocument, PayloadDocumentEventData, PayloadEventKey, PayloadEventName, PayloadGlobalEventData, PayloadMediaEventData, PayloadPageRegenerationEventData, PayloadRequest, PayloadUserEventData, PaymentEventData, PaymentMethod, PaymentMethodType, PaymentMode, Permission, Picture, Platform, PlatformInfo, PresetConfig, PresetRegistry, ProcessPaymentSuccessRequest, ProcessPaymentSuccessResponse, ProductDeclaration, ProviderInstances, QueryConfig, QueryOptions, QueryOrderBy, QueryWhereClause, RateLimitBackend, RateLimitConfig, RateLimitManager, RateLimitResult, RateLimitState, RateLimiter, ReadCallback, RedirectOperation, RedirectOverlayActions, RedirectOverlayConfig, RedirectOverlayPhase, RedirectOverlayState, Reference, RefreshSubscriptionRequest, RefreshSubscriptionResponse, RegisteredWidgetBase, RemoveCustomClaimsResponse, ResolveLineItemsContext, ResolvedLayoutConfig, ResolvedLineItem, ResolvedOrder, ResolvedOrderSession, RevokeGitHubAccessRequest, RouteData, RouteManifest, RouteMeta, RouteSource, RoutesPluginConfig, SEOConfig, SchemaMetadata, SchemaWithVisibility, ScopeConfig, ScopeProviderFn, SecurityContext, SecurityEntityConfig, SelectOption, SendEmailRequest, SendEmailResponse, SeoMeta, ServerRateLimitConfig, ServerRateLimitResult, ServerUserRecord, SetCustomClaimsResponse, SidebarZoneConfig, SignUpMetadata, SlotContent, StatusField, StorageError, StorageErrorType, StorageOptions, StorageScope, StorageType, Store, StripeBackConfig, StripeCheckoutProvider, StripeCheckoutRequest, StripeCheckoutResponse, StripeCheckoutSessionEventData, StripeConfig, StripeCustomer, StripeCustomerEventData, StripeEventData, StripeEventKey, StripeEventName, StripeFrontConfig, StripeInvoice, StripeInvoiceEventData, StripeOrderBackItem, StripePayment, StripePaymentBackItem, StripePaymentIntentEventData, StripePaymentMethod, StripePrice, StripeProduct, StripeProvider, StripeSubscription, StripeSubscriptionBackItem, StripeSubscriptionData, StripeWebhookEvent, StripeWebhookEventData, Subscription, SubscriptionClaims, SubscriptionConfig, SubscriptionData, SubscriptionDuration, SubscriptionEventData, SubscriptionHookResult, SubscriptionInfo, SubscriptionStatus, SubscriptionTier, SubscriptionUpdate, SupportedLanguage, TechnicalField, ThemeAPI, ThemeActions, ThemeInfo, ThemeMode, ThemeState, ThemesPluginConfig, TierAccessHookResult, Timestamp, ToggleOrientation, ToggleSize, TokenInfo, TokenManagerOptions, TokenResponse, TokenState, TokenStatus, TransTag, TranslationOptions, TranslationResource, TypedBaseFields, UIFieldOptions, UniqueConstraintValidator, UniqueKeyDefinition, UnsubscribeFn, UpdateEntityData, UpdateEntityRequest, UpdateEntityResponse, UpdateSubscriptionFn, UploadOptions, UploadProgressCallback, UploadResult, UseClickOutsideOptions, UseClickOutsideReturn, UseDebounceOptions, UseEventListenerOptions, UseEventListenerReturn, UseFunctionsCallResult, UseFunctionsMutationOptions, UseFunctionsMutationResult, UseFunctionsQueryOptions, UseFunctionsQueryResult, UseIntersectionObserverOptions, UseIntersectionObserverReturn, UseLocalStorageOptions, UseLocalStorageReturn, UseMutationOptionsWithErrorHandling, UseQueryOptionsWithErrorHandling, UseScriptLoaderOptions, UseScriptLoaderReturn, UseTranslationOptionsEnhanced, UseViewportVisibilityOptions, UseViewportVisibilityReturn, UserContext, UserProfile, UserProviderData, UserRole, UserSubscription, ValidateBlockOptions, ValidateResult, ValidationRules, ValueTypeForField, VerifiedToken, ViewportDetectionOptions, ViewportDetectionResult, Visibility, WebhookEvent, WebhookEventData, WhereClause, WhereOperator, WidgetDef, WithMetadata, dndevSchema };