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