UNPKG

bootstrap-vue-next

Version:

Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development

10 lines (9 loc) 520 B
import { MaybeRefOrGetter } from 'vue'; import { ComplexSelectOptionRaw, SelectOption } from '../types/SelectTypes'; export declare const useFormSelect: (options: MaybeRefOrGetter<ReadonlyArray<unknown>>, props: MaybeRefOrGetter<Record<string, unknown>>) => { normalizedOptions: import('vue').ComputedRef<(Readonly<{ label: string; options: readonly import('..').SelectOptionRaw<unknown>[]; }> | SelectOption<unknown>)[]>; isComplex: (option: unknown) => option is ComplexSelectOptionRaw; };