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; /** * Custom prefix content - overrides the prefixString prop. * Use this slot for custom prefix content instead of the prefixString prop. */ prefix?: () => unknown; }; declare const __VLS_base: import("vue").DefineComponent; default: null; }; /** * Text label for the input field. * If not provided, you can use the label slot instead. */ label: { type: StringConstructor; default: string; }; /** * Error message to display below the input. * When provided, the input will show error styling. */ errorMsg: { type: StringConstructor; default: string; }; /** * Whether the input is required. * Adds required attribute and visual indicator. */ required: { type: BooleanConstructor; default: boolean; }; /** * The size of the input - affects padding, font size, and spacing. * Valid values: 'sm', 'md', 'lg' */ size: { type: PropType; default: string; validator(value: Size): boolean; }; /** * Whether to select all text when the input receives focus. * Provides better UX for number input fields. */ selectOnClick: { type: BooleanConstructor; default: boolean; }; /** * Text for the info tooltip displayed next to the label. * Uses PInfoIcon component for consistent tooltip styling. */ tooltipText: { type: StringConstructor; default: string; }; /** * String to display as prefix in the input field. * Can be overridden by the prefix slot for custom content. */ prefixString: { type: StringConstructor; default: string; }; }>, { setValue: (number: number | null) => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { change: (value: number | null) => any; "update:modelValue": (value: number | null) => any; }, string, import("vue").PublicProps, Readonly; default: null; }; /** * Text label for the input field. * If not provided, you can use the label slot instead. */ label: { type: StringConstructor; default: string; }; /** * Error message to display below the input. * When provided, the input will show error styling. */ errorMsg: { type: StringConstructor; default: string; }; /** * Whether the input is required. * Adds required attribute and visual indicator. */ required: { type: BooleanConstructor; default: boolean; }; /** * The size of the input - affects padding, font size, and spacing. * Valid values: 'sm', 'md', 'lg' */ size: { type: PropType; default: string; validator(value: Size): boolean; }; /** * Whether to select all text when the input receives focus. * Provides better UX for number input fields. */ selectOnClick: { type: BooleanConstructor; default: boolean; }; /** * Text for the info tooltip displayed next to the label. * Uses PInfoIcon component for consistent tooltip styling. */ tooltipText: { type: StringConstructor; default: string; }; /** * String to display as prefix in the input field. * Can be overridden by the prefix slot for custom content. */ prefixString: { type: StringConstructor; default: string; }; }>> & Readonly<{ onChange?: ((value: number | null) => any) | undefined; "onUpdate:modelValue"?: ((value: number | null) => any) | undefined; }>, { size: "sm" | "md" | "lg"; label: string; required: boolean; modelValue: string | number | null | undefined; errorMsg: string; selectOnClick: boolean; tooltipText: string; prefixString: string; }, {}, {}, {}, 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; }; };