import { Locator, Page } from '@playwright/test';
import { UiNotificationService } from '../notifications/UiNotificationService';
export interface OpenModalParams {
    triggerButton: Locator;
    modalDialog: Locator;
    stepTitle?: string;
}
export interface SaveModalParams extends OpenModalParams {
}
/**
 * Единый L3-сервис модальных окон: открытие, подразделы, сохранение/закрытие, подтверждение.
 */
export declare class ModalWindowService {
    private readonly page;
    private readonly modalDialog;
    private readonly notifications;
    constructor(page: Page, modalDialog: Locator, notifications: UiNotificationService);
    openModal(params: OpenModalParams, logContext: string): Promise<void>;
    saveModal(params: SaveModalParams, logContext: string): Promise<void>;
    openModalCategories(name: string[] | string, logContext: string): Promise<void>;
    performTerminalAction(terminalButton: Locator, logContext: string, stepName?: string, haveNextStep?: boolean): Promise<void>;
    confirmAction(logContext: string, haveNextStep?: boolean): Promise<void>;
}
