@sylphx/sdk 0.3.7 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -85,6 +85,16 @@ declare class SylphxError extends Error {
85
85
  static isRateLimited(err: unknown): err is SylphxError & {
86
86
  code: 'TOO_MANY_REQUESTS';
87
87
  };
88
+ /**
89
+ * Check if error is an account lockout error (too many failed login attempts).
90
+ * When true, `error.data?.lockoutUntil` contains the ISO 8601 timestamp when the lockout expires.
91
+ */
92
+ static isAccountLocked(err: unknown): err is SylphxError & {
93
+ code: 'TOO_MANY_REQUESTS';
94
+ data: {
95
+ lockoutUntil: string | null;
96
+ };
97
+ };
88
98
  /**
89
99
  * Check if error is a quota exceeded error (plan limit reached)
90
100
  */
@@ -654,6 +664,32 @@ type NativeStepContext = {
654
664
  * @param duration Human-readable duration: '5s', '30m', '2h', '1d'.
655
665
  */
656
666
  sleep(name: string, duration: string): Promise<void>;
667
+ /**
668
+ * Pause execution until a named event is published via TriggersClient.publishEvent().
669
+ *
670
+ * On first encounter: signals the platform to wait for the event; stops execution.
671
+ * After the event arrives: returns the event payload.
672
+ * If timeout expires before event arrives: returns null.
673
+ *
674
+ * @param name Step identifier (must be unique within the handler).
675
+ * @param eventName The event name to listen for (e.g. 'user.approved').
676
+ * @param options Optional timeout ('24h', '7d') and payload filter.
677
+ *
678
+ * @example Human-in-the-loop approval
679
+ * ```typescript
680
+ * const approval = await step.waitForEvent<{ approvedBy: string }>(
681
+ * 'wait-approval',
682
+ * 'order.approved',
683
+ * { timeout: '48h', filter: { orderId: payload.orderId } },
684
+ * )
685
+ * if (!approval) throw new Error('Approval timed out')
686
+ * await notifyCustomer(approval.approvedBy)
687
+ * ```
688
+ */
689
+ waitForEvent<T = unknown>(name: string, eventName: string, options?: {
690
+ timeout?: string;
691
+ filter?: Record<string, unknown>;
692
+ }): Promise<T | null>;
657
693
  };
658
694
  /**
659
695
  * A named task definition registered with sylphx.tasks.define().
@@ -695,52 +731,54 @@ interface TaskRunStatus {
695
731
  }
696
732
 
697
733
  /**
698
- * SDK Configuration for Pure Functions
699
- *
700
- * This is the configuration object passed to pure SDK functions like
701
- * `track()`, `signIn()`, `getPlans()`, etc.
734
+ * SDK Configuration ADR-055 Connection URL API
702
735
  *
703
- * ## Config Type Hierarchy
736
+ * v0.5.0: The primary entry point is `createClient(url)` which accepts
737
+ * a `sylphx://` connection URL. The old `createConfig({ ref, publicKey })`
738
+ * API is removed.
704
739
  *
705
- * - `SylphxConfig` (this) — Pure functions, server or client
706
- * - `SylphxClientConfig` — React hooks return value (appId, platformUrl only)
707
- * - `SylphxProviderProps` React provider component props
708
- * - `SylphxMiddlewareConfig` — Next.js middleware options
709
- *
710
- * @example Server-side usage
711
- * ```ts
712
- * import { createConfig, track } from '@sylphx/sdk'
740
+ * @example
741
+ * ```typescript
742
+ * import { createClient } from '@sylphx/sdk'
713
743
  *
714
- * const config = createConfig({ secretKey: process.env.SYLPHX_SECRET_KEY! })
715
- * await track(config, { event: 'purchase', properties: { amount: 99 } })
744
+ * const sylphx = createClient(process.env.SYLPHX_URL!)
745
+ * // Parses: sylphx://pk_prod_{hex}@bold-river-a1b2c3.sylphx.com
716
746
  * ```
717
747
  */
748
+
749
+ /**
750
+ * SDK Configuration object — immutable, frozen.
751
+ *
752
+ * Created by `createClient()` or `createServerClient()`.
753
+ * Passed to all pure SDK functions (`track()`, `signIn()`, etc.).
754
+ */
718
755
  interface SylphxConfig {
756
+ /** The credential string (pk_* or sk_*) */
757
+ readonly credential: string;
758
+ /** Credential type: 'pk' (publishable) or 'sk' (secret) */
759
+ readonly credentialType: 'pk' | 'sk';
760
+ /** Target environment: dev, stg, prod, or prev */
761
+ readonly env: 'dev' | 'stg' | 'prod' | 'prev';
762
+ /** Resource slug (first DNS label), e.g. 'bold-river-a1b2c3' */
763
+ readonly slug: string;
764
+ /** Pre-computed API base URL, e.g. 'https://bold-river-a1b2c3.sylphx.com/v1' */
765
+ readonly baseUrl: string;
766
+ /** Optional access token for authenticated requests */
767
+ readonly accessToken?: string;
719
768
  /**
720
- * Secret key (sk_*) full access, server-side only.
721
- * Embed project ref, env, and routing info (ADR-021).
722
- * Get from Platform Console → Apps → Your App → Environments.
769
+ * Secret key — populated when credentialType is 'sk'.
770
+ * Backward-compatible alias for `credential` when credential is sk_*.
723
771
  */
724
772
  readonly secretKey?: string;
725
773
  /**
726
- * Publishable key (pk_*) client-safe, read-only access.
727
- * Embeds project ref, env, and routing info (ADR-021).
728
- * Get from Platform Console → Apps → Your App → Environments.
774
+ * Publishable key — populated when credentialType is 'pk'.
775
+ * Backward-compatible alias for `credential` when credential is pk_*.
729
776
  */
730
777
  readonly publicKey?: string;
731
778
  /**
732
- * Project ref 12-char lowercase alphanumeric string.
733
- * Extracted from the key automatically (ADR-021).
734
- * The SDK targets: https://{ref}.api.sylphx.com/v1
779
+ * @deprecated Use `slug`. Backward-compatible alias.
735
780
  */
736
781
  readonly ref: string;
737
- /**
738
- * Pre-computed base URL: https://{ref}.api.sylphx.com/v1
739
- * Derived from the embedded ref in the key.
740
- */
741
- readonly baseUrl: string;
742
- /** Optional: Current access token for authenticated requests */
743
- readonly accessToken?: string;
744
782
  }
745
783
 
746
784
  interface components {
@@ -13108,6 +13146,325 @@ interface SylphxProviderProps {
13108
13146
  */
13109
13147
  declare function SylphxProvider({ children, appId, projectRef: providedRef, platformUrl: providedPlatformUrl, afterSignOutUrl, vapidPublicKey, autoTracking, config, authPrefix, }: SylphxProviderProps): react_jsx_runtime.JSX.Element;
13110
13148
 
13149
+ /**
13150
+ * Permission Functions
13151
+ *
13152
+ * Pure functions for permission management — no hidden state.
13153
+ * Each function takes config as the first parameter.
13154
+ *
13155
+ * Uses REST API at /permissions/* for project-scoped operations.
13156
+ * Uses REST API at /orgs/{orgId}/members/{memberId}/permissions for member checks.
13157
+ *
13158
+ * Types are self-contained (not dependent on generated OpenAPI spec) because
13159
+ * the RBAC routes were added after the last spec generation.
13160
+ */
13161
+
13162
+ /**
13163
+ * A permission definition within a project.
13164
+ *
13165
+ * Permissions are the atomic building blocks of RBAC roles.
13166
+ * They use colon-separated keys (e.g. "org:members:read", "payroll:approve").
13167
+ */
13168
+ interface Permission {
13169
+ /** Prefixed permission ID (e.g. "perm_xxx") */
13170
+ id: string;
13171
+ /** Unique key within the project (e.g. "org:members:read") */
13172
+ key: string;
13173
+ /** Human-readable name */
13174
+ name: string;
13175
+ /** Optional description */
13176
+ description: string | null;
13177
+ /** Whether this is a system-defined permission (immutable) */
13178
+ isSystem: boolean;
13179
+ /** ISO 8601 creation timestamp */
13180
+ createdAt: string;
13181
+ }
13182
+ /**
13183
+ * Input for creating a custom permission.
13184
+ */
13185
+ interface CreatePermissionInput {
13186
+ /** Unique key — colon-separated lowercase segments (e.g. "org:leave:approve") */
13187
+ key: string;
13188
+ /** Human-readable name */
13189
+ name: string;
13190
+ /** Optional description */
13191
+ description?: string;
13192
+ }
13193
+ /**
13194
+ * Resolved permissions for a member, including their assigned role.
13195
+ */
13196
+ interface MemberPermissionsResult {
13197
+ /** Prefixed user ID of the member */
13198
+ memberId: string;
13199
+ /** Assigned role (null if no role assigned) */
13200
+ role: {
13201
+ key: string;
13202
+ name: string;
13203
+ } | null;
13204
+ /** Flattened, deduplicated permission keys from all assigned roles */
13205
+ permissions: string[];
13206
+ }
13207
+
13208
+ /**
13209
+ * Role Functions
13210
+ *
13211
+ * Pure functions for role management — no hidden state.
13212
+ * Each function takes config as the first parameter.
13213
+ *
13214
+ * Uses REST API at /roles/* for project-scoped operations.
13215
+ * Uses REST API at /orgs/{orgId}/members/{memberId}/assign-role for assignment.
13216
+ *
13217
+ * Types are self-contained (not dependent on generated OpenAPI spec) because
13218
+ * the RBAC routes were added after the last spec generation.
13219
+ */
13220
+
13221
+ /**
13222
+ * A role definition within a project.
13223
+ *
13224
+ * Roles bundle permissions into named groups that can be assigned to
13225
+ * organization members (e.g. "HR Manager", "Payroll Admin").
13226
+ */
13227
+ interface Role {
13228
+ /** Prefixed role ID (e.g. "role_xxx") */
13229
+ id: string;
13230
+ /** Unique key within the project (e.g. "hr_manager") */
13231
+ key: string;
13232
+ /** Human-readable name */
13233
+ name: string;
13234
+ /** Optional description */
13235
+ description: string | null;
13236
+ /** Whether this is a system-defined role (metadata immutable) */
13237
+ isSystem: boolean;
13238
+ /** Whether this role is automatically assigned to new org members */
13239
+ isDefault: boolean;
13240
+ /** Display order (lower = higher priority) */
13241
+ sortOrder: number;
13242
+ /** Permission keys assigned to this role */
13243
+ permissions: string[];
13244
+ /** ISO 8601 creation timestamp */
13245
+ createdAt: string;
13246
+ /** ISO 8601 update timestamp (present on roles route response) */
13247
+ updatedAt?: string;
13248
+ }
13249
+ /**
13250
+ * Input for creating a custom role.
13251
+ */
13252
+ interface CreateRoleInput {
13253
+ /** Unique key — lowercase alphanumeric with underscores (e.g. "hr_manager") */
13254
+ key: string;
13255
+ /** Human-readable name */
13256
+ name: string;
13257
+ /** Optional description */
13258
+ description?: string;
13259
+ /** Permission keys to assign to this role */
13260
+ permissions?: string[];
13261
+ /** Whether to auto-assign to new org members */
13262
+ isDefault?: boolean;
13263
+ /** Display order (lower = higher priority) */
13264
+ sortOrder?: number;
13265
+ }
13266
+ /**
13267
+ * Input for updating an existing role.
13268
+ *
13269
+ * System role metadata (name, description) is immutable, but their
13270
+ * permissions can be changed.
13271
+ */
13272
+ interface UpdateRoleInput {
13273
+ /** Human-readable name (ignored for system roles) */
13274
+ name?: string;
13275
+ /** Description (ignored for system roles) */
13276
+ description?: string | null;
13277
+ /** Permission keys to assign (replaces existing) */
13278
+ permissions?: string[];
13279
+ /** Whether to auto-assign to new org members */
13280
+ isDefault?: boolean;
13281
+ /** Display order */
13282
+ sortOrder?: number;
13283
+ }
13284
+
13285
+ /**
13286
+ * RBAC Hooks
13287
+ *
13288
+ * React hooks for permissions and roles management.
13289
+ *
13290
+ * ## Hook Types
13291
+ *
13292
+ * - **usePermissions()** — List project permissions (admin, React Query)
13293
+ * - **useRoles()** — List project roles (admin, React Query)
13294
+ * - **useMemberPermissions(orgIdOrSlug, memberId)** — Get member's resolved permissions
13295
+ * - **useHasPermission(permissions, required)** — Pure client-side permission check
13296
+ *
13297
+ * ## Architecture
13298
+ *
13299
+ * Admin hooks (usePermissions, useRoles) call the SDK pure functions with a
13300
+ * config derived from PlatformContext, wrapped in React Query for caching.
13301
+ *
13302
+ * useHasPermission is a pure synchronous check — no API call, no context needed.
13303
+ * It operates on a permissions array (from JWT claims or getMemberPermissions).
13304
+ */
13305
+
13306
+ interface UsePermissionsReturn {
13307
+ /** All permissions for the current project */
13308
+ permissions: Permission[];
13309
+ /** Whether permissions are loading */
13310
+ isLoading: boolean;
13311
+ /** Loading error */
13312
+ error: Error | null;
13313
+ /** Refresh the permissions list */
13314
+ refresh: () => Promise<void>;
13315
+ }
13316
+ /**
13317
+ * Hook to list all permissions for the current project.
13318
+ *
13319
+ * Uses React Query for caching and deduplication. Requires the SDK
13320
+ * to be configured with a secret key (admin operation).
13321
+ *
13322
+ * @example
13323
+ * ```tsx
13324
+ * function PermissionList() {
13325
+ * const { permissions, isLoading } = usePermissions()
13326
+ *
13327
+ * if (isLoading) return <Spinner />
13328
+ *
13329
+ * return (
13330
+ * <ul>
13331
+ * {permissions.map(p => (
13332
+ * <li key={p.key}>
13333
+ * {p.name} ({p.key})
13334
+ * {p.isSystem && <Badge>System</Badge>}
13335
+ * </li>
13336
+ * ))}
13337
+ * </ul>
13338
+ * )
13339
+ * }
13340
+ * ```
13341
+ */
13342
+ declare function usePermissions(): UsePermissionsReturn;
13343
+ interface UseRolesReturn {
13344
+ /** All roles for the current project (with permission keys) */
13345
+ roles: Role[];
13346
+ /** Whether roles are loading */
13347
+ isLoading: boolean;
13348
+ /** Loading error */
13349
+ error: Error | null;
13350
+ /** Refresh the roles list */
13351
+ refresh: () => Promise<void>;
13352
+ }
13353
+ /**
13354
+ * Hook to list all roles for the current project.
13355
+ *
13356
+ * Returns both system-defined and custom roles, each with their
13357
+ * assigned permission keys. Uses React Query for caching.
13358
+ *
13359
+ * @example
13360
+ * ```tsx
13361
+ * function RoleList() {
13362
+ * const { roles, isLoading } = useRoles()
13363
+ *
13364
+ * if (isLoading) return <Spinner />
13365
+ *
13366
+ * return (
13367
+ * <ul>
13368
+ * {roles.map(r => (
13369
+ * <li key={r.key}>
13370
+ * {r.name} — {r.permissions.length} permissions
13371
+ * {r.isDefault && <Badge>Default</Badge>}
13372
+ * </li>
13373
+ * ))}
13374
+ * </ul>
13375
+ * )
13376
+ * }
13377
+ * ```
13378
+ */
13379
+ declare function useRoles(): UseRolesReturn;
13380
+ interface UseMemberPermissionsReturn {
13381
+ /** Prefixed user ID of the member */
13382
+ memberId: string | null;
13383
+ /** Assigned role info (null if no role or still loading) */
13384
+ role: {
13385
+ key: string;
13386
+ name: string;
13387
+ } | null;
13388
+ /** Resolved permission keys for the member */
13389
+ permissions: string[];
13390
+ /** Whether data is loading */
13391
+ isLoading: boolean;
13392
+ /** Loading error */
13393
+ error: Error | null;
13394
+ /** Refresh member permissions */
13395
+ refresh: () => Promise<void>;
13396
+ }
13397
+ /**
13398
+ * Hook to get a member's resolved permissions within an organization.
13399
+ *
13400
+ * Returns the flattened, deduplicated set of permission keys from all
13401
+ * roles assigned to the member. Requires the caller to be a member
13402
+ * of the same organization.
13403
+ *
13404
+ * @example
13405
+ * ```tsx
13406
+ * function MemberPermissions({ orgSlug, memberId }: Props) {
13407
+ * const { permissions, role, isLoading } = useMemberPermissions(orgSlug, memberId)
13408
+ *
13409
+ * if (isLoading) return <Spinner />
13410
+ *
13411
+ * return (
13412
+ * <div>
13413
+ * <p>Role: {role?.name ?? 'None'}</p>
13414
+ * <ul>
13415
+ * {permissions.map(p => <li key={p}>{p}</li>)}
13416
+ * </ul>
13417
+ * </div>
13418
+ * )
13419
+ * }
13420
+ * ```
13421
+ */
13422
+ declare function useMemberPermissions(orgIdOrSlug: string | undefined, memberId: string | undefined): UseMemberPermissionsReturn;
13423
+ interface UseHasPermissionReturn {
13424
+ /** Whether the required permission(s) are satisfied */
13425
+ allowed: boolean;
13426
+ /** Whether any of the required permissions are satisfied (OR logic) */
13427
+ allowedAny: boolean;
13428
+ /** Whether all of the required permissions are satisfied (AND logic) */
13429
+ allowedAll: boolean;
13430
+ }
13431
+ /**
13432
+ * Pure client-side permission check hook.
13433
+ *
13434
+ * Operates on a permissions array — no API call. Use with:
13435
+ * - Permissions array from useMemberPermissions() hook
13436
+ * - Any string[] of permission keys from your application state
13437
+ *
13438
+ * Accepts a single permission string or an array. When given an array,
13439
+ * returns both OR (`allowedAny`) and AND (`allowedAll`) results.
13440
+ *
13441
+ * @example
13442
+ * ```tsx
13443
+ * function PayrollButton({ permissions }: { permissions: string[] }) {
13444
+ * const { allowed } = useHasPermission(permissions, 'payroll:approve')
13445
+ *
13446
+ * if (!allowed) return null
13447
+ *
13448
+ * return <button>Approve Payroll</button>
13449
+ * }
13450
+ * ```
13451
+ *
13452
+ * @example
13453
+ * ```tsx
13454
+ * function AdminPanel({ permissions }: { permissions: string[] }) {
13455
+ * const { allowedAll } = useHasPermission(permissions, [
13456
+ * 'org:settings:manage',
13457
+ * 'org:members:manage',
13458
+ * ])
13459
+ *
13460
+ * if (!allowedAll) return <AccessDenied />
13461
+ *
13462
+ * return <AdminSettings />
13463
+ * }
13464
+ * ```
13465
+ */
13466
+ declare function useHasPermission(permissions: string[], required: string | string[]): UseHasPermissionReturn;
13467
+
13111
13468
  interface StorageFile {
13112
13469
  /** File ID */
13113
13470
  id: string;
@@ -19574,4 +19931,4 @@ interface VitalReportPayload {
19574
19931
  */
19575
19932
  declare function SpeedInsights({ appKey, endpoint, samplingRate, debug, reportAllChanges, }: SpeedInsightsProps): null;
19576
19933
 
19577
- export { AIContext, type AIContextValue, type APIKey, APIKeyManager, type APIKeyManagerProps, AccountSection, type AccountSectionProps, type AdditionalField, AdminOnly, type AmplitudeDestinationConfig, type AnalyticsConfig, AnalyticsDashboard, type AnalyticsDashboardProps, type AnalyticsDataPoint, type DeviceContext as AnalyticsDeviceContext, type AnalyticsEvent$1 as AnalyticsEvent, type EventProperties as AnalyticsEventProperties, type PageContext as AnalyticsPageContext, AnalyticsProvider, type AnalyticsProviderProps, type AnalyticsQuery, type AnalyticsQueryResult, type AnalyticsStat, AnalyticsTracker, type UserProperties as AnalyticsUserProperties, type AppConfig, type AppMetadata, type AsyncState, type AttributionData, AuthContext, type AuthContextValue, AuthLoading, type AuthLoginResult, type AuthRegisterResult, type AuthSession, type AuthState, type AuthUser, AuthorizationError, Autocapture, type AutocaptureConfig, AvatarUpload, type AvatarUploadProps, type BaseDestinationConfig, BillingCard, type BillingCardProps, BillingSection, type BillingSectionProps, type Breadcrumb$1 as Breadcrumb, type BreadcrumbType, type CaptureExceptionOptions$1 as CaptureExceptionOptions, type CaptureMessageOptions$1 as CaptureMessageOptions, type CaptureResult, ChatBubble, type ChatBubbleProps, ChatInput, type ChatInputProps, ChatInterface, type ChatInterfaceProps, type ChatMessage, CheckoutButton, type CheckoutButtonProps, type ClickIds, type ConditionalStep, ConfigContext, type ConnectedAccount, type ConsentCategory$1 as ConsentCategory, ConsentContext, type ConsentContextValue, ConsentGuard, type ConsentGuardProps, ConsentPreferences, type ConsentPreferencesProps, ConsentScript, type ConsentScriptProps, type ConsentType, type ConsoleLog, type ConversionData, CookieBanner, type CookieBannerProps, type CoreWebVitalName, type CreateCronInput, type CreateCronResult, CreateOrganization, type CreateOrganizationProps, CronBuilder, type CronBuilderProps, type CronSchedule, type CustomDestinationConfig, DEFAULT_ANALYTICS_CONFIG, DEFAULT_AUTOCAPTURE_CONFIG, DEFAULT_ERROR_CONFIG, DEFAULT_FLAGS_CONFIG, DEFAULT_JOBS_CONFIG, DEFAULT_RETRY_DELAYS, DEFAULT_WEB_VITALS_CONFIG, type DLQOptions, type DataState, DatabaseContext, type DatabaseContextValue, type DeadClick, DeadClickDetector, type DestinationConfig, type ConsentCategory as DestinationConsentCategory, type DestinationPlatform, type DestinationRouter, type DestinationRouterConfig, DestinationRouterProvider, type DestinationRouterProviderProps, type DestinationType, type DeviceSession, type ElementData, EmailContext, type EmailContextValue, type EmailOptions, type EnabledProvider, type EnvironmentType, ErrorBoundary, type ErrorBoundaryFallbackProps, type ErrorBoundaryProps, type Breadcrumb as ErrorBreadcrumb, type ErrorCallback, type CaptureExceptionOptions as ErrorCaptureExceptionOptions, type CaptureMessageOptions as ErrorCaptureMessageOptions, type ErrorCode, type ErrorEvent, ErrorTracker, type ErrorTrackingConfig, type EvaluationContext, type EvaluationReason, type EvaluationResult, type EventCallback, EventViewer, type EventViewerProps, type ExceptionValue, type Experiment, type ExperimentExposure, ExperimentManager, FacebookPixel, type FacebookPixelProps, type FeatureFlag, type FeatureFlagContextValue, type FeatureFlagDefinition, FeatureFlagProvider, type FeatureFlagProviderProps, type FeatureFlagsConfig, FeatureFlagsProvider, type FeatureFlagsProviderProps, FeatureGate, type FeatureGateProps, FeatureValue, type FeatureValueProps, FeatureVariant, type FeatureVariantProps, FeedbackWidget, type FeedbackWidgetProps, FileUpload, type FileUploadProps, type FlagClientEvent, type FlagDefinition, FlagDevTools, type FlagDevToolsProps, type FlagOverrides, FlagStream, type FlagValue, type FlagVariant, type FlagValue$1 as FlagsValue, ForgotPassword, type ForgotPasswordFormState, type ForgotPasswordProps, type GA4DestinationConfig, type GTMDestinationConfig, GoogleAnalytics, type GoogleAnalyticsProps, GoogleConsentMode, type GoogleConsentModeConfig, type GoogleConsentModeProps, type GoogleConsentState, type GoogleConsentType, GoogleTagManager, type GoogleTagManagerProps, Hotjar, type HotjarProps, ImageUploader, type ImageUploaderProps, type InAppMessage, type InAppMessagePriority, type InAppMessageType, type InAppMessageWithReadStatus, type InboxPreferences, Intercom, type IntercomProps, type InviteInfo, InviteMember, type InviteMemberProps, type Invoice, InvoiceHistory, type InvoiceHistoryProps, type JobContext, type JobDefinition, type JobEvent, type Job$1 as JobInstance, JobList, type JobListProps, type JobOptions, type JobPayload, type JobPriority, type JobResult, JobScheduler, type JobSchedulerProps, type JobStep, JobsClient, type TasksConfig as JobsConfig, JobsContext, type JobsContextValue, type JobStatus$1 as JobsStatus, type KeyType, type KeyValidationResult, type KvRateLimitResult, type KvSetOptions, type KvZMember, LocalEvaluator, type LoginHistoryEntry, type LoopStep, type MarkerType, MembersList, type MembersListProps, type MetricRating, type MixpanelDestinationConfig, type MobileDevice, Modal, type ModalProps, ModelCard, type ModelCardProps, ModelGrid, type ModelGridProps, ModelSelector, type ModelSelectorProps, MonitoringContext, type MonitoringContextValue, type MonitoringLevel, NavigationTracker, NetworkError, type NetworkRequest, type NewAPIKey, NewsletterContext, type NewsletterContextValue, NewsletterForm, type NewsletterFormProps, NotFoundError, type Notification, NotificationBell, type NotificationBellProps, NotificationList, type NotificationListProps, NotificationSettings, type NotificationSettingsProps, OAuthButton, type OAuthButtonProps, OAuthButtons, type OAuthButtonsProps, type OAuthProviderInfo, OrDivider, type OrgRole, type Organization, type OrganizationInvitation, OrganizationList, type OrganizationListProps, type OrganizationMember, OrganizationProfile, type OrganizationProfileProps, OrganizationSwitcher, type OrganizationSwitcherProps, type ParallelStep, type PasskeyInfo, type PaymentMethod, PaymentMethodManager, type PaymentMethodManagerProps, type Plan, type ClickIds as PlatformClickIds, PlatformContext, type PlatformContextValue, type PostHogDestinationConfig, type PreSubmitResult, type PreferenceOption, PremiumOnly, PricingTable, type PricingTableProps, type PrivacyMode, type ProfileSection, Protect, type ProtectProps, ProtectedRoute, type PushPreferences, PushPrompt, type PushPromptProps, type QueryResult, type RageClick, RageClickDetector, RateLimitError, type RealtimeStatus, type RecorderState, type RecorderStatus, ReferralCard, type ReferralCardProps, type ReferralStats, type ReferrerData, ResetPassword, type ResetPasswordFormState, type ResetPasswordProps, type RetryDelayStrategy, DEFAULT_CONFIG as SESSION_REPLAY_DEFAULT_CONFIG, type SagaStep, type SamplingStrategy, type ScheduleJobInput as ScheduleTaskInput, type ScheduleJobResult as ScheduleTaskResult, type ScheduledJob, type ScriptManagerContextValue, ScriptManagerProvider, type ScriptQueueItem, type ScriptStrategy, ScrollThrashingDetector, SdkAuthContext, type SdkAuthContextValue, type SdkConnectedAccount, type SdkLoginHistoryEntry, type SdkPasskeyInfo, type SdkPasswordStatus, type SdkSecurityAlert, type SdkSecurityAlertsResult, type SdkTwoFactorStatus, type SdkUserProfile, SecurityContext, type SecurityContextValue, type SecurityFactor, type SecurityGrade, type SecurityPriority, type SecurityRecommendation, type SecurityScoreResult, SecuritySettings, type SecuritySettingsProps, type SegmentDestinationConfig, type SessionData, type SessionMarker, type SessionMetadata, SessionRecorder, type SessionReplayConfig, type SessionSummary, SignIn, SignInForm, type SignInFormProps, type SignInFormState, type SignInMethod, type SignInOptions, type SignInProps, type SignInStep, type SignInWithOAuthOptions, SignUp, SignUpForm, type SignUpFormProps, type SignUpFormState, type SignUpProps, type SignUpStep, type SignUpSubmitResult, SignedIn, SignedOut, SimpleChart, type SimpleChartProps, type AnalyticsEvent as SmartAnalyticsEvent, SpeedInsights, type SpeedInsightsProps, type StackFrame, type StandardRole, StatsCard, type StatsCardProps, StatsGrid, type StatsGridProps, type StepContext, StorageContext, type StorageContextValue, type StorageFile, type StreamMessage, type Subscriber, SubscriberPreferences, type SubscriberPreferencesProps, type SubscriberStatus, type Subscription, type SubworkflowStep, type SylphxClientConfig, type SylphxDestinationConfig, SylphxError, SylphxErrorBoundary, type SylphxErrorBoundaryProps, type SylphxErrorCode, SylphxProvider, type SylphxProviderProps, type TargetingCondition, type TargetingOperator, type TargetingRule, type Task, type TaskRunStatus, TaskScheduler, type TaskSchedulerProps, type TaskStatus, type TaskStatusFilter, type ThemeVariables, type TimeSeriesData, type TrackOptions, type TwoFactorSetupResult, type TwoFactorStatus, UnsubscribeConfirm, type UnsubscribeConfirmProps, type UploadCallback, type UploadOptions, type UploadResult$1 as UploadResult, type UsageItem, UsageOverview, type UsageOverviewProps, type UseAIReturn, type UseAchievementsReturn, type UseAnalyticsQueryOptions, type UseAnalyticsQueryReturn, type UseAnalyticsReturn$1 as UseAnalyticsReturn, type UseAuthReturn, type UseBillingReturn, type UseChatOptions, type UseChatReturn, type UseCombinedMonitoringOptions, type UseCompletionOptions, type UseCompletionReturn, type UseConsentCheckOptions, type UseConsentCheckReturn, type UseConsentGateOptions, type UseConsentGateReturn, type UseConsentReturn, type UseConversionTrackingReturn, type UseDestinationRouterOptions, type UseDestinationRouterReturn, type UseEmailReturn, type UseEmbeddingOptions, type UseEmbeddingReturn, type UseEnhancedErrorTrackingOptions, type UseEnhancedErrorTrackingReturn, type UseErrorBoundaryOptions, type UseErrorTrackingReturn, type UseFeatureFlagOptions, type UseFeatureFlagReturn, type UseFileUploadOptions, type UseFileUploadReturn, type UseFlagStatusOptions, type UseFlagStatusResult, type UseFeatureFlagsReturn as UseFlagsReturn, type UseForgotPasswordFormOptions, type UseForgotPasswordFormReturn, type UseGlobalErrorHandlerOptions, type UseInboxReturn, type UseKvOptions, type UseKvReturn, type UseLeaderboardReturn, type UseMobilePushReturn, type UseModelsOptions, type UseModelsReturn, type UseNewsletterReturn, type UseNotificationsReturn, type UseOAuthProvidersReturn, type UseOrganizationReturn, type UseRealtimeChannelsOptions, type UseRealtimeOptions, type UseRealtimeReturn, type UseReferralReturn, type UseResetPasswordFormOptions, type UseResetPasswordFormReturn, type UseSafeAchievementsReturn, type UseSafeAnalyticsReturn, type UseSafeAuthReturn, type UseSafeBillingReturn, type UseSafeConsentReturn, type UseSafeLeaderboardReturn, type UseSafeStreakReturn, type UseSafeUserReturn, type UseSearchOptions, type UseSearchReturn, type UseSessionReplayOptions, type UseSessionReplayReturn, type UseSessionReturn, type UseSignInFormOptions, type UseSignInFormReturn, type UseSignUpFormOptions, type UseSignUpFormReturn, type UseAnalyticsReturn as UseSmartAnalyticsReturn, type UseStorageReturn, type UseStreakReturn, type UseSubscriberFormOptions, type UseSubscriberFormReturn, type UseSylphxReturn, type UseTaskRunOptions, type UseTaskRunResult, type UseTasksReturn, type UseUploadResult, type UseUserReturn, type UseWebAnalyticsReturn, type UseWebVitalOptions, type UseWebVitalReturn, type UseWebVitalsAnalyticsOptions, type UseWebVitalsOptions, type UseWebVitalsReturn, type UseWebhookDeliveriesOptions, type UseWebhookDeliveriesReturn, type UseWebhookStatsReturn, type UseWebhooksReturn, UserButton, type UserButtonProps, type UserConsent, UserContext, type UserContextValue, UserProfile, type UserProfileProps, type UtmParams, ValidationError, VerifyEmail, type VerifyEmailProps, type VitalReportPayload, WEB_VITALS_THRESHOLDS, type WaitStep, WebAnalytics, type WebAnalyticsProps, type WebVitalAttribution, type WebVitalMetric, type WebVitalName, type WebVitalsConfig, type WebVitalsReport, type Webhook, type WebhookDelivery, WebhookDeliveryLog, type WebhookDeliveryLogProps, WebhookManager, type WebhookManagerProps, WebhooksContext, type WebhooksContextValue, type WithSessionReplayProps, type Workflow, WorkflowBuilder, type WorkflowDefinition, type WorkflowEvent, type WorkflowOptions, type WorkflowStep, addBreadcrumb as addErrorBreadcrumb, analyzeReferrer, baseStyles, buildElementData, calculateExperimentDuration, calculateSampleSize, checkCoreWebVitals, clearBreadcrumbs as clearErrorBreadcrumbs, conditional, conditionalStyle, createDestinationRouter, createExperiment, createFlagStream, createJobsClient, createStyles, createWorkflow, darkTheme, defaultTheme, delay, detectEnvironment, detectKeyType, detectSensitiveFields, enableAutoCapture, fanOut, fetchFlags, generateElementName, generateEventName, generatePrivacyReport, getAnalyticsTracker, getBucket, getCookieNamespace, getBreadcrumbs as getErrorBreadcrumbs, getEvaluator, getExperimentManager, getMetric, getPrivacyOptions, getRecorder, getTracker, getUserBucket, getWebVitalsReport, initAnalytics, initAutocapture, initErrorTracking, initFeatureFlags, initNavigationTracker, initWebVitals, injectGlobalStyles, isAppId, isDevelopmentKey, isDevelopmentRuntime, isProductionKey, isSecretKey, isSylphxError, isValidRedirectUrl, isWebVitalsInitialized, job, jobIf, loop, mergeStyles, murmurHash3, parallel, pollFlags, resetAnalyticsTracker, resetEvaluator, resetRecorder, resetTracker, resetWebVitals, safeRedirect, saga, sanitizeForLogging, sanitizeUrl as sanitizeReplayUrl, sanitizeUrl$1 as sanitizeUrl, selectVariant, sequence, sleepUntil, subworkflow, toSylphxError, useAI, useAIContext, useAchievements, useAnalytics, useAnalyticsQuery, useAppMetadata, useAuth, useBilling, useChat, useCombinedMonitoring, useCompletion, useComponentTracking, useConfig, useOAuthProviders as useConfigOAuthProviders, useConsent, useConsentCheck, useConsentContext, useConsentGate, useConsentTypes, useConversionTracking, useDatabaseContext, useDestinationRouter, useEmail, useEmailContext, useEmbedding, useEnhancedErrorTracking, useErrorBoundary, useErrorTracking, useExperiment, useFeatureFlag, useFeatureFlagDefinitions, useFeatureFlags$1 as useFeatureFlags, useFeatureTracking, useFileUpload, useFlag, useFlagEvaluation, useFlagJSON, useFlagNumber, useFlagOverrides, useFlagStatus, useFlagString, useFlagStatus as useFlagWithStatus, useFeatureFlags as useFlags, useFlagsReady, useForgotPasswordForm, useFormTracking, useGlobalErrorHandler, useGoogleConsentMode, useInbox, useIsInTreatment, useIsInVariant, useKv, useLeaderboard, useMobilePush, useModal, useModels, useMonitoringContext, useNewsletter, useNewsletterContext, useNotifications, useOAuthProviders$1 as useOAuthProviders, useOrganization, usePageView, usePlans, useProtect, useRealtime, useRealtimeChannels, useReferral, useResetPasswordForm, useRouterContext, useSafeAchievements, useSafeAnalytics, useSafeAuth, useSafeBilling, useSafeConsent, useSafeLeaderboard, useSafeStreak, useSafeUser, useScriptManager, useSdkAuthContext, useSearch, useSecurityContext, useSession, useSessionReplay, useSessionReplayErrorMarker, useSignInForm, useSignUpForm, useAnalyticsHook as useSmartAnalytics, useStorage, useStorageContext, useStreak, useSubscriberForm, useSylphx, useTaskRun, useTasks, useTasksContext, useTimeTracking, useUpload, useUser, useUserContext, useWebAnalytics, useWebVital, useWebVitals, useWebVitalsAnalytics, useWebhookDeliveries, useWebhookStats, useWebhooks, useWebhooksContext, validateAndSanitizeAppId, validateAndSanitizeKey, validateAndSanitizeSecretKey, validateAppId, validateKey, validateSecretKey, validateWorkflow, wait, withRetry, withSessionReplay, withTimeout };
19934
+ export { AIContext, type AIContextValue, type APIKey, APIKeyManager, type APIKeyManagerProps, AccountSection, type AccountSectionProps, type AdditionalField, AdminOnly, type AmplitudeDestinationConfig, type AnalyticsConfig, AnalyticsDashboard, type AnalyticsDashboardProps, type AnalyticsDataPoint, type DeviceContext as AnalyticsDeviceContext, type AnalyticsEvent$1 as AnalyticsEvent, type EventProperties as AnalyticsEventProperties, type PageContext as AnalyticsPageContext, AnalyticsProvider, type AnalyticsProviderProps, type AnalyticsQuery, type AnalyticsQueryResult, type AnalyticsStat, AnalyticsTracker, type UserProperties as AnalyticsUserProperties, type AppConfig, type AppMetadata, type AsyncState, type AttributionData, AuthContext, type AuthContextValue, AuthLoading, type AuthLoginResult, type AuthRegisterResult, type AuthSession, type AuthState, type AuthUser, AuthorizationError, Autocapture, type AutocaptureConfig, AvatarUpload, type AvatarUploadProps, type BaseDestinationConfig, BillingCard, type BillingCardProps, BillingSection, type BillingSectionProps, type Breadcrumb$1 as Breadcrumb, type BreadcrumbType, type CaptureExceptionOptions$1 as CaptureExceptionOptions, type CaptureMessageOptions$1 as CaptureMessageOptions, type CaptureResult, ChatBubble, type ChatBubbleProps, ChatInput, type ChatInputProps, ChatInterface, type ChatInterfaceProps, type ChatMessage, CheckoutButton, type CheckoutButtonProps, type ClickIds, type ConditionalStep, ConfigContext, type ConnectedAccount, type ConsentCategory$1 as ConsentCategory, ConsentContext, type ConsentContextValue, ConsentGuard, type ConsentGuardProps, ConsentPreferences, type ConsentPreferencesProps, ConsentScript, type ConsentScriptProps, type ConsentType, type ConsoleLog, type ConversionData, CookieBanner, type CookieBannerProps, type CoreWebVitalName, type CreateCronInput, type CreateCronResult, CreateOrganization, type CreateOrganizationProps, type CreatePermissionInput, type CreateRoleInput, CronBuilder, type CronBuilderProps, type CronSchedule, type CustomDestinationConfig, DEFAULT_ANALYTICS_CONFIG, DEFAULT_AUTOCAPTURE_CONFIG, DEFAULT_ERROR_CONFIG, DEFAULT_FLAGS_CONFIG, DEFAULT_JOBS_CONFIG, DEFAULT_RETRY_DELAYS, DEFAULT_WEB_VITALS_CONFIG, type DLQOptions, type DataState, DatabaseContext, type DatabaseContextValue, type DeadClick, DeadClickDetector, type DestinationConfig, type ConsentCategory as DestinationConsentCategory, type DestinationPlatform, type DestinationRouter, type DestinationRouterConfig, DestinationRouterProvider, type DestinationRouterProviderProps, type DestinationType, type DeviceSession, type ElementData, EmailContext, type EmailContextValue, type EmailOptions, type EnabledProvider, type EnvironmentType, ErrorBoundary, type ErrorBoundaryFallbackProps, type ErrorBoundaryProps, type Breadcrumb as ErrorBreadcrumb, type ErrorCallback, type CaptureExceptionOptions as ErrorCaptureExceptionOptions, type CaptureMessageOptions as ErrorCaptureMessageOptions, type ErrorCode, type ErrorEvent, ErrorTracker, type ErrorTrackingConfig, type EvaluationContext, type EvaluationReason, type EvaluationResult, type EventCallback, EventViewer, type EventViewerProps, type ExceptionValue, type Experiment, type ExperimentExposure, ExperimentManager, FacebookPixel, type FacebookPixelProps, type FeatureFlag, type FeatureFlagContextValue, type FeatureFlagDefinition, FeatureFlagProvider, type FeatureFlagProviderProps, type FeatureFlagsConfig, FeatureFlagsProvider, type FeatureFlagsProviderProps, FeatureGate, type FeatureGateProps, FeatureValue, type FeatureValueProps, FeatureVariant, type FeatureVariantProps, FeedbackWidget, type FeedbackWidgetProps, FileUpload, type FileUploadProps, type FlagClientEvent, type FlagDefinition, FlagDevTools, type FlagDevToolsProps, type FlagOverrides, FlagStream, type FlagValue, type FlagVariant, type FlagValue$1 as FlagsValue, ForgotPassword, type ForgotPasswordFormState, type ForgotPasswordProps, type GA4DestinationConfig, type GTMDestinationConfig, GoogleAnalytics, type GoogleAnalyticsProps, GoogleConsentMode, type GoogleConsentModeConfig, type GoogleConsentModeProps, type GoogleConsentState, type GoogleConsentType, GoogleTagManager, type GoogleTagManagerProps, Hotjar, type HotjarProps, ImageUploader, type ImageUploaderProps, type InAppMessage, type InAppMessagePriority, type InAppMessageType, type InAppMessageWithReadStatus, type InboxPreferences, Intercom, type IntercomProps, type InviteInfo, InviteMember, type InviteMemberProps, type Invoice, InvoiceHistory, type InvoiceHistoryProps, type JobContext, type JobDefinition, type JobEvent, type Job$1 as JobInstance, JobList, type JobListProps, type JobOptions, type JobPayload, type JobPriority, type JobResult, JobScheduler, type JobSchedulerProps, type JobStep, JobsClient, type TasksConfig as JobsConfig, JobsContext, type JobsContextValue, type JobStatus$1 as JobsStatus, type KeyType, type KeyValidationResult, type KvRateLimitResult, type KvSetOptions, type KvZMember, LocalEvaluator, type LoginHistoryEntry, type LoopStep, type MarkerType, type MemberPermissionsResult, MembersList, type MembersListProps, type MetricRating, type MixpanelDestinationConfig, type MobileDevice, Modal, type ModalProps, ModelCard, type ModelCardProps, ModelGrid, type ModelGridProps, ModelSelector, type ModelSelectorProps, MonitoringContext, type MonitoringContextValue, type MonitoringLevel, NavigationTracker, NetworkError, type NetworkRequest, type NewAPIKey, NewsletterContext, type NewsletterContextValue, NewsletterForm, type NewsletterFormProps, NotFoundError, type Notification, NotificationBell, type NotificationBellProps, NotificationList, type NotificationListProps, NotificationSettings, type NotificationSettingsProps, OAuthButton, type OAuthButtonProps, OAuthButtons, type OAuthButtonsProps, type OAuthProviderInfo, OrDivider, type OrgRole, type Organization, type OrganizationInvitation, OrganizationList, type OrganizationListProps, type OrganizationMember, OrganizationProfile, type OrganizationProfileProps, OrganizationSwitcher, type OrganizationSwitcherProps, type ParallelStep, type PasskeyInfo, type PaymentMethod, PaymentMethodManager, type PaymentMethodManagerProps, type Permission, type Plan, type ClickIds as PlatformClickIds, PlatformContext, type PlatformContextValue, type PostHogDestinationConfig, type PreSubmitResult, type PreferenceOption, PremiumOnly, PricingTable, type PricingTableProps, type PrivacyMode, type ProfileSection, Protect, type ProtectProps, ProtectedRoute, type PushPreferences, PushPrompt, type PushPromptProps, type QueryResult, type RageClick, RageClickDetector, RateLimitError, type RealtimeStatus, type RecorderState, type RecorderStatus, ReferralCard, type ReferralCardProps, type ReferralStats, type ReferrerData, ResetPassword, type ResetPasswordFormState, type ResetPasswordProps, type RetryDelayStrategy, type Role, DEFAULT_CONFIG as SESSION_REPLAY_DEFAULT_CONFIG, type SagaStep, type SamplingStrategy, type ScheduleJobInput as ScheduleTaskInput, type ScheduleJobResult as ScheduleTaskResult, type ScheduledJob, type ScriptManagerContextValue, ScriptManagerProvider, type ScriptQueueItem, type ScriptStrategy, ScrollThrashingDetector, SdkAuthContext, type SdkAuthContextValue, type SdkConnectedAccount, type SdkLoginHistoryEntry, type SdkPasskeyInfo, type SdkPasswordStatus, type SdkSecurityAlert, type SdkSecurityAlertsResult, type SdkTwoFactorStatus, type SdkUserProfile, SecurityContext, type SecurityContextValue, type SecurityFactor, type SecurityGrade, type SecurityPriority, type SecurityRecommendation, type SecurityScoreResult, SecuritySettings, type SecuritySettingsProps, type SegmentDestinationConfig, type SessionData, type SessionMarker, type SessionMetadata, SessionRecorder, type SessionReplayConfig, type SessionSummary, SignIn, SignInForm, type SignInFormProps, type SignInFormState, type SignInMethod, type SignInOptions, type SignInProps, type SignInStep, type SignInWithOAuthOptions, SignUp, SignUpForm, type SignUpFormProps, type SignUpFormState, type SignUpProps, type SignUpStep, type SignUpSubmitResult, SignedIn, SignedOut, SimpleChart, type SimpleChartProps, type AnalyticsEvent as SmartAnalyticsEvent, SpeedInsights, type SpeedInsightsProps, type StackFrame, type StandardRole, StatsCard, type StatsCardProps, StatsGrid, type StatsGridProps, type StepContext, StorageContext, type StorageContextValue, type StorageFile, type StreamMessage, type Subscriber, SubscriberPreferences, type SubscriberPreferencesProps, type SubscriberStatus, type Subscription, type SubworkflowStep, type SylphxClientConfig, type SylphxDestinationConfig, SylphxError, SylphxErrorBoundary, type SylphxErrorBoundaryProps, type SylphxErrorCode, SylphxProvider, type SylphxProviderProps, type TargetingCondition, type TargetingOperator, type TargetingRule, type Task, type TaskRunStatus, TaskScheduler, type TaskSchedulerProps, type TaskStatus, type TaskStatusFilter, type ThemeVariables, type TimeSeriesData, type TrackOptions, type TwoFactorSetupResult, type TwoFactorStatus, UnsubscribeConfirm, type UnsubscribeConfirmProps, type UpdateRoleInput, type UploadCallback, type UploadOptions, type UploadResult$1 as UploadResult, type UsageItem, UsageOverview, type UsageOverviewProps, type UseAIReturn, type UseAchievementsReturn, type UseAnalyticsQueryOptions, type UseAnalyticsQueryReturn, type UseAnalyticsReturn$1 as UseAnalyticsReturn, type UseAuthReturn, type UseBillingReturn, type UseChatOptions, type UseChatReturn, type UseCombinedMonitoringOptions, type UseCompletionOptions, type UseCompletionReturn, type UseConsentCheckOptions, type UseConsentCheckReturn, type UseConsentGateOptions, type UseConsentGateReturn, type UseConsentReturn, type UseConversionTrackingReturn, type UseDestinationRouterOptions, type UseDestinationRouterReturn, type UseEmailReturn, type UseEmbeddingOptions, type UseEmbeddingReturn, type UseEnhancedErrorTrackingOptions, type UseEnhancedErrorTrackingReturn, type UseErrorBoundaryOptions, type UseErrorTrackingReturn, type UseFeatureFlagOptions, type UseFeatureFlagReturn, type UseFileUploadOptions, type UseFileUploadReturn, type UseFlagStatusOptions, type UseFlagStatusResult, type UseFeatureFlagsReturn as UseFlagsReturn, type UseForgotPasswordFormOptions, type UseForgotPasswordFormReturn, type UseGlobalErrorHandlerOptions, type UseHasPermissionReturn, type UseInboxReturn, type UseKvOptions, type UseKvReturn, type UseLeaderboardReturn, type UseMemberPermissionsReturn, type UseMobilePushReturn, type UseModelsOptions, type UseModelsReturn, type UseNewsletterReturn, type UseNotificationsReturn, type UseOAuthProvidersReturn, type UseOrganizationReturn, type UsePermissionsReturn, type UseRealtimeChannelsOptions, type UseRealtimeOptions, type UseRealtimeReturn, type UseReferralReturn, type UseResetPasswordFormOptions, type UseResetPasswordFormReturn, type UseRolesReturn, type UseSafeAchievementsReturn, type UseSafeAnalyticsReturn, type UseSafeAuthReturn, type UseSafeBillingReturn, type UseSafeConsentReturn, type UseSafeLeaderboardReturn, type UseSafeStreakReturn, type UseSafeUserReturn, type UseSearchOptions, type UseSearchReturn, type UseSessionReplayOptions, type UseSessionReplayReturn, type UseSessionReturn, type UseSignInFormOptions, type UseSignInFormReturn, type UseSignUpFormOptions, type UseSignUpFormReturn, type UseAnalyticsReturn as UseSmartAnalyticsReturn, type UseStorageReturn, type UseStreakReturn, type UseSubscriberFormOptions, type UseSubscriberFormReturn, type UseSylphxReturn, type UseTaskRunOptions, type UseTaskRunResult, type UseTasksReturn, type UseUploadResult, type UseUserReturn, type UseWebAnalyticsReturn, type UseWebVitalOptions, type UseWebVitalReturn, type UseWebVitalsAnalyticsOptions, type UseWebVitalsOptions, type UseWebVitalsReturn, type UseWebhookDeliveriesOptions, type UseWebhookDeliveriesReturn, type UseWebhookStatsReturn, type UseWebhooksReturn, UserButton, type UserButtonProps, type UserConsent, UserContext, type UserContextValue, UserProfile, type UserProfileProps, type UtmParams, ValidationError, VerifyEmail, type VerifyEmailProps, type VitalReportPayload, WEB_VITALS_THRESHOLDS, type WaitStep, WebAnalytics, type WebAnalyticsProps, type WebVitalAttribution, type WebVitalMetric, type WebVitalName, type WebVitalsConfig, type WebVitalsReport, type Webhook, type WebhookDelivery, WebhookDeliveryLog, type WebhookDeliveryLogProps, WebhookManager, type WebhookManagerProps, WebhooksContext, type WebhooksContextValue, type WithSessionReplayProps, type Workflow, WorkflowBuilder, type WorkflowDefinition, type WorkflowEvent, type WorkflowOptions, type WorkflowStep, addBreadcrumb as addErrorBreadcrumb, analyzeReferrer, baseStyles, buildElementData, calculateExperimentDuration, calculateSampleSize, checkCoreWebVitals, clearBreadcrumbs as clearErrorBreadcrumbs, conditional, conditionalStyle, createDestinationRouter, createExperiment, createFlagStream, createJobsClient, createStyles, createWorkflow, darkTheme, defaultTheme, delay, detectEnvironment, detectKeyType, detectSensitiveFields, enableAutoCapture, fanOut, fetchFlags, generateElementName, generateEventName, generatePrivacyReport, getAnalyticsTracker, getBucket, getCookieNamespace, getBreadcrumbs as getErrorBreadcrumbs, getEvaluator, getExperimentManager, getMetric, getPrivacyOptions, getRecorder, getTracker, getUserBucket, getWebVitalsReport, initAnalytics, initAutocapture, initErrorTracking, initFeatureFlags, initNavigationTracker, initWebVitals, injectGlobalStyles, isAppId, isDevelopmentKey, isDevelopmentRuntime, isProductionKey, isSecretKey, isSylphxError, isValidRedirectUrl, isWebVitalsInitialized, job, jobIf, loop, mergeStyles, murmurHash3, parallel, pollFlags, resetAnalyticsTracker, resetEvaluator, resetRecorder, resetTracker, resetWebVitals, safeRedirect, saga, sanitizeForLogging, sanitizeUrl as sanitizeReplayUrl, sanitizeUrl$1 as sanitizeUrl, selectVariant, sequence, sleepUntil, subworkflow, toSylphxError, useAI, useAIContext, useAchievements, useAnalytics, useAnalyticsQuery, useAppMetadata, useAuth, useBilling, useChat, useCombinedMonitoring, useCompletion, useComponentTracking, useConfig, useOAuthProviders as useConfigOAuthProviders, useConsent, useConsentCheck, useConsentContext, useConsentGate, useConsentTypes, useConversionTracking, useDatabaseContext, useDestinationRouter, useEmail, useEmailContext, useEmbedding, useEnhancedErrorTracking, useErrorBoundary, useErrorTracking, useExperiment, useFeatureFlag, useFeatureFlagDefinitions, useFeatureFlags$1 as useFeatureFlags, useFeatureTracking, useFileUpload, useFlag, useFlagEvaluation, useFlagJSON, useFlagNumber, useFlagOverrides, useFlagStatus, useFlagString, useFlagStatus as useFlagWithStatus, useFeatureFlags as useFlags, useFlagsReady, useForgotPasswordForm, useFormTracking, useGlobalErrorHandler, useGoogleConsentMode, useHasPermission, useInbox, useIsInTreatment, useIsInVariant, useKv, useLeaderboard, useMemberPermissions, useMobilePush, useModal, useModels, useMonitoringContext, useNewsletter, useNewsletterContext, useNotifications, useOAuthProviders$1 as useOAuthProviders, useOrganization, usePageView, usePermissions, usePlans, useProtect, useRealtime, useRealtimeChannels, useReferral, useResetPasswordForm, useRoles, useRouterContext, useSafeAchievements, useSafeAnalytics, useSafeAuth, useSafeBilling, useSafeConsent, useSafeLeaderboard, useSafeStreak, useSafeUser, useScriptManager, useSdkAuthContext, useSearch, useSecurityContext, useSession, useSessionReplay, useSessionReplayErrorMarker, useSignInForm, useSignUpForm, useAnalyticsHook as useSmartAnalytics, useStorage, useStorageContext, useStreak, useSubscriberForm, useSylphx, useTaskRun, useTasks, useTasksContext, useTimeTracking, useUpload, useUser, useUserContext, useWebAnalytics, useWebVital, useWebVitals, useWebVitalsAnalytics, useWebhookDeliveries, useWebhookStats, useWebhooks, useWebhooksContext, validateAndSanitizeAppId, validateAndSanitizeKey, validateAndSanitizeSecretKey, validateAppId, validateKey, validateSecretKey, validateWorkflow, wait, withRetry, withSessionReplay, withTimeout };