import { PropsOf, Signal, type QRL } from '@builder.io/qwik'; export type TItemsMap = Map; export type InternalDropdownProps = { /** Our source of truth for the items. We get this at pre-render time in the inline component, that way we do not need to call native methods such as textContent. **/ _itemsMap: TItemsMap; }; export type DropdownProps = PropsOf<'div'> & { /** A signal that controls the current open state (controlled). */ 'bind:open'?: Signal; /** * QRL handler that runs when the dropdown opens or closes. * @param open The new state of the dropdown. * */ onOpenChange$?: QRL<(open: boolean) => void>; /** * The native scrollIntoView method is used to scroll the options into view when the user highlights an option. This allows customization of the scroll behavior. */ scrollOptions?: ScrollIntoViewOptions; /** * Enables looped behavior when the user navigates through the options using the arrow keys. */ loop?: boolean; }; export declare const HDropdownImpl: import("@builder.io/qwik").Component<{ align?: string | undefined; } & import("@builder.io/qwik").HTMLElementAttrs & import("@builder.io/qwik").QwikAttributes & { /** A signal that controls the current open state (controlled). */ 'bind:open'?: Signal | undefined; /** * QRL handler that runs when the dropdown opens or closes. * @param open The new state of the dropdown. * */ onOpenChange$?: QRL<(open: boolean) => void> | undefined; /** * The native scrollIntoView method is used to scroll the options into view when the user highlights an option. This allows customization of the scroll behavior. */ scrollOptions?: ScrollIntoViewOptions | undefined; /** * Enables looped behavior when the user navigates through the options using the arrow keys. */ loop?: boolean | undefined; } & InternalDropdownProps>;