import { PAGE_STATE, ThirdPartyPlatform } from './constants'; interface AuthFormProps { defaultReturnUrl: string; forgotPasswordUrl?: string; invite?: { hasInvite?: boolean; defaultInviteCode?: string; }; third?: { returnUrl: string; redirect?: boolean; fullscreen?: boolean; params?: { [key: string]: string; }; }; agreements?: { website: string; terms: string; privacy: string; beforeLogin?: (email: string) => boolean | Promise; agreementsTip?: string; }; thirdPartyLoginPlatforms?: ThirdPartyPlatform[]; onLoginSuccess?: () => void | Promise; onLoginFail?: (error: Error) => void | Promise; onRegisterSuccess?: (value?: any) => void | Promise; onRegisterFail?: (error: Error) => void | Promise; registerAndLogin?: boolean; locale?: string; onPageStateChange?: (pageState: string) => void; pageState?: (typeof PAGE_STATE)[keyof typeof PAGE_STATE]; } export declare function AuthForm({ defaultReturnUrl, forgotPasswordUrl, invite, third, agreements, onLoginSuccess, onLoginFail, onRegisterSuccess, onRegisterFail, registerAndLogin, onPageStateChange, thirdPartyLoginPlatforms, pageState: _pageState, locale: _locale, }: AuthFormProps): import("react/jsx-runtime").JSX.Element; export {};