import { type Page } from '@playwright/test';
import { type UniversalTestContext } from '../augments/universal-testing-suite/universal-test-context.js';
/**
 * Options for `testPlaywright.getMenuOption`.
 *
 * @category Internal
 */
export type MenuOptionOptions = Parameters<Page['getByRole']>[1] & Partial<{
    nth: number;
}>;
/**
 * Find the matching (or first) "option" or "menuitem" element. Tries both roles and returns
 * whichever one is found.
 *
 * @category Internal
 */
export declare function getMenuOption(testContext: Readonly<UniversalTestContext>, options?: MenuOptionOptions | undefined): import("@playwright/test").Locator;
