import * as listbox from "@zag-js/listbox"; import { VanillaMachine } from "@zag-js/vanilla"; import { Component } from "../lib"; interface ListboxItem { value: string; label?: string; group?: string; disabled?: boolean; } interface Group { value: string; label?: string; } export declare class Listbox extends Component { collection: listbox.ListCollection; items: ListboxItem[]; groups: Group[]; private domInitialized; getCollection(items: ListboxItem[], hasGroups?: boolean): listbox.ListCollection; initMachine(props: listbox.Props): VanillaMachine; initApi(): listbox.Api; private renderJsonDom; render(): void; } export declare function initListbox(doc?: HTMLElement | Document): void; export {};