import type { SuperCompatibleRegleFieldStatus } from '@regle/core'; import type { SelectProps } from 'primevue'; import type { CompatCustomValidator, VuelidateFieldLike } from '../../mixins/validationMixin/vuelidate/useVuelidateValidation'; import type { SelectSearchMethod } from '../_internals/composables/useSelect/types'; interface Props extends Omit { label?: string; placeholder?: string; required?: boolean; disabled?: boolean; size?: string | null; /** * true disables all options but keeps dropdown visible */ disabledOptions?: boolean; /** * true — the select will only show options returned by the API, never prepending the current model value if it is missing from the list */ strictApiOptions?: boolean; /** * false disables options search */ filterable?: boolean; autoOpen?: boolean; /** * true shows the clear button */ showClear?: boolean; /** readonly so consumers can pass `as const` option lists */ options?: readonly unknown[]; optionLabel?: string; optionValue?: string; /** * A property to uniquely identify an option. */ dataKey?: string; /** * Function that returns filtered options for server-side search */ searchMethod?: SelectSearchMethod; /** * true allows adding custom values through the filter input */ allowCustomValues?: boolean; labelProps?: object; v?: VuelidateFieldLike; regleValidation?: SuperCompatibleRegleFieldStatus; customValidators?: CompatCustomValidator[]; } type __VLS_Props = Props; type __VLS_ModelProps = { modelValue?: string; }; type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps; declare var __VLS_7: { label: string | undefined; }, __VLS_46: { value: any; getOptionLabel: (option: import("../_internals/composables/useSelect/types").SelectOption) => string; placeholder: any; }, __VLS_49: { option: any; getOptionLabel: (option: import("../_internals/composables/useSelect/types").SelectOption) => string; }; type __VLS_Slots = {} & { label?: (props: typeof __VLS_7) => any; } & { value?: (props: typeof __VLS_46) => any; } & { option?: (props: typeof __VLS_49) => any; }; declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { reset: () => any; hide: () => any; "update:modelValue": (value: string) => any; "search-change": (value: string) => any; "search-enter": (value: string) => any; }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ onReset?: (() => any) | undefined; onHide?: (() => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; "onSearch-change"?: ((value: string) => any) | undefined; "onSearch-enter"?: ((value: string) => any) | undefined; }>, { options: readonly unknown[]; customValidators: CompatCustomValidator[]; dataKey: string; optionLabel: string; labelProps: object; showClear: boolean; filterable: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };