declare global { namespace Cypress { interface Chainable { /** * Gets the MenuItem of a MenuAction at the specified position. Optionally asserts disabled state. * @example * cy.m4lMenuActionsItem(0); // first item, expect visible * cy.m4lMenuActionsItem(1, 'isDisabled'); // second item, expect disabled */ m4lMenuActionsItem( /** * menuActions item index */ menuItemIndex: number, /** * Indicates whether the menuActions item is disabled */ isDisabled?: 'isDisabled', ): Chainable } } } export {};