import { type Size } from '../p-btn/p-btn.types'; import { type PropType } from 'vue'; declare const INPUT_TYPES: { TEXT: string; PASSWORD: string; }; type InputTypeKeys = keyof typeof INPUT_TYPES; type InputType = (typeof INPUT_TYPES)[InputTypeKeys]; declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: __VLS_WithSlots; default: string; }; /** * The type of the input field. * Valid values: 'text', 'password' */ type: { type: PropType; default: string; validator(value: InputType): boolean; }; /** * 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 the input has rounded corners. * Applies rounded styling to the input field. */ rounded: { type: BooleanConstructor; default: boolean; }; }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (value: string) => any; }, string, import("vue").PublicProps, Readonly; default: string; }; /** * The type of the input field. * Valid values: 'text', 'password' */ type: { type: PropType; default: string; validator(value: InputType): boolean; }; /** * 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 the input has rounded corners. * Applies rounded styling to the input field. */ rounded: { type: BooleanConstructor; default: boolean; }; }>> & Readonly<{ "onUpdate:modelValue"?: ((value: string) => any) | undefined; }>, { size: "sm" | "md" | "lg"; type: string; label: string; required: boolean; modelValue: string | number | boolean | null; rounded: boolean; errorMsg: string; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { /** * 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; /** * Content displayed before the input field. */ prefix?: () => unknown; /** * Content displayed after the input field. */ suffix?: () => unknown; }>; type __VLS_WithSlots = T & { new (): { $slots: S; }; };