/** * Login Modal for @ollaid/native-sso * Complete login flow aligned with Native SSO design * * @version 2.7.9 */ import type { UserInfos } from '../types/native'; export interface LoginModalProps { open: boolean; onOpenChange: (open: boolean) => void; onSwitchToSignup: () => void; onLoginSuccess?: (token: string, user: UserInfos) => void; saasApiUrl: string; iamApiUrl: string; logoUrl?: string; loading?: boolean; showSwitchToSignup?: boolean; homeUrl?: string; /** Type de compte par défaut à persister dans le storage du package */ defaultAccountType?: 'user' | 'client'; /** Pre-fill phone number and go directly to phone-input step */ initialPhone?: string; } export declare function LoginModal({ open, onOpenChange, onSwitchToSignup, onLoginSuccess, saasApiUrl, iamApiUrl, logoUrl, loading, showSwitchToSignup, homeUrl, defaultAccountType, initialPhone, }: LoginModalProps): import("react/jsx-runtime").JSX.Element; export default LoginModal;