import type { ResendEmailVerification, SignInFormValuesTree, SignInResource, SignInResponseTree, SignInStatus } from "@tern-secure/types"; import type { Auth, UserCredential } from "firebase/auth"; import { TernSecureBase } from "./Base"; export type TernRequestInit = RequestInit; export type SignInParams = { idToken: string; csrfToken: string | undefined; }; export declare class SignIn extends TernSecureBase implements SignInResource { pathRoot: string; status?: SignInStatus | undefined; private auth; private csrfToken; private _currentUser; constructor(auth: Auth, csrfToken: string | undefined); signInWithCredential: (credential: UserCredential) => Promise | null>; withEmailAndPassword: (params: SignInFormValuesTree) => Promise; withCredential: (params: SignInFormValuesTree) => Promise; withSocialProvider: (provider: string, options?: { mode?: "popup" | "redirect"; }) => Promise; completeMfaSignIn: (_mfaToken: string, _mfaContext?: any) => Promise; sendPasswordResetEmail: (email: string) => Promise; resendEmailVerification: () => Promise; private getProviderConfig; private authRedirectResult; private executeAuthMethod; private _signInWithRedirect; private _signInWithPopUp; checkRedirectResult(): Promise; } //# sourceMappingURL=SignIn.d.ts.map