import * as React from 'react'; import type { ComponentPropsWithout, RemovedProps } from '../helpers/component-props.js'; import { type VariantProps } from 'class-variance-authority'; declare const inputVariants: (props?: ({ size?: "base" | "lg" | "sm" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface InputProps extends ComponentPropsWithout<'input', 'size'>, VariantProps { } interface InputSlotProps extends ComponentPropsWithout<'div', RemovedProps> { /** * 插槽的位置 * default: right */ side?: 'left' | 'right'; } /** * InputSlot * 用来在 Input 组件中插入额外的内容,比如icon ,按钮 */ declare const InputSlot: React.ForwardRefExoticComponent>; /** * Input - 输入框 * * @description 文本输入组件,支持各种输入类型、不同尺寸和插槽功能 */ declare const Input: React.ForwardRefExoticComponent>; export { Input, InputSlot };