import type { Locator } from '@playwright/test';
import type { RowActionsConfiguration } from '../common/RowActions.types';
import type { FormFieldsData, FormFieldsLocators, FormFieldsValues } from '../common/FormFields.types';
import { RowActionsHelper } from '../BasePage/helpers/RowActionsHelper/RowActionsHelper';
import type { PerformModalTerminalActionToCloseModalWindowFn } from '../BasePage/helpers/RowActionsHelper/RowActionsHelper';
/**
 * L3-адаптер над RowActionsHelper: единая точка для Grid/Card-сервисов
 */
export declare class RowActionsOrchestrator {
    private readonly helper;
    constructor(helper: RowActionsHelper);
    openRowActionsMenu(menuButtonLocator: Locator): Promise<void>;
    closeRowActionsMenu(): Promise<void>;
    clickRowAction(actionKey: string, rowActionsConfig: RowActionsConfiguration, rowActionButtons: Record<string, Locator> | null, rowActionMenuItems: Record<string, Locator> | null): Promise<void>;
    checkRowActions(rowActionsConfig: RowActionsConfiguration, rowActionButtons: Record<string, Locator> | null, rowActionMenuItems: Record<string, Locator> | null): Promise<void>;
    editRow(rowActionsConfig: RowActionsConfiguration, rowActionButtons: Record<string, Locator> | null, rowActionMenuItems: Record<string, Locator> | null): Promise<boolean>;
    viewRow(rowActionsConfig: RowActionsConfiguration, rowActionButtons: Record<string, Locator> | null, rowActionMenuItems: Record<string, Locator> | null): Promise<boolean>;
    deleteRow(rowActionsConfig: RowActionsConfiguration, rowActionButtons: Record<string, Locator> | null, rowActionMenuItems: Record<string, Locator> | null, confirmDelete: boolean): Promise<boolean>;
    editRowAndVerifyBase(editRowFn: () => Promise<boolean>, modalWindowKey: string, formFields: FormFieldsData, getModalFormLocators: (modalWindowKey: string) => FormFieldsLocators | null, getModalWindowButtons: (modalWindowKey: string) => Record<string, Locator> | null, saveButtonKey: string, performModalTerminalAction: PerformModalTerminalActionToCloseModalWindowFn, verifyFn?: () => Promise<void>): Promise<void>;
    viewRowAndVerifyBase(modalWindowKey: string, viewRowFn: () => Promise<boolean>, expectedValues: FormFieldsValues, getModalFormLocators: (key: string) => FormFieldsLocators | null, getModalWindowButtons: (key: string) => Record<string, Locator> | null, closeButtonKey: string, performModalTerminalAction: PerformModalTerminalActionToCloseModalWindowFn): Promise<void>;
    deleteRowAndVerifyBase(findRowFn: () => Promise<Locator | null>, deleteRowFn: (row: Locator) => Promise<void>, findRowSilentFn: () => Promise<Locator | null>, rowData: Record<string, string>): Promise<void>;
}
