@sylphx/sdk 0.3.7 → 0.4.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
  */
@@ -13108,6 +13118,325 @@ interface SylphxProviderProps {
13108
13118
  */
13109
13119
  declare function SylphxProvider({ children, appId, projectRef: providedRef, platformUrl: providedPlatformUrl, afterSignOutUrl, vapidPublicKey, autoTracking, config, authPrefix, }: SylphxProviderProps): react_jsx_runtime.JSX.Element;
13110
13120
 
13121
+ /**
13122
+ * Permission Functions
13123
+ *
13124
+ * Pure functions for permission management — no hidden state.
13125
+ * Each function takes config as the first parameter.
13126
+ *
13127
+ * Uses REST API at /permissions/* for project-scoped operations.
13128
+ * Uses REST API at /orgs/{orgId}/members/{memberId}/permissions for member checks.
13129
+ *
13130
+ * Types are self-contained (not dependent on generated OpenAPI spec) because
13131
+ * the RBAC routes were added after the last spec generation.
13132
+ */
13133
+
13134
+ /**
13135
+ * A permission definition within a project.
13136
+ *
13137
+ * Permissions are the atomic building blocks of RBAC roles.
13138
+ * They use colon-separated keys (e.g. "org:members:read", "payroll:approve").
13139
+ */
13140
+ interface Permission {
13141
+ /** Prefixed permission ID (e.g. "perm_xxx") */
13142
+ id: string;
13143
+ /** Unique key within the project (e.g. "org:members:read") */
13144
+ key: string;
13145
+ /** Human-readable name */
13146
+ name: string;
13147
+ /** Optional description */
13148
+ description: string | null;
13149
+ /** Whether this is a system-defined permission (immutable) */
13150
+ isSystem: boolean;
13151
+ /** ISO 8601 creation timestamp */
13152
+ createdAt: string;
13153
+ }
13154
+ /**
13155
+ * Input for creating a custom permission.
13156
+ */
13157
+ interface CreatePermissionInput {
13158
+ /** Unique key — colon-separated lowercase segments (e.g. "org:leave:approve") */
13159
+ key: string;
13160
+ /** Human-readable name */
13161
+ name: string;
13162
+ /** Optional description */
13163
+ description?: string;
13164
+ }
13165
+ /**
13166
+ * Resolved permissions for a member, including their assigned role.
13167
+ */
13168
+ interface MemberPermissionsResult {
13169
+ /** Prefixed user ID of the member */
13170
+ memberId: string;
13171
+ /** Assigned role (null if no role assigned) */
13172
+ role: {
13173
+ key: string;
13174
+ name: string;
13175
+ } | null;
13176
+ /** Flattened, deduplicated permission keys from all assigned roles */
13177
+ permissions: string[];
13178
+ }
13179
+
13180
+ /**
13181
+ * Role Functions
13182
+ *
13183
+ * Pure functions for role management — no hidden state.
13184
+ * Each function takes config as the first parameter.
13185
+ *
13186
+ * Uses REST API at /roles/* for project-scoped operations.
13187
+ * Uses REST API at /orgs/{orgId}/members/{memberId}/assign-role for assignment.
13188
+ *
13189
+ * Types are self-contained (not dependent on generated OpenAPI spec) because
13190
+ * the RBAC routes were added after the last spec generation.
13191
+ */
13192
+
13193
+ /**
13194
+ * A role definition within a project.
13195
+ *
13196
+ * Roles bundle permissions into named groups that can be assigned to
13197
+ * organization members (e.g. "HR Manager", "Payroll Admin").
13198
+ */
13199
+ interface Role {
13200
+ /** Prefixed role ID (e.g. "role_xxx") */
13201
+ id: string;
13202
+ /** Unique key within the project (e.g. "hr_manager") */
13203
+ key: string;
13204
+ /** Human-readable name */
13205
+ name: string;
13206
+ /** Optional description */
13207
+ description: string | null;
13208
+ /** Whether this is a system-defined role (metadata immutable) */
13209
+ isSystem: boolean;
13210
+ /** Whether this role is automatically assigned to new org members */
13211
+ isDefault: boolean;
13212
+ /** Display order (lower = higher priority) */
13213
+ sortOrder: number;
13214
+ /** Permission keys assigned to this role */
13215
+ permissions: string[];
13216
+ /** ISO 8601 creation timestamp */
13217
+ createdAt: string;
13218
+ /** ISO 8601 update timestamp (present on roles route response) */
13219
+ updatedAt?: string;
13220
+ }
13221
+ /**
13222
+ * Input for creating a custom role.
13223
+ */
13224
+ interface CreateRoleInput {
13225
+ /** Unique key — lowercase alphanumeric with underscores (e.g. "hr_manager") */
13226
+ key: string;
13227
+ /** Human-readable name */
13228
+ name: string;
13229
+ /** Optional description */
13230
+ description?: string;
13231
+ /** Permission keys to assign to this role */
13232
+ permissions?: string[];
13233
+ /** Whether to auto-assign to new org members */
13234
+ isDefault?: boolean;
13235
+ /** Display order (lower = higher priority) */
13236
+ sortOrder?: number;
13237
+ }
13238
+ /**
13239
+ * Input for updating an existing role.
13240
+ *
13241
+ * System role metadata (name, description) is immutable, but their
13242
+ * permissions can be changed.
13243
+ */
13244
+ interface UpdateRoleInput {
13245
+ /** Human-readable name (ignored for system roles) */
13246
+ name?: string;
13247
+ /** Description (ignored for system roles) */
13248
+ description?: string | null;
13249
+ /** Permission keys to assign (replaces existing) */
13250
+ permissions?: string[];
13251
+ /** Whether to auto-assign to new org members */
13252
+ isDefault?: boolean;
13253
+ /** Display order */
13254
+ sortOrder?: number;
13255
+ }
13256
+
13257
+ /**
13258
+ * RBAC Hooks
13259
+ *
13260
+ * React hooks for permissions and roles management.
13261
+ *
13262
+ * ## Hook Types
13263
+ *
13264
+ * - **usePermissions()** — List project permissions (admin, React Query)
13265
+ * - **useRoles()** — List project roles (admin, React Query)
13266
+ * - **useMemberPermissions(orgIdOrSlug, memberId)** — Get member's resolved permissions
13267
+ * - **useHasPermission(permissions, required)** — Pure client-side permission check
13268
+ *
13269
+ * ## Architecture
13270
+ *
13271
+ * Admin hooks (usePermissions, useRoles) call the SDK pure functions with a
13272
+ * config derived from PlatformContext, wrapped in React Query for caching.
13273
+ *
13274
+ * useHasPermission is a pure synchronous check — no API call, no context needed.
13275
+ * It operates on a permissions array (from JWT claims or getMemberPermissions).
13276
+ */
13277
+
13278
+ interface UsePermissionsReturn {
13279
+ /** All permissions for the current project */
13280
+ permissions: Permission[];
13281
+ /** Whether permissions are loading */
13282
+ isLoading: boolean;
13283
+ /** Loading error */
13284
+ error: Error | null;
13285
+ /** Refresh the permissions list */
13286
+ refresh: () => Promise<void>;
13287
+ }
13288
+ /**
13289
+ * Hook to list all permissions for the current project.
13290
+ *
13291
+ * Uses React Query for caching and deduplication. Requires the SDK
13292
+ * to be configured with a secret key (admin operation).
13293
+ *
13294
+ * @example
13295
+ * ```tsx
13296
+ * function PermissionList() {
13297
+ * const { permissions, isLoading } = usePermissions()
13298
+ *
13299
+ * if (isLoading) return <Spinner />
13300
+ *
13301
+ * return (
13302
+ * <ul>
13303
+ * {permissions.map(p => (
13304
+ * <li key={p.key}>
13305
+ * {p.name} ({p.key})
13306
+ * {p.isSystem && <Badge>System</Badge>}
13307
+ * </li>
13308
+ * ))}
13309
+ * </ul>
13310
+ * )
13311
+ * }
13312
+ * ```
13313
+ */
13314
+ declare function usePermissions(): UsePermissionsReturn;
13315
+ interface UseRolesReturn {
13316
+ /** All roles for the current project (with permission keys) */
13317
+ roles: Role[];
13318
+ /** Whether roles are loading */
13319
+ isLoading: boolean;
13320
+ /** Loading error */
13321
+ error: Error | null;
13322
+ /** Refresh the roles list */
13323
+ refresh: () => Promise<void>;
13324
+ }
13325
+ /**
13326
+ * Hook to list all roles for the current project.
13327
+ *
13328
+ * Returns both system-defined and custom roles, each with their
13329
+ * assigned permission keys. Uses React Query for caching.
13330
+ *
13331
+ * @example
13332
+ * ```tsx
13333
+ * function RoleList() {
13334
+ * const { roles, isLoading } = useRoles()
13335
+ *
13336
+ * if (isLoading) return <Spinner />
13337
+ *
13338
+ * return (
13339
+ * <ul>
13340
+ * {roles.map(r => (
13341
+ * <li key={r.key}>
13342
+ * {r.name} — {r.permissions.length} permissions
13343
+ * {r.isDefault && <Badge>Default</Badge>}
13344
+ * </li>
13345
+ * ))}
13346
+ * </ul>
13347
+ * )
13348
+ * }
13349
+ * ```
13350
+ */
13351
+ declare function useRoles(): UseRolesReturn;
13352
+ interface UseMemberPermissionsReturn {
13353
+ /** Prefixed user ID of the member */
13354
+ memberId: string | null;
13355
+ /** Assigned role info (null if no role or still loading) */
13356
+ role: {
13357
+ key: string;
13358
+ name: string;
13359
+ } | null;
13360
+ /** Resolved permission keys for the member */
13361
+ permissions: string[];
13362
+ /** Whether data is loading */
13363
+ isLoading: boolean;
13364
+ /** Loading error */
13365
+ error: Error | null;
13366
+ /** Refresh member permissions */
13367
+ refresh: () => Promise<void>;
13368
+ }
13369
+ /**
13370
+ * Hook to get a member's resolved permissions within an organization.
13371
+ *
13372
+ * Returns the flattened, deduplicated set of permission keys from all
13373
+ * roles assigned to the member. Requires the caller to be a member
13374
+ * of the same organization.
13375
+ *
13376
+ * @example
13377
+ * ```tsx
13378
+ * function MemberPermissions({ orgSlug, memberId }: Props) {
13379
+ * const { permissions, role, isLoading } = useMemberPermissions(orgSlug, memberId)
13380
+ *
13381
+ * if (isLoading) return <Spinner />
13382
+ *
13383
+ * return (
13384
+ * <div>
13385
+ * <p>Role: {role?.name ?? 'None'}</p>
13386
+ * <ul>
13387
+ * {permissions.map(p => <li key={p}>{p}</li>)}
13388
+ * </ul>
13389
+ * </div>
13390
+ * )
13391
+ * }
13392
+ * ```
13393
+ */
13394
+ declare function useMemberPermissions(orgIdOrSlug: string | undefined, memberId: string | undefined): UseMemberPermissionsReturn;
13395
+ interface UseHasPermissionReturn {
13396
+ /** Whether the required permission(s) are satisfied */
13397
+ allowed: boolean;
13398
+ /** Whether any of the required permissions are satisfied (OR logic) */
13399
+ allowedAny: boolean;
13400
+ /** Whether all of the required permissions are satisfied (AND logic) */
13401
+ allowedAll: boolean;
13402
+ }
13403
+ /**
13404
+ * Pure client-side permission check hook.
13405
+ *
13406
+ * Operates on a permissions array — no API call. Use with:
13407
+ * - JWT org_permissions claims (from token after switch-org)
13408
+ * - Permissions array from useMemberPermissions()
13409
+ *
13410
+ * Accepts a single permission string or an array. When given an array,
13411
+ * returns both OR (`allowedAny`) and AND (`allowedAll`) results.
13412
+ *
13413
+ * @example
13414
+ * ```tsx
13415
+ * function PayrollButton({ permissions }: { permissions: string[] }) {
13416
+ * const { allowed } = useHasPermission(permissions, 'payroll:approve')
13417
+ *
13418
+ * if (!allowed) return null
13419
+ *
13420
+ * return <button>Approve Payroll</button>
13421
+ * }
13422
+ * ```
13423
+ *
13424
+ * @example
13425
+ * ```tsx
13426
+ * function AdminPanel({ permissions }: { permissions: string[] }) {
13427
+ * const { allowedAll } = useHasPermission(permissions, [
13428
+ * 'org:settings:manage',
13429
+ * 'org:members:manage',
13430
+ * ])
13431
+ *
13432
+ * if (!allowedAll) return <AccessDenied />
13433
+ *
13434
+ * return <AdminSettings />
13435
+ * }
13436
+ * ```
13437
+ */
13438
+ declare function useHasPermission(permissions: string[], required: string | string[]): UseHasPermissionReturn;
13439
+
13111
13440
  interface StorageFile {
13112
13441
  /** File ID */
13113
13442
  id: string;
@@ -19574,4 +19903,4 @@ interface VitalReportPayload {
19574
19903
  */
19575
19904
  declare function SpeedInsights({ appKey, endpoint, samplingRate, debug, reportAllChanges, }: SpeedInsightsProps): null;
19576
19905
 
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 };
19906
+ 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 };