import { type PropType } from 'vue'; /** * Represents a single option in the select pill component. */ type Option = Record & { /** Display text for the option */ text: string; /** Optional subtext displayed below the main text */ subtext?: string; /** Unique value identifier for the option */ value: string | number; /** Whether the option is disabled and cannot be selected */ disabled?: boolean; }; declare const SIZES: { sm: string; md: string; lg: string; }; type Size = keyof typeof SIZES; /** * A select pill component that displays options as connected buttons with a sliding indicator. * Provides a pill-style selection interface with smooth animations and visual feedback. * The active option is highlighted with a sliding background indicator. * * @displayName PSelectPill */ declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: import("vue").DefineComponent; default: () => never[]; }; /** * Property name to use as the item display text. * Used for button label content. */ itemText: { type: StringConstructor; default: string; }; /** * Property name to use as the item subtext. * Displayed below the main text when provided. */ itemSubtext: { type: StringConstructor; default: string; }; /** * Property name to use as the item value. * Used for selection comparison and v-model binding. */ itemValue: { type: (StringConstructor | NumberConstructor)[]; default: string; }; /** * The size of the pill buttons. * Valid values: 'sm', 'md', 'lg' * @values sm, md, lg */ size: { type: PropType; default: string; validator(value: Size): boolean; }; }>, {}, { SIZES: { sm: string; md: string; lg: string; }; ACTIVE_CLASS: string; }, {}, { click(e: Event, option: Option): void; setPillStyle(): void; }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { /** * Emitted when the selected value changes. * @param {string | number} value - The new selected value */ 'update:modelValue': (value: string | number) => true; }, string, import("vue").PublicProps, Readonly; default: () => never[]; }; /** * Property name to use as the item display text. * Used for button label content. */ itemText: { type: StringConstructor; default: string; }; /** * Property name to use as the item subtext. * Displayed below the main text when provided. */ itemSubtext: { type: StringConstructor; default: string; }; /** * Property name to use as the item value. * Used for selection comparison and v-model binding. */ itemValue: { type: (StringConstructor | NumberConstructor)[]; default: string; }; /** * The size of the pill buttons. * Valid values: 'sm', 'md', 'lg' * @values sm, md, lg */ size: { type: PropType; default: string; validator(value: Size): boolean; }; }>> & Readonly<{ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined; }>, { size: "sm" | "md" | "lg"; modelValue: string | number; items: [] | Option[] | null | undefined; itemText: string; itemValue: string | number; itemSubtext: string; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;