/** * Signup Form * * Email/password registration form with Identity worker integration. * Emits analytics events and handles loading/error states gracefully. * * Canon: The form disappears; only the action remains. */ interface Props { /** Called when signup form is submitted */ onSubmit: (credentials: { email: string; password: string; name?: string; source?: string; }) => Promise; /** Called when user clicks "Sign in" link */ onSwitchToLogin?: () => void; /** Called when user clicks "Magic link" option */ onSwitchToMagicLink?: () => void; /** External loading state (overrides internal) */ isLoading?: boolean; /** External error message (overrides internal) */ error?: string | null; /** Show magic link option */ showMagicLinkOption?: boolean; /** Show login link */ showLoginLink?: boolean; /** Source property for tracking */ source?: 'io' | 'space' | 'agency' | 'ltd' | 'lms'; } declare const SignupForm: import("svelte").Component; type SignupForm = ReturnType; export default SignupForm;