import { ICredentials, IForgotPassword, ILoginResponse, ISetNewPassword, ISetNewPasswordResponse, IValidTenantResponse } from './Auth.models';
import { IApiSuccess } from '../../api.models';

export declare const authApi: {
    /** Log in to actindo */
    login(credentials: ICredentials, dropNotification?: boolean): Promise<ILoginResponse>;
    /** Looks up all valid tenants for the given login credentials */
    getValidTenants(credentials: ICredentials): Promise<IValidTenantResponse>;
    /** Forgot password. Send password reset instructions to saved email address */
    forgotPassword(options: IForgotPassword): Promise<IApiSuccess>;
    /** Set new password after "forgot password" link was used */
    setNewPassword(options: ISetNewPassword): Promise<ISetNewPasswordResponse>;
    /** Logout */
    logout(): Promise<IApiSuccess>;
};
