import { Page } from '@playwright/test';
import { StepFn } from './helpers';
export declare class AuthFlowBuilder {
    flow: string;
    idp: string;
    authHost: string;
    constructor(flow?: string, idp?: string, authHost?: string);
    run(page: Page, step: StepFn, username: string, password: string, hostUrl: string, authUrl: string, postLoginUrlMatcher?: (url: URL) => boolean): Promise<void>;
    usernamePasswordFlow(page: Page, username: string, password: string, hostUrl: string, authUrl: string, postLoginUrlMatcher?: (url: URL) => boolean): Promise<void>;
    magicLinkFlow(page: Page): Promise<void>;
    ssoFlow(page: Page, username: string, password: string, hostUrl: string, authUrl: string): Promise<void>;
    directSsoFlow(page: Page, step: StepFn, username: string, password: string, hostUrl: string, authUrl: string): Promise<void>;
}
