import { HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue'; import { Assign } from '../../types'; import { CollectionItem } from '../collection'; import { PolymorphicProps } from '../factory'; import { RootProps } from './listbox.types'; import { SelectionDetails, ValueChangeDetails, HighlightChangeDetails } from '@zag-js/listbox'; export interface ListboxRootBaseProps extends RootProps, PolymorphicProps { } export interface ListboxRootProps extends ListboxRootBaseProps, /** * @vue-ignore */ HTMLAttributes { } export type ListboxRootComponentProps = Assign, P>; export type ListboxRootComponent

= (props: ListboxRootComponentProps) => any; export type { RootEmits as ListboxRootEmits } from './listbox.types'; declare const _default: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: __VLS_PrettifyLocal & Omit<{ readonly onSelect?: ((details: SelectionDetails) => any) | undefined; readonly onValueChange?: ((details: ValueChangeDetails) => any) | undefined; readonly "onUpdate:modelValue"?: ((value: string[]) => any) | undefined; readonly onHighlightChange?: ((details: HighlightChangeDetails) => any) | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onSelect" | "onValueChange" | "onUpdate:modelValue" | "onHighlightChange"> & ListboxRootBaseProps & Partial<{}>> & PublicProps; expose(exposed: ShallowUnwrapRef<{}>): void; attrs: any; slots: { default?(_: {}): any; }; emit: ((evt: "select", details: SelectionDetails) => void) & ((evt: "valueChange", details: ValueChangeDetails) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "highlightChange", details: HighlightChangeDetails) => void); }>) => VNode & { __ctx?: Awaited; }; export default _default; type __VLS_PrettifyLocal = { [K in keyof T]: T[K]; } & {};