import { APIErrorResponse } from '../serviceHelpers/APIErrorResponse';
import { UserIdentity } from './userIdentity';
export default function login(userName: string, password: string, options?: {
    rememberMe?: boolean;
    recaptchaToken?: string;
    cookie?: boolean;
}): Promise<APIErrorResponse | UserIdentity>;
export declare function isLoggedIn(): Promise<boolean>;
