import { Nullable, SelectOptionValue } from '../../types/index.js'; import { OnyxFormElementV2Slots } from '../OnyxFormElementV2/types.js'; import { OnyxSelectProps, SelectOption } from './types.js'; declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import('vue').PublicProps & __VLS_PrettifyLocal & { onValidityChange?: ((validity: ValidityState) => any) | undefined; "onUpdate:modelValue"?: ((value?: Nullable) => any) | undefined; "onUpdate:open"?: ((value: boolean) => any) | undefined; onLazyLoad?: (() => any) | undefined; "onUpdate:searchTerm"?: ((value: string) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: import('vue').ShallowUnwrapRef<{ input: Readonly>; }>) => void; attrs: any; slots: Pick & { /** * Optional slot to customize the empty state when no options exist. * It is recommended to use the `` component here. * * If unset, a default translated message will be displayed for the current locale. */ empty?(props: { defaultMessage: string; }): unknown; /** * Optional slot that is displayed below all options that can be used * to e.g. show a button to load more options instead of lazy loading on scroll. */ optionsEnd?(): unknown; /** * Optional slot to override the option content. */ option?(props: SelectOption): unknown; /** * Optional slot to override the icon of the toggle button inside the input. * Recommended to use the `OnyxFormElementAction` component here. */ toggleIcon?(): unknown; }; emit: ((evt: "validityChange", validity: ValidityState) => void) & ((evt: "update:modelValue", value?: Nullable) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "lazyLoad") => void) & ((evt: "update:searchTerm", value: string) => void); }>) => import('vue').VNode & { __ctx?: NonNullable>; }; declare const _default: typeof __VLS_export; export default _default; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};