import * as React from 'react'; export type RegisterWithEmailType = (email: string, password: string) => Promise; export type SignInWithEmailType = (email: string, password: string) => Promise; export type SignInWithProviderType = (provider: string) => Promise; export type SubmitProviderResultType = (url: string) => Promise; export type SignOutType = () => void; export type SendPasswordResetEmailType = (email: string) => Promise; export type SendEmailVerificationType = (email: string) => Promise; export type UpdateProfileType = (id: string, record: {}) => Promise; export type UpdateEmailType = (email: string) => Promise; export 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 type AuthProviderProps = { children: React.ReactNode; webRedirectUrl: string; mobileRedirectUrl: string; openURL: (url: string) => Promise; }; export declare const AuthProvider: (props: AuthProviderProps) => React.JSX.Element;