import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime'; import { OptionValue } from '../q2-option-list/q2-option-list'; import { Q2InputCustomEvent } from "../../components"; import type { EventDetail } from 'q2-tecton-common/lib/types/elements'; /** * @name Search * @category Forms * @summary Use for search-first selection where the option list is driven by user input — supports both in-memory filtering and async fetch. * @slot label - An optional slot to display a custom label. * @slot popover-top - An optional slot for persistent content at the top of the popover (e.g., secondary actions). * @slot popover-bottom - An optional slot for persistent content at the bottom of the popover. * @slot empty - An optional slot to display custom content when the popover is open and no options are visible. */ export declare class Q2Search implements ComponentInterface { displayBuffer: number; inputField?: HTMLQ2InputElement; mutationObserver: MutationObserver; optionFingerprint: string; optionList?: HTMLQ2OptionListElement; popoverElement?: HTMLQ2PopoverElement; popoverWidthWarned: boolean; statusMessageTimer: ReturnType; hostElement: HTMLElement; hasEmptySlot: boolean; hasOptions: boolean; hasPopoverBottom: boolean; hasPopoverTop: boolean; inputFocused: boolean; isShowingSelectionDisplay: boolean; open: boolean; searchText: string; showSelected: boolean; statusMessage: string; structuredSelectedOptions: OptionValue[]; viewportFallbackActive: boolean; /** Renders an icon button when the field is non-empty. Pressing the button clears the query and selection. */ 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[]; /** * When `true`, the component case-insensitively matches each ``'s `display` and `innerText` * against the current query and toggles `hidden`. When `false` (default), the consumer is expected to * filter or fetch options in response to the `tctInput` event. */ filter: boolean; /** * Hides the field's `