import * as React from 'react'; import { ComponentProps } from 'react'; import * as class_variance_authority_types from 'class-variance-authority/types'; import { VariantProps } from 'class-variance-authority'; declare const inputRootVariants: (props?: ({ state?: "error" | "disabled" | "default" | null | undefined; size?: "sm" | "md" | "lg" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; interface InputRootProps extends Omit, "size">, VariantProps { state?: "default" | "error"; side?: "left" | "right" | "center"; asChild?: boolean; inputClassName?: string; } /** * Stylized input root that provides consistent container and input styling. * Includes clickable slots on left/right to control caret position. * * @param state - Visual state ("default" | "error") * @param size - Control size ("sm" | "base" | "lg") * @param side - Align text for inputs ("left" | "right" | "center") * @param inputClassName - Additional classes applied to the internal input element */ declare const InputRoot: React.ForwardRefExoticComponent & React.RefAttributes>; interface InputSlotProps extends ComponentProps<"div"> { side?: "left" | "right"; } /** * Decorative/interactive slot that can be placed on either side of the input. * Useful for icons, prefixes, or suffixes. * * @param side - Which side this slot is on ("left" | "right") */ declare const InputSlot: React.ForwardRefExoticComponent & React.RefAttributes>; export { InputRoot as Input, InputRoot, type InputRootProps, InputSlot, type InputSlotProps };