import { EventEmitter, ComponentInterface } from '../../stencil-public-runtime'; import type { EventDetail } from 'q2-tecton-common/lib/types/elements'; import { Q2InputCustomEvent, Q2OptionListCustomEvent } from "../../components"; import { OptionValue } from '../q2-option-list/q2-option-list'; /** * @name Select * @category Forms * @summary Use for choosing from a known list of options with single-select or multi-select. * @slot popover-top - An optional slot to display custom content persistently at the top of the popover. This is **not** compatible with the action sheet workflow. * @slot popover-bottom - An optional slot to display custom content persistently at the bottom of the popover. This is **not** compatible with the action sheet workflow. * @slot q2-select-display - An optional slot to display custom HTML content in the display area. */ export declare class Q2Select implements ComponentInterface { guid: number; inputField?: HTMLQ2InputElement; isOrientationUpdate: boolean; lastTouchWasInPopover: boolean; mutationObserver: MutationObserver; optionList: HTMLQ2OptionListElement; originalSearchable: boolean; popoverElement?: HTMLQ2PopoverElement; popoverTopContainer?: HTMLDivElement; removingSelectedDisplay: boolean; scheduledAfterRender: (() => void)[]; statusMessageTimer: NodeJS.Timeout; hostElement: HTMLElement; hasCustomDisplay: boolean; hasPopoverBottom: boolean; hasPopoverTop: boolean; inputFocused: boolean; open: boolean; /** * Determines what text to show in the input field. * When `true`, the component will display the search text in the input field * When `false`, the component will display the selected option(s) in the input field */ prioritizeSearch: boolean; searchText: string; showSelected: boolean; statusMessage: string; structuredSelectedOptions: OptionValue[]; /** @deprecated */ ariaLabel: string; /** Renders an icon button when the field is non-empty. Pressing the button clears all input from the field. */ clearable: boolean; /** Disables all interaction with the field and leverages the disabled visual style of `q2-input`. */ disabled: boolean; /** * The presence of `errors` will mark the field as invalid, putting it into an error state. * @localizable */ errors: string[]; /** * Hide's the field's `