import type { AccountStore } from '../account/util/AccountStore';
import type { CookieStore } from '../account/util/CookieStore';
import type { JsonRepresentation } from '../InteractionUtil';
import type { JsonInteractionHandlerInput } from '../JsonInteractionHandler';
import type { JsonView } from '../JsonView';
import type { LoginOutputType } from '../login/ResolveLoginHandler';
import { ResolveLoginHandler } from '../login/ResolveLoginHandler';
import type { PasswordStore } from './util/PasswordStore';
export interface PasswordLoginHandlerArgs {
    accountStore: AccountStore;
    passwordStore: PasswordStore;
    cookieStore: CookieStore;
}
/**
 * Handles the submission of the Login Form and logs the user in.
 */
export declare class PasswordLoginHandler extends ResolveLoginHandler implements JsonView {
    protected readonly logger: import("global-logger-factory").Logger<unknown>;
    private readonly passwordStore;
    constructor(args: PasswordLoginHandlerArgs);
    getView(): Promise<JsonRepresentation>;
    login({ json }: JsonInteractionHandlerInput): Promise<JsonRepresentation<LoginOutputType>>;
}
