import React from 'react'; export type TrainingScreenMode = 'mock' | 'fast' | 'real' | 'none'; export interface UniversalOnboardingProps { visible: boolean; onClose: () => void; AppName: string; requestData?: any; inferenceData?: any; returnLink?: string; onComplete?: (apiUrl: string, token: string, userData: any) => void | Promise; embedd?: boolean; debug?: boolean; test?: boolean; testMode?: boolean; /** @deprecated Use priorityPlatform. Kept as a compatibility alias. */ preferredPlatform?: string | string[]; primaryAuthOnly?: boolean; /** Filter which platforms to show. If not provided, shows all platforms. Order is preserved. */ allowedPlatforms?: string[]; /** Platforms to show "Highly Recommended" badge next to. */ recommendedPlatforms?: string[]; /** Whether to show the Skip button on platform connections. Defaults to true. */ allowSkip?: boolean; /** If true, SDK automatically fetches approved data before onComplete. Defaults to true. */ autoFetch?: boolean; /** * If true, training runs in background without showing training UI. * - backgroundLoadData=false (default): Shows training progress UI to user * - backgroundLoadData=true: Skips training UI, returns immediately with training.statusUrl * (if autoFetch=true, SDK polls in background then returns apiResponse when ready) */ backgroundLoadData?: boolean; /** Controls the SDK training/loading UI style. Defaults to "fast", or "none" when backgroundLoadData=true. */ trainingScreenMode?: TrainingScreenMode; /** If true, trait generation is capped to a smaller chunk count for faster completion. */ fastTraits?: boolean; /** Close the SDK modal after consent completion. Defaults to true for npm parity. */ closeOnConsent?: boolean; /** Optional reasoning shown on the insufficient-data training warning. */ insufficientDataReasoning?: string | null; /** Ask backend inference to return the MBTI 16-type preference preset when preferences is approved. */ preferencesMbti?: boolean; /** Platform to prioritize in the connector/auth flow. */ priorityPlatform?: string | null; /** New welcome flow flag forwarded for parity; UniversalOnboarding owns the legacy flow. */ useNewWelcomeFlow?: boolean; /** Application id override for backend payloads. */ appId?: string | null; /** Display/routing name forwarded to backend payloads. */ webpageName?: string; /** Optional signup attribution metadata forwarded to SDK auth endpoints. */ signupAttribution?: Record | string | null; /** Optional custom message shown on the pre-onboarding explainer screen. */ dataUsageDescription?: string; } export declare const UniversalOnboarding: React.FC; //# sourceMappingURL=UniversalOnboarding.d.ts.map