import { Page, Response } from "@playwright/test";
import { MockFlow, MockFlowResponse, Traits } from "../types";
import { AuthPage } from "./AuthPage";
export declare class LoginPage extends AuthPage {
    readonly pageUrl: URL;
    readonly oryProjectUrl: URL;
    readonly page: Page;
    readonly loginActionPath = "/self-service/login?flow=";
    constructor(page: Page, baseUrl: string, oryProjectUrl: string, traits?: Record<string, Traits>, path?: string);
    goto(): Promise<void>;
    getLoginFlowResponse(): MockFlowResponse;
    registerMockCreateResponse({ response, }: Omit<MockFlow, "flow">): Promise<void>;
    registerMockFetchResponse({ response, }: Omit<MockFlow, "flow">): Promise<void>;
    registerMockSubmitResponse({ response, }: Omit<MockFlow, "flow">): Promise<void>;
    interceptCreateResponse(): Promise<Response>;
    interceptFetchResponse(): Promise<Response>;
    interceptSubmitResponse(): Promise<Response>;
}
//# sourceMappingURL=LoginPage.d.ts.map