import type { SuperCompatibleRegleFieldStatus } from '@regle/core'; import type { SelectProps } from 'primevue'; import type { CompatCustomValidator, VuelidateFieldLike } from '../../mixins/validationMixin/vuelidate/useVuelidateValidation'; import type { SelectOption, SelectSearchMethod } from '../_internals/composables/useSelect/types'; interface Props extends Omit { label?: string; placeholder?: string; required?: boolean; disabled?: boolean; /** * 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; /** * true emits custom values through the filter input instead of adding them automatically */ manualCustomValues?: boolean; chipsView?: boolean; labelProps?: object; v?: VuelidateFieldLike; regleValidation?: SuperCompatibleRegleFieldStatus; customValidators?: CompatCustomValidator[]; } type __VLS_Props = Props; type __VLS_ModelProps = { modelValue?: SelectOption; }; type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps; declare var __VLS_7: { label: string | undefined; }; type __VLS_Slots = {} & { label?: (props: typeof __VLS_7) => any; }; declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { reset: () => any; hide: () => any; "update:modelValue": (value: any) => any; "add:custom-value": (value: string) => any; }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ onReset?: (() => any) | undefined; onHide?: (() => any) | undefined; "onUpdate:modelValue"?: ((value: any) => any) | undefined; "onAdd:custom-value"?: ((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; }; };