import { ComponentWrapper, ElementWrapper } from "@cloudscape-design/test-utils-core/selectors"; import OptionWrapper from '../internal/option'; export declare class PromptInputMenuWrapper extends ComponentWrapper { findOptions(): import("@cloudscape-design/test-utils-core/selectors").MultiElementWrapper; /** * Returns an option from the menu. * * @param optionIndex 1-based index of the option to select. */ findOption(optionIndex: number): OptionWrapper; /** * Returns an option from the menu by its value * * @param value The 'value' of the option. */ findOptionByValue(value: string): OptionWrapper; } export default class PromptInputWrapper extends ComponentWrapper { static rootSelector: string; /** * Finds the native textarea element. * * Note: When `menus` or `tokens` is defined, the component uses a contentEditable element instead of a textarea. * In this case, use findContentEditableElement() instead. */ findNativeTextarea(): ElementWrapper; /** * Finds the contentEditable element used when `menus` or `tokens` is defined. */ findContentEditableElement(): ElementWrapper; /** * Finds the action button. Note that, despite its typings, this may return null. */ findActionButton(): ElementWrapper; /** * Finds the secondary actions slot. Note that, despite its typings, this may return null. */ findSecondaryActions(): ElementWrapper; findSecondaryContent(): ElementWrapper; findCustomPrimaryAction(): ElementWrapper; /** * Finds the menu dropdown when `menus` or `tokens` is defined. */ findOpenMenu(): PromptInputMenuWrapper; }