import * as React from 'react'; export declare type AuthProviderInfo = { name: string; state: string; codeVerifier: string; codeChallenge: string; codeChallengeMethod: string; authUrl: string; }; export declare type RegisterWithEmailType = (email: string, password: string) => Promise; export declare type SignInWithEmailType = (email: string, password: string) => Promise; export declare type SignInWithProviderType = (provider: string) => Promise; export declare type SubmitProviderResultType = (url: string) => Promise; export declare type SignOutType = () => void; export declare type SendPasswordResetEmailType = (email: string) => Promise; export declare type SendEmailVerificationType = (email: string) => Promise; export declare type UpdateProfileType = (id: string, record: {}) => Promise; export declare type UpdateEmailType = (email: string) => Promise; export declare type DeleteUserType = (id: string) => Promise; export interface AuthActions { registerWithEmail: RegisterWithEmailType; signInWithEmail: SignInWithEmailType; signInWithProvider: SignInWithProviderType; submitProviderResult: SubmitProviderResultType; signOut: SignOutType; sendPasswordResetEmail: SendPasswordResetEmailType; sendEmailVerification: SendEmailVerificationType; updateProfile: UpdateProfileType; updateEmail: UpdateEmailType; deleteUser: DeleteUserType; } export declare const AuthContext: React.Context; export declare type AuthProviderProps = { children: React.ReactNode; webRedirectUrl: string; mobileRedirectUrl: string; openURL: (url: string) => Promise; }; export declare const AuthProvider: (props: AuthProviderProps) => JSX.Element;