import { Page, Locator } from '@playwright/test';
type ViolationEffect = 'ARIA_INVALID_STATE' | 'BUTTON_DISABLED' | 'FAILURE';
interface ValidInputSchema {
    _schema: {
        maxlength: number;
        minlength: number;
        violationEffect: ViolationEffect;
    };
}
type Field = {
    locator: Locator;
    schema: ValidInputSchema;
};
declare class LoginPage {
    private page;
    readonly usernameInput: Field;
    readonly passwordInput: Locator;
    readonly continueButton: Locator;
    readonly loginButton: Locator;
    readonly loginMessage: Locator;
    readonly errorMessage: Locator;
    readonly passwordHeading: Locator;
    constructor(page: Page);
    fillUsername(username: string): Promise<void>;
    clickContinueButton(): Promise<void>;
    fillPassword(password: string): Promise<void>;
    clickLoginButton(): Promise<void>;
    login(credentials?: {
        username?: string;
        password?: string;
    }): Promise<void>;
    loginWithTestUser(credentials?: {
        username?: string;
        password?: string;
    }): Promise<void>;
    loginFailAssertion(): Promise<void>;
    loginWithoutOrgAssertion(credentials?: {
        username?: string;
        password?: string;
    }): Promise<void>;
}
export { LoginPage };
