///
import { ThirdPartyPlatform } from './constants';
interface AuthFormContextValue {
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;
};
pageState: string;
email: string;
password: string;
code: string;
inviteCode: string;
checked: boolean;
confirmedPassword: string;
updatePageState: (newPageState: string) => void;
login: (email: string, password: string) => void;
register: (email: string, code: string, password: string, inviteCode?: string) => void;
resetPassword: (email: string, code: string, password: string) => void;
setEmail: (email: string) => void;
setPassword: (password: string) => void;
setConfirmedPassword: (password: string) => void;
setCode: (code: string) => void;
setInviteCode: (inviteCode: string) => void;
setChecked: (hasChecked: boolean) => void;
thirdPartyLoginPlatforms?: ThirdPartyPlatform[];
}
export declare const AuthFormProvider: import("react").Provider;
export declare const useAuthFormContext: () => AuthFormContextValue;
export {};