import { Page, Locator } from '@playwright/test';
import { ModelerCreatePage } from './ModelerCreatePage';
import { ModelerHomePage } from './ModelerHomePage';
import { MailSlurp } from 'mailslurp-client';
import { HomePage } from './HomePage';
import { ClusterPage } from './ClusterPage';
import { ClusterDetailsPage } from './ClusterDetailsPage';
import { AppsPage } from './AppsPage';
import { TaskPanelPage } from './TaskPanelPage';
import { TaskDetailsPage } from './TaskDetailsPage';
import { ConsoleOrganizationPage } from './ConsoleOrganizationPage';
import { OperateProcessInstancePage } from './OperateProcessInstancePage';
import { ConnectorSettingsPage } from './ConnectorSettingsPage';
import { LoginPage } from './LoginPage';
import { ConnectorMarketplacePage } from './ConnectorMarketplacePage';
import { ConnectorTemplatePage } from './ConnectorTemplatePage';
export declare function forceLogoutIfNeeded(page: Page): Promise<void>;
export declare function loginWithRetry(page: Page, loginPage: LoginPage, testUser: {
    username: string;
    password: string;
}, timeout: number, maxRetries?: number): Promise<void>;
export declare function modelRestConnector(modelerCreatePage: ModelerCreatePage, connectorSettingsPage: ConnectorSettingsPage, processName: string, url: string, auth: string, resultExpression: string, resultVariable?: string, basicAuthCredentials?: {
    username: string;
    password: string;
}): Promise<void>;
export declare function assertLocatorVisibleWithRetry(page: Page | OperateProcessInstancePage | ModelerHomePage, locator: Locator, text: string, timeout?: number, notVisible?: boolean, maxRetries?: number, clickLocator?: Locator): Promise<void>;
export declare function assertPageTextWithRetry(page: Page, text: string, notVisible?: boolean, timeout?: number, maxRetries?: number): Promise<void>;
export declare function completeTaskWithRetry(taskPanelPage: TaskPanelPage, taskDetailsPage: TaskDetailsPage, taskName: string, taskPriority: string, maxRetries?: number): Promise<void>;
export declare function runProcess(clusterName: string, page: Page, modelerHomePage: ModelerHomePage, modelerCreatePage: ModelerCreatePage, processName: string, processId?: string, uploadFromFile?: string): Promise<void>;
export declare function modelDiagramFromFile(page: Page, modelerHomePage: ModelerHomePage, modelerCreatePage: ModelerCreatePage, processName: string, fileName?: string, nrOfRenamedUserTasks?: number, taskName?: string): Promise<void>;
export declare function runMultipleProcesses(clusterName: string, page: Page, modelerHomePage: ModelerHomePage, modelerCreatePage: ModelerCreatePage, options?: {
    numberOfProcesses?: number;
    processName?: string;
    uploadFromFile?: string;
}): Promise<void>;
export declare function disableRBA(clusterName: string, homePage: HomePage, clusterPage: ClusterPage, clusterDetailsPage: ClusterDetailsPage, appsPage: AppsPage): Promise<void>;
export declare function enableAuthorizations(clusterName: string, homePage: HomePage, clusterPage: ClusterPage, clusterDetailsPage: ClusterDetailsPage, appsPage: AppsPage): Promise<void>;
export declare function assertLatestAlertEmail(id: string, mailSlurp: MailSlurp, processName: string, alertText: string): Promise<string>;
export declare function clickInvitationLinkInEmail(page: Page, id: string, mailSlurp: MailSlurp): Promise<void>;
export declare function assertTestUsesCorrectOrganization(page: Page): Promise<void>;
export declare function deleteAllUserGroups(homePage: HomePage, organizationPage: ConsoleOrganizationPage, appsPage: AppsPage): Promise<void>;
export declare function deleteCluster(clusterName: string, homePage: HomePage, clusterPage: ClusterPage, appsPage: AppsPage): Promise<void>;
export declare function modelAndRunConnectorsDocHandlingDiagram(modelerCreatePage: ModelerCreatePage, modelerHomePage: ModelerHomePage, processName: string, page: Page, connectorMarketplacePage: ConnectorMarketplacePage, clusterName: string, zeebeUrl: string, zeebeClientId: string, zeebeClientSecret: string): Promise<void>;
export declare function modelAndRunConnectorsTimerEventDiagram(modelerCreatePage: ModelerCreatePage, modelerHomePage: ModelerHomePage, processName: string, page: Page, connectorMarketplacePage: ConnectorMarketplacePage, clusterName: string, connectorTemplatePage: ConnectorTemplatePage): Promise<void>;
export declare function createAPIClient(apiClientName: string, homePage: HomePage, clusterDetailsPage: ClusterDetailsPage, clusterName: string, clusterPage: ClusterPage): Promise<void>;
export declare function expectCountToBeOneOf(locator: Locator, count1: number, count2: number): Promise<void>;
export declare function assertTestUsesCorrectOrganizationFromModeler(page: Page): Promise<void>;
export declare function waitForLoadingToFinish(page: Page, timeout?: number): Promise<void>;
