import type { UseSignupFormOptions, UseSignupFormReturn } from '../types';
export type { SignupEmailFormValues, SignupEntryMode, SignupForeignFormValues, SignupFormValues, SignupPhoneFormValues, SignupSubmitData, UseSignupFormOptions, UseSignupFormReturn, } from '../types';
/**
 * Form state and validation for the signup screen (full name + phone or email, or foreign: all three).
 *
 * **Dual submission pattern:**
 * - `submitApi` (async): hook owns the flow — validate → submitApi(data) → onSuccess(). Future SSO profile completion plugs in here.
 * - `onSubmit` (sync): caller owns the flow — hook validates then hands data back (used by AuthFlow).
 *
 * **Validation flow:** RHF form data → Zod schema (signupSchemas[mode]) → setFormErrorsFromZod → field-level errors.
 */
export declare function useSignupForm({ mode, defaultPhone, onSubmit, submitApi, onSuccess, onError, }: UseSignupFormOptions): UseSignupFormReturn;
