import * as React from "react"; /** * Props for the ZeroShot Input component. * * @example Compositional API: * ```tsx *
* * *
* ``` * * @example Config API (AI-optimized): * ```tsx * * ``` */ export interface InputProps extends React.ComponentProps<"input"> { /** * Config API: Renders a label above the input. * When provided, wraps the input in a container with an auto-generated label. * @example */ label?: string; /** * Displays an error message below the input and applies error styling. * @example */ error?: string; /** * Displays a helper/description text below the input. * Hidden when `error` is provided (error takes precedence). * @example */ helperText?: string; /** * Content rendered at the start (left) of the input, inside the border. * Typically an icon or short text. * @example } placeholder="Search..." /> */ startAdornment?: React.ReactNode; /** * Content rendered at the end (right) of the input, inside the border. * Typically an icon, button, or unit text. * @example kg} type="number" /> */ endAdornment?: React.ReactNode; } declare const Input: React.MemoExoticComponent & React.RefAttributes>>; export { Input }; //# sourceMappingURL=input.d.ts.map