chromium/third_party/material_web_components/components-chromium/node_modules/@material/web/select/harness.d.ts

/**
 * @license
 * Copyright 2023 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import { Field } from '../field/internal/field.js';
import { Harness } from '../testing/harness.js';
import { Select } from './internal/select.js';
import { SelectOptionHarness } from './internal/selectoption/harness.js';
/**
 * Test harness for menu.
 */
export declare class SelectHarness extends Harness<Select> {
    protected getField(): Field;
    /**
     * Shows the menu and returns the first list item element.
     */
    protected getInteractiveElement(): Promise<Field>;
    startHover(): Promise<void>;
    /** @return ListItem harnesses for the menu's items. */
    getItems(): SelectOptionHarness[];
    click(): Promise<void>;
    clickOption(index: number): Promise<void>;
    get isOpen(): boolean;
}