import { CognitoUser } from "amazon-cognito-identity-js";
import { ReferralData } from "../reducers/generalLocal.reducer";
export declare function init(): void;
export declare function getCurrentSession(): Promise<any>;
declare function signUp(email: string, password: string, attributes: string[], referral: ReferralData): Promise<boolean>;
declare function resendSignUp(email: string): Promise<boolean>;
declare function logOut(): Promise<boolean>;
declare function logIn(username: string, password: string): Promise<any>;
declare function getUserInfo(): Promise<any>;
declare function forgotPassword(email: string): Promise<boolean>;
declare function forgotPasswordSubmit(email: string, code: string, password: string): Promise<boolean>;
declare function updateUserAttributes(user: CognitoUser, attributes: any, clientMetadata: any): Promise<boolean>;
declare function currentUserPoolUser(params?: any): Promise<CognitoUser | any>;
export declare const authenticationService: {
    init: typeof init;
    getCurrentSession: typeof getCurrentSession;
    getUserInfo: typeof getUserInfo;
    signUp: typeof signUp;
    resendSignUp: typeof resendSignUp;
    logOut: typeof logOut;
    logIn: typeof logIn;
    forgotPassword: typeof forgotPassword;
    forgotPasswordSubmit: typeof forgotPasswordSubmit;
    updateUserAttributes: typeof updateUserAttributes;
    currentUserPoolUser: typeof currentUserPoolUser;
};
export interface AuthenticationApi {
    authentication: typeof authenticationService;
}
export {};
//# sourceMappingURL=authentication.d.ts.map