import { RecoveryFlowState } from "@ory/client";
import { Page, Response } from "@playwright/test";
import { MockFlow, MockFlowResponse } from "../types";
import { AuthPage } from "./AuthPage";
export declare class RecoveryPage extends AuthPage {
    readonly pageUrl: URL;
    readonly oryProjectUrl: URL;
    readonly page: Page;
    readonly recoveryActionPath = "/self-service/recovery?flow=";
    constructor(page: Page, baseUrl: string, oryProjectUrl: string, path?: string);
    goto(): Promise<void>;
    getRecoveryFlowResponse(state?: RecoveryFlowState): MockFlowResponse;
    registerMockCreateResponse({ response, }: Omit<MockFlow, "flow">): Promise<void>;
    registerMockFetchResponse({ response, }: Omit<MockFlow, "flow">): Promise<void>;
    registerMockSubmitResponse({ response, state, }: Omit<MockFlow, "flow">): Promise<void>;
    interceptCreateResponse(): Promise<Response>;
    interceptFetchResponse(): Promise<Response>;
    interceptSubmitResponse(): Promise<Response>;
}
//# sourceMappingURL=RecoveryPage.d.ts.map