/// <reference types="node" />
import { APIRequestContext, APIResponse, Response, Page } from '@playwright/test';
import { Serializable } from 'playwright-core/types/structs';
export declare function getApiRequestContext(): Promise<APIRequestContext>;
export declare function assertResponseStatus(response: APIResponse | Response, status: number): Promise<void>;
export declare function sendRequestAndAssertResponse(request: APIRequestContext, url: string, requestBody?: string | Buffer | Serializable, maxRetries?: number): Promise<void>;
export declare function retryOn500(fn: () => Promise<APIResponse>, maxAttempts?: number, delayMs?: number): Promise<APIResponse>;
export declare function buildZeebeApiUrl(resourcePath: string, environmentOverride?: 'saas' | 'sm', clusterType?: string): string;
export declare function authAPI(environment: 'saas'): Promise<string>;
export declare function authAPI(environment: 'sm'): Promise<string>;
export declare function authAPI(environment: 'saas', audience?: string): Promise<string>;
export declare function authAPI(environment: 'sm', audience?: string): Promise<string>;
export declare function authSaasAPI(audience?: string, clusterType?: string): Promise<string>;
export declare function authSmAPI(): Promise<string>;
export declare function authC8runAPI(name: string, password: string): Promise<void>;
export declare function validateMcpServerHealth(serverUrl?: string): Promise<APIResponse>;
export declare function waitForConnectorsReady(baseUrl?: string | undefined, timeoutMs?: number): Promise<void>;
export declare function deployProcess(filePath: string, authToken?: string, environment?: 'saas' | 'sm', clusterType?: string): Promise<number | null>;
export declare function createProcessInstance(processDefinitionKey: string, authToken?: string, environment?: 'saas' | 'sm', clusterType?: string, variables?: Record<string, unknown>): Promise<string>;
export declare function waitForProcessInstanceVisible(processInstanceKey: string, authToken?: string, environment?: 'saas' | 'sm', clusterType?: string, maxAttempts?: number, retryDelayMs?: number): Promise<void>;
export declare function createJsonClusterVariable(authToken?: string, environment?: 'saas' | 'sm', customVariableName?: string, customVariableValue?: string, clusterType?: string): Promise<void>;
export declare function createStringClusterVariable(authToken?: string, environment?: 'saas' | 'sm', customVariableName?: string, customVariableValue?: string, clusterType?: string): Promise<void>;
interface ReportDefinition {
    key: string;
    filter?: unknown[];
    groupBy?: unknown;
    distributedBy?: unknown;
    view?: unknown;
    identifier?: string;
    name?: string;
}
interface CreateSingleProcessReportOptions {
    optimizeCookie: string;
    collectionId: string;
    name: string;
    description?: string | null;
    definitions?: ReportDefinition[];
    configuration?: Record<string, unknown>;
}
export declare function getOptimizeCoockie(page: Page): Promise<string>;
export declare function getOptimizeCookieSm(page: Page): Promise<string>;
export declare function createCollection(request: APIRequestContext, options: {
    name: string;
    optimizeCookie: string;
}): Promise<string>;
export declare function createDashboard(request: APIRequestContext, options: {
    name: string;
    optimizeCookie: string;
    collectionId?: string;
}): Promise<any>;
export declare function createSingleProcessReport(request: APIRequestContext, options: CreateSingleProcessReportOptions): Promise<any>;
export declare function updateCollectionScope(request: APIRequestContext, options: {
    optimizeCookie: string;
    collectionId: string;
    data: Array<{
        definitionKey: string;
        definitionType: string;
        tenants: string[];
    }>;
}): Promise<unknown>;
export {};
