/** * Magic Link Form * * Passwordless email authentication form with Identity worker integration. * Sends a magic link to the user's email for frictionless sign-in. * * Canon: Passwords are friction. The email is the identity. */ interface Props { /** Called when magic link form is submitted */ onSubmit: (email: string) => Promise; /** Called when user clicks "Sign in with password" link */ onSwitchToLogin?: () => void; /** External loading state (overrides internal) */ isLoading?: boolean; /** External error message (overrides internal) */ error?: string | null; /** Show login with password option */ showPasswordOption?: boolean; } declare const MagicLinkForm: import("svelte").Component; type MagicLinkForm = ReturnType; export default MagicLinkForm;