import { Interactor, innerText } from "@interactors/html"; import { isDisabled } from "./helpers"; export declare const SelectOption: import("@interactors/html").InteractorConstructor | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>, { selected?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; }>, import("@interactors/html").MergeObjects string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }>>, import("@interactors/html").FilterMethods boolean; disabled: { apply: typeof isDisabled; default: boolean; }; }>>, import("@interactors/html").MergeObjects | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }> & Omit & import("@interactors/html").EmptyObject, init?: MouseEventInit | undefined) => import("@interactors/html").ActionInteraction; focus: ({ perform }: Interactor | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; /** * Call this {@link InteractorConstructor} to initialize a select {@link Interactor}. * The select interactor can be used to interact with selects and to assert on their state. * * For interacting with multiple selects, see {@link MultiSelect}. * * The select is located by the text of its label. * * ### Example * * ``` typescript * await Select('Language').select('English'); * await Select('Language').has({ value: 'English' }); * ``` * * ### Filters * * - `id`: *string* – Filter by id * - `valid`: *boolean* – Filter by whether the select is valid. * - `required`: *boolean* – Filter by whether the select is required. * - `description`: *string* – Filter by description. * - `value`: *string* – Filter by the text of the selected option. * - `disabled`: *boolean* – Filter by whether the select is disabled. Defaults to `false`. * * ### Actions * * - `click()`: *{@link Interaction}* – Click on the select * - `focus()`: *{@link Interaction}* – Move focus to the select * - `blur()`: *{@link Interaction}* – Move focus away from the select * - `choose(text: string)`: *{@link Interaction}* – Choose the option with the given text from the select. * * @category Interactor */ className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }> & Omit & import("@interactors/html").EmptyObject) => import("@interactors/html").ActionInteraction; blur: ({ perform }: Interactor | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }> & Omit & import("@interactors/html").EmptyObject) => import("@interactors/html").ActionInteraction; }, Interactor | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }> & Omit & import("@interactors/html").EmptyObject>>, import("@interactors/html").ActionMethods | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>, { selected?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; }>> & import("@interactors/html").FilterMethods boolean; disabled: { apply: typeof isDisabled; default: boolean; }; }> & Omit string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }>>, "disabled" | "selected"> & import("@interactors/html").ActionMethods | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }> & Omit & import("@interactors/html").EmptyObject, init?: MouseEventInit | undefined) => import("@interactors/html").ActionInteraction; focus: ({ perform }: Interactor | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; /** * Call this {@link InteractorConstructor} to initialize a select {@link Interactor}. * The select interactor can be used to interact with selects and to assert on their state. * * For interacting with multiple selects, see {@link MultiSelect}. * * The select is located by the text of its label. * * ### Example * * ``` typescript * await Select('Language').select('English'); * await Select('Language').has({ value: 'English' }); * ``` * * ### Filters * * - `id`: *string* – Filter by id * - `valid`: *boolean* – Filter by whether the select is valid. * - `required`: *boolean* – Filter by whether the select is required. * - `description`: *string* – Filter by description. * - `value`: *string* – Filter by the text of the selected option. * - `disabled`: *boolean* – Filter by whether the select is disabled. Defaults to `false`. * * ### Actions * * - `click()`: *{@link Interaction}* – Click on the select * - `focus()`: *{@link Interaction}* – Move focus to the select * - `blur()`: *{@link Interaction}* – Move focus away from the select * - `choose(text: string)`: *{@link Interaction}* – Choose the option with the given text from the select. * * @category Interactor */ className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }> & Omit & import("@interactors/html").EmptyObject) => import("@interactors/html").ActionInteraction; blur: ({ perform }: Interactor | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }> & Omit & import("@interactors/html").EmptyObject) => import("@interactors/html").ActionInteraction; }, Interactor | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }> & Omit & import("@interactors/html").EmptyObject> & Omit) => import("@interactors/html").ActionInteraction; }, Interactor | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>, { selected?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; }>> & import("@interactors/html").FilterMethods boolean; disabled: { apply: typeof isDisabled; default: boolean; }; }> & Omit string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }>>, "disabled" | "selected"> & import("@interactors/html").ActionMethods | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }> & Omit & import("@interactors/html").EmptyObject, init?: MouseEventInit | undefined) => import("@interactors/html").ActionInteraction; focus: ({ perform }: Interactor | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; /** * Call this {@link InteractorConstructor} to initialize a select {@link Interactor}. * The select interactor can be used to interact with selects and to assert on their state. * * For interacting with multiple selects, see {@link MultiSelect}. * * The select is located by the text of its label. * * ### Example * * ``` typescript * await Select('Language').select('English'); * await Select('Language').has({ value: 'English' }); * ``` * * ### Filters * * - `id`: *string* – Filter by id * - `valid`: *boolean* – Filter by whether the select is valid. * - `required`: *boolean* – Filter by whether the select is required. * - `description`: *string* – Filter by description. * - `value`: *string* – Filter by the text of the selected option. * - `disabled`: *boolean* – Filter by whether the select is disabled. Defaults to `false`. * * ### Actions * * - `click()`: *{@link Interaction}* – Click on the select * - `focus()`: *{@link Interaction}* – Move focus to the select * - `blur()`: *{@link Interaction}* – Move focus away from the select * - `choose(text: string)`: *{@link Interaction}* – Choose the option with the given text from the select. * * @category Interactor */ className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }> & Omit & import("@interactors/html").EmptyObject) => import("@interactors/html").ActionInteraction; blur: ({ perform }: Interactor | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }> & Omit & import("@interactors/html").EmptyObject) => import("@interactors/html").ActionInteraction; }, Interactor | undefined; title?: import("@interactors/html").MaybeMatcher | undefined; id?: import("@interactors/html").MaybeMatcher | undefined; visible?: import("@interactors/html").MaybeMatcher | undefined; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; focused?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string; id: (element: HTMLElement) => string; visible: { apply: typeof import("element-is-visible").isVisible; default: boolean; }; className: (element: HTMLElement) => string; classList: (element: HTMLElement) => string[]; focused: (element: HTMLElement) => boolean; }> & Omit & import("@interactors/html").EmptyObject> & Omit>>>; declare function getValueText(element: HTMLInputElement): string; declare function getChipLabels(element: HTMLInputElement): string[]; /** * Call this {@link InteractorConstructor} to initialize a select {@link Interactor}. * The select interactor can be used to interact with selects and to assert on their state. * * For interacting with multiple selects, see {@link MultiSelect}. * * The select is located by the text of its label. * * ### Example * * ``` typescript * await Select('Language').select('English'); * await Select('Language').has({ value: 'English' }); * ``` * * ### Filters * * - `id`: *string* – Filter by id * - `valid`: *boolean* – Filter by whether the select is valid. * - `required`: *boolean* – Filter by whether the select is required. * - `description`: *string* – Filter by description. * - `value`: *string* – Filter by the text of the selected option. * - `disabled`: *boolean* – Filter by whether the select is disabled. Defaults to `false`. * * ### Actions * * - `click()`: *{@link Interaction}* – Click on the select * - `focus()`: *{@link Interaction}* – Move focus to the select * - `blur()`: *{@link Interaction}* – Move focus away from the select * - `choose(text: string)`: *{@link Interaction}* – Choose the option with the given text from the select. * * @category Interactor */ export declare const Select: import("@interactors/html").InteractorConstructor; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>, { value?: import("@interactors/html").MaybeMatcher | undefined; }>, import("@interactors/html").MergeObjects string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }>>, import("@interactors/html").FilterMethods>, import("@interactors/html").MergeObjects; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject) => import("@interactors/html").ActionInteraction; }, Interactor; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject>>, import("@interactors/html").ActionMethods; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>, { value?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods & Omit string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }>>, "value"> & import("@interactors/html").ActionMethods; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject) => import("@interactors/html").ActionInteraction; }, Interactor; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject> & Omit, value: string) => Promise; }, Interactor; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>, { value?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods & Omit string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }>>, "value"> & import("@interactors/html").ActionMethods; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject) => import("@interactors/html").ActionInteraction; }, Interactor; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject> & Omit>>>; /** * Call this {@link InteractorConstructor} to initialize a select {@link Interactor}. * The select interactor can be used to interact with selects with the `multiple` attribute * and to assert on their state. * * See {@link Select} for an interactor for single select. * * The multi select is located by the text of its label. * * ### Example * * ``` typescript * await MultiSelect('Language').select('English'); * await MultiSelect('Language').select('German'); * await MultiSelect('Language').deselect('Swedish'); * await MultiSelect('Language').has({ values: ['English', 'German'] }); * ``` * * ### Filters * * - `id`: *string* – Filter by id * - `valid`: *boolean* – Filter by whether the select is valid. * - `required`: *boolean* – Filter by whether the select is required. * - `description`: *string* – Filter by description. * - `value`: *string* – Filter by the text of the selected option. * - `disabled`: *boolean* – Filter by whether the select is disabled. Defaults to `false`. * * ### Actions * * - `click()`: *{@link Interaction}* – Click on the multi select * - `focus()`: *{@link Interaction}* – Move focus to the multi select * - `blur()`: *{@link Interaction}* – Move focus away from the multi select * - `choose(text: string)`: *{@link Interaction}* – Choose the option with the given text from the multi select. Will deselect all other selected options. * - `select(text: string)`: *{@link Interaction}* – Add the option with the given text to the selection. * - `deselect(text: string)`: *{@link Interaction}* – Remove the option with the given text from the selection. * * @category Interactor */ export declare const MultiSelect: import("@interactors/html").InteractorConstructor; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>, { values?: import("@interactors/html").MaybeMatcher | undefined; }>, import("@interactors/html").MergeObjects string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }>>, import("@interactors/html").FilterMethods>, import("@interactors/html").MergeObjects; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject) => import("@interactors/html").ActionInteraction; }, Interactor; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject>>, import("@interactors/html").ActionMethods; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>, { values?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods & Omit string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }>>, "values"> & import("@interactors/html").ActionMethods; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject) => import("@interactors/html").ActionInteraction; }, Interactor; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject> & Omit, value: string) => Promise; select: (interactor: Interactor; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>, { values?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods & Omit string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }>>, "values"> & import("@interactors/html").ActionMethods; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject) => import("@interactors/html").ActionInteraction; }, Interactor; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject> & Omit, value: string) => Promise; deselect: (interactor: Interactor; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>, { values?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods & Omit string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }>>, "values"> & import("@interactors/html").ActionMethods; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject) => import("@interactors/html").ActionInteraction; }, Interactor; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject> & Omit, value: string) => Promise; }, Interactor; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>, { values?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods & Omit string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }>>, "values"> & import("@interactors/html").ActionMethods; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject) => import("@interactors/html").ActionInteraction; }, Interactor; className?: import("@interactors/html").MaybeMatcher | undefined; classList?: import("@interactors/html").MaybeMatcher | undefined; valid?: import("@interactors/html").MaybeMatcher | undefined; disabled?: import("@interactors/html").MaybeMatcher; required?: import("@interactors/html").MaybeMatcher | undefined; description?: import("@interactors/html").MaybeMatcher | undefined; }>> & import("@interactors/html").FilterMethods string | undefined; className: (element: HTMLInputElement) => string; classList: (element: HTMLInputElement) => string[]; valid: (element: HTMLInputElement) => boolean; disabled: { apply: (element: HTMLInputElement) => boolean | undefined; default: boolean; }; required: (element: HTMLInputElement) => boolean; description: (element: HTMLInputElement) => string; }> & Omit & import("@interactors/html").EmptyObject> & Omit>>>; export {}; //# sourceMappingURL=select.d.ts.map