import { DOMElement, MaybeArray } from "../../types/index.mjs";
import { MaybeElementRef } from "../../composables/toElement/index.mjs";
import { PopoverAdapter } from "../../composables/usePopover/adapters/adapter.mjs";
import { ComboboxAdapter } from "../../composables/createCombobox/adapters/adapter.mjs";
import "../../index.mjs";
import _default, { ComboboxRootContext, ComboboxRootProps, ComboboxRootSlotProps, provideComboboxRoot, useComboboxRoot } from "./ComboboxRoot.vue.mjs";
import _default$1, { ComboboxActivatorProps, ComboboxActivatorSlotProps } from "./ComboboxActivator.vue.mjs";
import _default$2, { ComboboxControlProps, ComboboxControlSlotProps } from "./ComboboxControl.vue.mjs";
import _default$3, { ComboboxCueProps, ComboboxCueSlotProps } from "./ComboboxCue.vue.mjs";
import _default$4, { ComboboxContentProps, ComboboxContentSlotProps } from "./ComboboxContent.vue.mjs";
import _default$5, { ComboboxItemProps, ComboboxItemSlotProps } from "./ComboboxItem.vue.mjs";
import _default$6, { ComboboxEmptyProps, ComboboxEmptySlotProps } from "./ComboboxEmpty.vue.mjs";
import _default$7, { ComboboxDescriptionProps, ComboboxDescriptionSlotProps } from "./ComboboxDescription.vue.mjs";
import _default$8, { ComboboxErrorProps, ComboboxErrorSlotProps } from "./ComboboxError.vue.mjs";
//#region src/components/Combobox/index.d.ts
/**
* Combobox component with sub-components for building autocomplete inputs.
*
* @see https://0.vuetifyjs.com/components/forms/combobox
*
* @example
* ```vue
*
*
*
*
*
*
*
*
*
*
*
* {{ item.label }}
*
* No results found
*
*
*
* ```
*/
declare const Combobox: {
/**
* Root component for comboboxes. Creates selection, virtual focus, popover,
* and adapter contexts. Bridges v-model to the internal selection state.
*
* @see https://0.vuetifyjs.com/components/forms/combobox
*
* @example
* ```vue
*
*
*
*
*
*
*
*
*
* Option A
*
*
*
* ```
*/
Root: (__VLS_props: NonNullable>["props"], __VLS_ctx?: {
emit: ((evt: "update:model-value", value: T | T[]) => void) & ((event: "update:modelValue", value: T | T[] | undefined) => void);
attrs: any;
slots: {
default: (props: ComboboxRootSlotProps) => any;
};
}, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{
props: import("vue").PublicProps & {
namespace?: string | undefined;
id?: string | undefined;
name?: string | undefined;
form?: string | undefined;
disabled?: boolean | undefined;
multiple?: boolean | undefined;
mandatory?: boolean | undefined;
strict?: boolean | undefined;
error?: boolean | undefined;
errorMessages?: MaybeArray | undefined;
adapter?: ComboboxAdapter | undefined;
positionAdapter?: PopoverAdapter | undefined;
displayValue?: ((value: unknown) => string) | undefined;
as?: (DOMElement | null) | undefined;
renderless?: boolean | undefined;
modelValue?: (T | T[]) | undefined;
"onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined;
"onUpdate:model-value"?: ((value: T | T[]) => any) | undefined;
} & (typeof globalThis extends {
__VLS_PROPS_FALLBACK: infer P;
} ? P : {});
expose: (exposed: {}) => void;
attrs: any;
slots: {
default: (props: ComboboxRootSlotProps) => any;
};
emit: ((evt: "update:model-value", value: T | T[]) => void) & ((event: "update:modelValue", value: T | T[] | undefined) => void);
}>) => import("vue").VNode & {
__ctx?: NonNullable>;
};
/**
* Wrapper for the control and cue. Sets CSS anchor-name so the dropdown
* positions relative to this element.
*
* @see https://0.vuetifyjs.com/components/forms/combobox
*
* @example
* ```vue
*
*
*
*
* ```
*/
Activator: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default: (props: ComboboxActivatorSlotProps) => any;
};
});
/**
* Text input that drives the query string and keyboard navigation.
* Binds `role="combobox"` and manages `aria-activedescendant` via virtual focus.
*
* @see https://0.vuetifyjs.com/components/forms/combobox
*
* @example
* ```vue
*
*
*
*
*
* ```
*/
Control: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default: (props: ComboboxControlSlotProps) => any;
};
});
/**
* Visual cue for open/close state. Exposes `data-state="open|closed"` for
* CSS-driven styling. Clicking toggles the dropdown.
*
* @see https://0.vuetifyjs.com/components/forms/combobox
*
* @example
* ```vue
*
* {{ isOpen ? '▲' : '▼' }}
*
* ```
*/
Cue: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default: (props: ComboboxCueSlotProps) => any;
};
});
/**
* Dropdown content container using native popover API with CSS anchor
* positioning. Renders `role="listbox"` with lazy mounting.
*
* @see https://0.vuetifyjs.com/components/forms/combobox
*
* @example
* ```vue
*
* Option A
* Option B
* No results found
*
* ```
*/
Content: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default: (props: ComboboxContentSlotProps) => any;
};
});
/**
* Option item within the combobox dropdown. Registers with selection and
* virtual focus. Hidden via `v-show` when filtered out so selection state
* is preserved.
*
* @see https://0.vuetifyjs.com/components/forms/combobox
*
* @example
* ```vue
*
* Apple {{ isSelected ? '✓' : '' }}
*
* ```
*/
Item: (__VLS_props: NonNullable>["props"], __VLS_ctx?: {
emit: {};
attrs: any;
slots: {
default: (props: ComboboxItemSlotProps) => any;
};
}, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{
props: import("vue").PublicProps & {
namespace?: string | undefined;
id?: string | undefined;
value?: V | undefined;
disabled?: (boolean | import("vue").MaybeRefOrGetter) | undefined;
el?: MaybeElementRef;
as?: (DOMElement | null) | undefined;
renderless?: boolean | undefined;
} & (typeof globalThis extends {
__VLS_PROPS_FALLBACK: infer P;
} ? P : {});
expose: (exposed: {}) => void;
attrs: any;
slots: {
default: (props: ComboboxItemSlotProps) => any;
};
emit: {};
}>) => import("vue").VNode & {
__ctx?: NonNullable>;
};
/**
* Empty state shown when no items match the current query. Exposes the
* query string via slot props for contextual messaging.
*
* @see https://0.vuetifyjs.com/components/forms/combobox
*
* @example
* ```vue
*
* No results for "{{ query }}"
*
* ```
*/
Empty: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default: (props: ComboboxEmptySlotProps) => any;
};
});
/**
* Help text component connected via aria-describedby.
* Auto-generates an ID that Combobox.Control references in its
* aria-describedby attribute for accessibility.
*
* @see https://0.vuetifyjs.com/components/forms/combobox
*
* @example
* ```vue
*
*
*
*
* Select a fruit from the list.
*
* ```
*/
Description: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default: (props: ComboboxDescriptionSlotProps) => any;
};
});
/**
* Error message component with aria-live announcements.
* Renders error messages from Root's errorMessages prop.
* Connected to Control via aria-errormessage. Uses aria-live="polite"
* for screen reader announcements when errors appear.
*
* @see https://0.vuetifyjs.com/components/forms/combobox
*
* @example
* ```vue
*
*
*
*
*
* {{ error }}
*
*
* ```
*/
Error: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly & Readonly<{}>, {}, {}, {}, {}, {}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
default: (props: ComboboxErrorSlotProps) => any;
};
});
};
//#endregion
export { Combobox, _default$1 as ComboboxActivator, type ComboboxActivatorProps, type ComboboxActivatorSlotProps, _default$4 as ComboboxContent, type ComboboxContentProps, type ComboboxContentSlotProps, _default$2 as ComboboxControl, type ComboboxControlProps, type ComboboxControlSlotProps, _default$3 as ComboboxCue, type ComboboxCueProps, type ComboboxCueSlotProps, _default$7 as ComboboxDescription, type ComboboxDescriptionProps, type ComboboxDescriptionSlotProps, _default$6 as ComboboxEmpty, type ComboboxEmptyProps, type ComboboxEmptySlotProps, _default$8 as ComboboxError, type ComboboxErrorProps, type ComboboxErrorSlotProps, _default$5 as ComboboxItem, type ComboboxItemProps, type ComboboxItemSlotProps, _default as ComboboxRoot, type ComboboxRootContext, type ComboboxRootProps, type ComboboxRootSlotProps, provideComboboxRoot, useComboboxRoot };