import * as combobox from "@zag-js/combobox"; import type { ListCollection } from "@zag-js/collection"; import { VanillaMachine } from "@zag-js/vanilla"; import { Component } from "../lib"; interface ComboboxItem { value: string; label?: string; group?: string; disabled?: boolean; } interface Group { value: string; label?: string; } export declare class Combobox extends Component { userOnInputValueChange?: combobox.Props["onInputValueChange"]; userOnOpenChange?: combobox.Props["onOpenChange"]; constructor(el: HTMLElement, props: combobox.Props); options: ComboboxItem[]; allItems: ComboboxItem[]; groups: Group[]; private domInitialized; setItems(items: ComboboxItem[]): void; getCollection(items: ComboboxItem[], hasGroups?: boolean): ListCollection; initMachine(props: combobox.Props): VanillaMachine; initApi(): combobox.Api; private renderJsonDom; private renderDomItems; render(): void; } export declare function initCombobox(doc?: HTMLElement | Document, selector?: string): void; export {};