import { type Size } from '../p-btn/p-btn.types'; import { type PropType } from 'vue'; type __VLS_Slots = { /** * Custom label content - overrides the label prop. * @param {string} label - The label text * @param {string} label-classes - CSS classes for the label */ label?: (props: { label: string; labelClasses: string; }) => unknown; }; declare const __VLS_base: import("vue").DefineComponent; default: string; }; /** * Array of objects representing the select options. * Each object should have properties specified by itemText and itemValue. * @example [{ text: 'Option 1', value: 1 }, { text: 'Option 2', value: 2 }] */ items: { type: PropType[]>; default: () => never[]; }; /** * Text label for the select field. * If not provided, you can use the label slot instead. */ label: { type: StringConstructor; default: string; }; /** * Error message to display below the select. * When provided, the select will show error styling. */ errorMsg: { type: StringConstructor; default: string; }; /** * Whether the select is required. * Adds required attribute and visual indicator. */ required: { type: BooleanConstructor; default: boolean; }; /** * The size of the select - affects padding, font size, and spacing. * Valid values: 'sm', 'md', 'lg' */ size: { type: PropType; default: string; validator(value: Size): boolean; }; /** * Property name to use as the display text for each option. * Defaults to 'text' - each item should have this property. */ itemText: { type: StringConstructor; default: string; }; /** * Property name to use as the value for each option. * Defaults to 'value' - each item should have this property. */ itemValue: { type: PropType; default: string; }; }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (...args: any[]) => void; }, string, import("vue").PublicProps, Readonly; default: string; }; /** * Array of objects representing the select options. * Each object should have properties specified by itemText and itemValue. * @example [{ text: 'Option 1', value: 1 }, { text: 'Option 2', value: 2 }] */ items: { type: PropType[]>; default: () => never[]; }; /** * Text label for the select field. * If not provided, you can use the label slot instead. */ label: { type: StringConstructor; default: string; }; /** * Error message to display below the select. * When provided, the select will show error styling. */ errorMsg: { type: StringConstructor; default: string; }; /** * Whether the select is required. * Adds required attribute and visual indicator. */ required: { type: BooleanConstructor; default: boolean; }; /** * The size of the select - affects padding, font size, and spacing. * Valid values: 'sm', 'md', 'lg' */ size: { type: PropType; default: string; validator(value: Size): boolean; }; /** * Property name to use as the display text for each option. * Defaults to 'text' - each item should have this property. */ itemText: { type: StringConstructor; default: string; }; /** * Property name to use as the value for each option. * Defaults to 'value' - each item should have this property. */ itemValue: { type: PropType; default: string; }; }>> & Readonly<{ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }>, { size: "sm" | "md" | "lg"; label: string; required: boolean; modelValue: string | number | boolean | null; items: Record[]; itemText: string; errorMsg: string; itemValue: string | number | boolean | null; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };